[asterisk-dev] [Code Review] 3466: HTTP: Add TCP_NODELAY to accepted connections

opticron reviewboard at asterisk.org
Fri Apr 18 10:42:42 CDT 2014


-----------------------------------------------------------
This is an automatically generated e-mail. To reply, visit:
https://reviewboard.asterisk.org/r/3466/
-----------------------------------------------------------

(Updated April 18, 2014, 10:42 a.m.)


Review request for Asterisk Developers.


Repository: Asterisk


Description
-------

This adds the TCP_NODELAY option to accepted connections on the HTTP server built into Asterisk. This option disables the Nagle algorithm which controls queueing of outbound data and in some cases can cause delays on receipt of response by the client due to how the Nagle algorithm interacts with TCP delayed ACK. This option is already set on all non-HTTP AMI connections and this change would cover standard HTTP requests, manager HTTP connections, and ARI HTTP requests and websockets in Asterisk 12+ along with any future use of the HTTP server.


Diffs (updated)
-----

  branches/1.8/main/http.c 412564 

Diff: https://reviewboard.asterisk.org/r/3466/diff/


Testing
-------


Thanks,

opticron

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.digium.com/pipermail/asterisk-dev/attachments/20140418/a33926e7/attachment.html>


More information about the asterisk-dev mailing list