mirror of
https://github.com/ossrs/srs.git
synced 2025-03-09 15:49:59 +00:00
Merge branch 'develop' into feature/rtc
This commit is contained in:
commit
11bcd0cb27
12 changed files with 53 additions and 45 deletions
|
@ -124,7 +124,7 @@ srs_error_t SrsHttpParser::parse_message_imp(ISrsReader* reader)
|
|||
enum http_errno code;
|
||||
if ((code = HTTP_PARSER_ERRNO(&parser)) != HPE_OK) {
|
||||
return srs_error_new(ERROR_HTTP_PARSE_HEADER, "parse %dB, nparsed=%d, err=%d/%s %s",
|
||||
buffer->size(), consumed, http_errno_name(code), http_errno_description(code));
|
||||
buffer->size(), consumed, code, http_errno_name(code), http_errno_description(code));
|
||||
}
|
||||
|
||||
// When buffer consumed these bytes, it's dropped so the new ptr is actually the HTTP body. But http-parser
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue