Skip to content
  • Philip Withnall's avatar
    SPECIFIC: pseudotcp: Disable the Nagle algorithm by default · 02c10031
    Philip Withnall authored and Olivier Crête's avatar Olivier Crête committed
    For the specific case of osn-tunnel, having the Nagle algorithm enabled
    for pseudo-TCP does not make any sense, due to the (well studied)
    adverse combination of Nagling and delayed ACKs. osn-tunnel supports
    segment concatenation within pseudo-TCP, so Nagling would not have a
    large impact anyway.
    
    This patch is a temporary solution: ideally the PseudoTcpSocket:no-delay
    property should be propagated as a property (or some kind of
    setsockopt()-like interface) on NiceIOStream, so that applications can
    set it directly.
    02c10031