-
-
Notifications
You must be signed in to change notification settings - Fork 5.4k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Player repeatedly requesting non-existent http-flv streams can cause fd leak #858
Comments
It seems to be the same issue as #636, although it has a backtrace. Similarly, serve_http cannot break out of the loop.
|
dup to #636 |
#633 The same issue also occurs when the player requests a non-existent http-flv, resulting in a large number of close_wait.
|
hstrs off; Setting this configuration item seems to prevent close_wait from continuously increasing. @winlinvip
|
This feature has been removed and will be removed during configuration parsing by default. If you find it still useful, you can raise another bug separately.
|
Fixed by f2b4bc7 |
./configure --full --without-ffmpeg --without-nginx
listen 1935; max_connections 8000; srs_log_tank file; srs_log_file ./objs/srs.log; #daemon on; http_api { enabled on; listen 1985; } http_server { enabled on; listen 80; dir /usr/local/srs/objs/hls; } stats { network 0; disk sda sdb xvda xvdb; } vhost __defaultVhost__ { http_remux { enabled on; mount /[app]/[stream].flv; hstrs on; } }
srs/trunk/src/app/srs_app_http_stream.cpp
Line 557 in a37a143
TRANS_BY_GPT3
The text was updated successfully, but these errors were encountered: