mirror of
https://github.com/ossrs/srs.git
synced 2025-03-09 15:49:59 +00:00
enable the SRS_PERF_TCP_NODELAY and add config tcp_nodelay. 2.0.182
This commit is contained in:
parent
267846a3fa
commit
9fb4640a8f
9 changed files with 44 additions and 12 deletions
|
@ -31,7 +31,7 @@ CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
|
|||
// current release version
|
||||
#define VERSION_MAJOR 2
|
||||
#define VERSION_MINOR 0
|
||||
#define VERSION_REVISION 181
|
||||
#define VERSION_REVISION 182
|
||||
|
||||
// server info.
|
||||
#define RTMP_SIG_SRS_KEY "SRS"
|
||||
|
|
|
@ -163,12 +163,12 @@ CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
|
|||
//#undef SRS_PERF_COMPLEX_SEND
|
||||
#define SRS_PERF_COMPLEX_SEND
|
||||
/**
|
||||
* whether enable the TCP_NODELAY
|
||||
* user maybe need send small tcp packet for some network.
|
||||
* @see https://github.com/simple-rtmp-server/srs/issues/320
|
||||
*/
|
||||
//#define SRS_PERF_TCP_NODELAY
|
||||
* whether enable the TCP_NODELAY
|
||||
* user maybe need send small tcp packet for some network.
|
||||
* @see https://github.com/simple-rtmp-server/srs/issues/320
|
||||
*/
|
||||
#undef SRS_PERF_TCP_NODELAY
|
||||
#define SRS_PERF_TCP_NODELAY
|
||||
/**
|
||||
* set the socket send buffer,
|
||||
* to force the server to send smaller tcp packet.
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue