mirror of
https://github.com/moonlight-stream/moonlight-common-c.git
synced 2025-08-17 17:05:50 +00:00
Allow connection interruption during the RTSP handshake
This commit is contained in:
parent
bce9f82844
commit
068f7aa9d9
@ -298,6 +298,11 @@ Exit:
|
||||
}
|
||||
|
||||
static bool transactRtspMessage(PRTSP_MESSAGE request, PRTSP_MESSAGE response, bool expectingPayload, int* error) {
|
||||
if (ConnectionInterrupted) {
|
||||
*error = -1;
|
||||
return false;
|
||||
}
|
||||
|
||||
if (useEnet) {
|
||||
return transactRtspMessageEnet(request, response, expectingPayload, error);
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user