add comments for http conn
This commit is contained in:
parent
dc71eef394
commit
5e504944dc
|
|
@ -176,6 +176,7 @@ int SrsHttpVhost::do_process_request(SrsSocket* skt, SrsHttpMessage* req)
|
|||
char* buf = new char[length];
|
||||
SrsAutoFree(char, buf, true);
|
||||
|
||||
// TODO: FIXME: use st_read.
|
||||
if (::read(fd, buf, length) < 0) {
|
||||
::close(fd);
|
||||
ret = ERROR_HTTP_READ_FILE;
|
||||
|
|
|
|||
Loading…
Reference in New Issue
Block a user