mirror of
https://github.com/ossrs/srs.git
synced 2025-03-09 15:49:59 +00:00
For #1657, fix the jsonp bug
This commit is contained in:
parent
fc21b31714
commit
d67b050935
8 changed files with 60 additions and 53 deletions
|
@ -281,7 +281,7 @@ srs_error_t SrsHttpClient::initialize(string schema, string h, int p, srs_utime_
|
|||
srs_freep(parser);
|
||||
parser = new SrsHttpParser();
|
||||
|
||||
if ((err = parser->initialize(HTTP_RESPONSE, false)) != srs_success) {
|
||||
if ((err = parser->initialize(HTTP_RESPONSE)) != srs_success) {
|
||||
return srs_error_wrap(err, "http: init parser");
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue