Re: IPQoS not affecting TCP_NODELAY
On Wed, Sep 11, 2013 at 10:42:59AM -0400, Sean Alexandre wrote:
> I'm seeing a problem with the ssh IPQoS setting not causing TCP_NODELAY to be set.
I've done a little more research on this. It turns out there's this open Bug:
Debian Bug #650512 - IPQoS not honoured
http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=650512
Upstream developers indicate this appears to be a problem with Debian only,
possibly with patches that were applied:
https://bugzilla.mindrot.org/show_bug.cgi?id=1963#c6
I've done a bit of debugging to see if this is something simple.
channel_port_post_listener() in channel.c has a call to set_nodelay(), which would
set TCP_NODELAY. But, it's not being called because "FD_ISSET(c->sock, readset)"
returns false. Any ideas why?
I'd go further on this, but function pointers are involved and I'd have to dig
into the code to really understand it. I can, but thought I'd post here first
to see if this isn't something simple that someone with a better background in
the openssh code could see.
It seems someone on the Debian side is going to have to debug this, for it to
get fixed.
Reply to: