mirror of
https://github.com/ossrs/srs.git
synced 2025-03-09 15:49:59 +00:00
Refactor HTTP recv request timeout to 15s.
This commit is contained in:
parent
2df1dcb05a
commit
1e83da7812
3 changed files with 10 additions and 9 deletions
|
@ -213,7 +213,7 @@
|
|||
#define SRS_CONSTS_HTTP_QUERY_SEP '?'
|
||||
|
||||
// The default recv timeout.
|
||||
#define SRS_HTTP_RECV_TIMEOUT (60 * SRS_UTIME_SECONDS)
|
||||
#define SRS_HTTP_RECV_TIMEOUT (15 * SRS_UTIME_SECONDS)
|
||||
|
||||
// 6.1.1 Status Code and Reason Phrase
|
||||
#define SRS_CONSTS_HTTP_Continue 100
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue