Fixed RTSP support in HTTP::Parser
This commit is contained in:
parent
ff33a8a81b
commit
158058c4d5
1 changed files with 3 additions and 0 deletions
|
@ -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){
|
||||
|
|
Loading…
Add table
Reference in a new issue