winlin

add comments for http conn

@@ -176,6 +176,7 @@ int SrsHttpVhost::do_process_request(SrsSocket* skt, SrsHttpMessage* req) @@ -176,6 +176,7 @@ int SrsHttpVhost::do_process_request(SrsSocket* skt, SrsHttpMessage* req)
176 char* buf = new char[length]; 176 char* buf = new char[length];
177 SrsAutoFree(char, buf, true); 177 SrsAutoFree(char, buf, true);
178 178
  179 + // TODO: FIXME: use st_read.
179 if (::read(fd, buf, length) < 0) { 180 if (::read(fd, buf, length) < 0) {
180 ::close(fd); 181 ::close(fd);
181 ret = ERROR_HTTP_READ_FILE; 182 ret = ERROR_HTTP_READ_FILE;