Fixed RTSP support in HTTP::Parser

This commit is contained in:
Thulinma 2020-09-24 18:01:24 +02:00
parent ff33a8a81b
commit 158058c4d5

View file

@ -708,6 +708,9 @@ bool HTTP::Parser::parse(std::string &HTTPbuffer, Util::DataCallback &cb){
}
return false;
}else{
if (protocol.substr(0, 4) == "RTSP" || method.substr(0,4) == "RTSP"){
return true;
}
unsigned int toappend = HTTPbuffer.size();
bool shouldAppend = true;
if (bodyCallback){