mirror of
https://github.com/ossrs/srs.git
synced 2025-03-09 15:49:59 +00:00
refine http log.
This commit is contained in:
parent
5273509554
commit
7166b666c8
5 changed files with 34 additions and 6 deletions
|
@ -731,8 +731,8 @@ int SrsHttpApi::process_request(SrsSocket* skt, SrsHttpMessage* req)
|
|||
return ret;
|
||||
}
|
||||
|
||||
srs_trace("http request parsed, method=%d, url=%s, content-length=%"PRId64"",
|
||||
req->method(), req->url().c_str(), req->content_length());
|
||||
srs_trace("HTTP %s %s, content-length=%"PRId64"",
|
||||
req->method_str().c_str(), req->url().c_str(), req->content_length());
|
||||
|
||||
// TODO: maybe need to parse the url.
|
||||
std::string url = req->path();
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue