mirror of
https://github.com/ossrs/srs.git
synced 2025-03-09 15:49:59 +00:00
for bug #277, refine http api refer to go http-framework. 2.0.97
This commit is contained in:
parent
33efeeb399
commit
9bbbaad288
10 changed files with 1004 additions and 395 deletions
|
@ -549,11 +549,6 @@ int SrsHttpConn::do_cycle()
|
|||
int SrsHttpConn::process_request(SrsStSocket* skt, SrsHttpMessage* req)
|
||||
{
|
||||
int ret = ERROR_SUCCESS;
|
||||
|
||||
// parse uri to schema/server:port/path?query
|
||||
if ((ret = req->parse_uri()) != ERROR_SUCCESS) {
|
||||
return ret;
|
||||
}
|
||||
|
||||
srs_trace("HTTP %s %s, content-length=%"PRId64"",
|
||||
req->method_str().c_str(), req->url().c_str(), req->content_length());
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue