Allow connection interruption during the RTSP handshake

This commit is contained in:
Cameron Gutman 2021-04-28 17:06:04 -05:00
parent bce9f82844
commit 068f7aa9d9

View File

@ -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);
}