-
-
Notifications
You must be signed in to change notification settings - Fork 5.7k
Closed
Labels
EnglishNativeThis issue is conveyed exclusively in English.This issue is conveyed exclusively in English.
Description
This is the same issue as #3511, which has not been fixed.
It seems that SRS does not respect peer_idle_timeout currently, a constant value of 5 seconds is used.
I think we should set this timeout at both the socket level and the application level, otherwise it doesn't make sense. If peer_idle_timeout exceeds 5 seconds, the connection will be closed due to hardcoded application timeout being reached.
recv_timeout_ = 5 * SRS_UTIME_SECONDS;
send_timeout_ = 5 * SRS_UTIME_SECONDS;
Which are set here
Timeout will be reached here
I debugged this and can confirm that this is the case.
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
EnglishNativeThis issue is conveyed exclusively in English.This issue is conveyed exclusively in English.