mirror of
https://github.com/ossrs/srs.git
synced 2025-03-09 15:49:59 +00:00
add comments for file stream
This commit is contained in:
parent
a63fa20e53
commit
996d042a33
4 changed files with 12 additions and 0 deletions
|
@ -163,6 +163,7 @@ int SrsHttpVhost::do_process_request(SrsSocket* skt, SrsHttpMessage* req)
|
|||
|
||||
std::string fullpath = get_request_file(req);
|
||||
|
||||
// TODO: FIXME: refine the file stream.
|
||||
int fd = ::open(fullpath.c_str(), O_RDONLY);
|
||||
if (fd < 0) {
|
||||
ret = ERROR_HTTP_OPEN_FILE;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue