1
0
Fork 0
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:
winlin 2014-04-10 10:22:22 +08:00
parent dc71eef394
commit 5e504944dc

View file

@ -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;