mirror of
https://github.com/ossrs/srs.git
synced 2025-03-09 15:49:59 +00:00
refine the tcp nodelay, effect connected connections.
This commit is contained in:
parent
c31a546eec
commit
3c402cb908
5 changed files with 50 additions and 11 deletions
|
@ -91,6 +91,8 @@ private:
|
|||
int publish_1stpkt_timeout;
|
||||
// publish normal packet timeout in ms
|
||||
int publish_normal_timeout;
|
||||
// whether enable the tcp_nodelay.
|
||||
bool tcp_nodelay;
|
||||
public:
|
||||
SrsRtmpConn(SrsServer* svr, st_netfd_t c);
|
||||
virtual ~SrsRtmpConn();
|
||||
|
@ -103,6 +105,7 @@ public:
|
|||
virtual int on_reload_vhost_removed(std::string vhost);
|
||||
virtual int on_reload_vhost_mw(std::string vhost);
|
||||
virtual int on_reload_vhost_smi(std::string vhost);
|
||||
virtual int on_reload_vhost_tcp_nodelay(std::string vhost);
|
||||
virtual int on_reload_vhost_realtime(std::string vhost);
|
||||
virtual int on_reload_vhost_p1stpt(std::string vhost);
|
||||
virtual int on_reload_vhost_pnt(std::string vhost);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue