mirror of
https://github.com/ossrs/srs.git
synced 2025-03-09 15:49:59 +00:00
Refine set_send_timeout in time unit
This commit is contained in:
parent
a1398892d0
commit
f4bee37e76
14 changed files with 34 additions and 34 deletions
|
@ -228,7 +228,7 @@ srs_error_t SrsHttpClient::connect()
|
|||
|
||||
// Set the recv/send timeout in ms.
|
||||
transport->set_recv_timeout(timeout);
|
||||
transport->set_send_timeout(timeout);
|
||||
transport->set_send_timeout(timeout * SRS_UTIME_MILLISECONDS);
|
||||
|
||||
kbps->set_io(transport, transport);
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue