Fixed a FLV header bug causing both video and audio to always be mentioned even when not present, added header-only parsing support to HTTP library.
This commit is contained in:
parent
62c4689ae2
commit
9228198097
3 changed files with 7 additions and 2 deletions
|
@ -33,6 +33,7 @@ namespace HTTP {
|
|||
std::string url;
|
||||
std::string protocol;
|
||||
unsigned int length;
|
||||
bool headerOnly; ///< If true, do not parse body if the length is a known size.
|
||||
private:
|
||||
bool seenHeaders;
|
||||
bool seenReq;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue