1
0
Fork 0
mirror of https://github.com/ossrs/srs.git synced 2025-02-12 11:21:52 +00:00

Merge from 2.0

This commit is contained in:
winlin 2020-01-09 10:20:49 +08:00
commit 6c1067d56a
2 changed files with 5 additions and 2 deletions

View file

@ -273,7 +273,7 @@ For previous versions, please read:
## V2 changes
* v2.0, 2020-01-08, Merge [#1554][bug #1554], support logrotate copytruncate. 2.0.271
* v2.0, 2020-01-08, Merge [#1554][bug #1554], support logrotate copytruncate. 2.0.272
* v2.0, 2020-01-05, Merge [#1551][bug #1551], fix memory leak in RTSP stack. 2.0.270
* v2.0, 2019-12-26, For [#1488][bug #1488], pass client ip to http callback. 2.0.269
* v2.0, 2019-12-23, Fix [srs-librtmp #22](https://github.com/ossrs/srs-librtmp/issues/22), parse vhost splited by single seperator. 2.0.268

View file

@ -319,6 +319,9 @@ void SrsFastLog::open_log_file()
return;
}
fd = ::open(filename.c_str(), O_RDWR | O_CREAT | O_APPEND);
fd = ::open(filename.c_str(),
O_RDWR | O_CREAT | O_APPEND,
S_IRUSR | S_IWUSR | S_IRGRP | S_IWGRP | S_IROTH
);
}