mirror of
https://github.com/ossrs/srs.git
synced 2025-03-09 15:49:59 +00:00
add comments for http conn
This commit is contained in:
parent
dc71eef394
commit
5e504944dc
1 changed files with 1 additions and 0 deletions
|
@ -176,6 +176,7 @@ int SrsHttpVhost::do_process_request(SrsSocket* skt, SrsHttpMessage* req)
|
||||||
char* buf = new char[length];
|
char* buf = new char[length];
|
||||||
SrsAutoFree(char, buf, true);
|
SrsAutoFree(char, buf, true);
|
||||||
|
|
||||||
|
// TODO: FIXME: use st_read.
|
||||||
if (::read(fd, buf, length) < 0) {
|
if (::read(fd, buf, length) < 0) {
|
||||||
::close(fd);
|
::close(fd);
|
||||||
ret = ERROR_HTTP_READ_FILE;
|
ret = ERROR_HTTP_READ_FILE;
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue