[Bug 206716] HPN-SSH: getsockopt(SO_SNDBUF) returns high watermark, not setsockopt(SO_SNDBUF)

bugzilla-noreply at freebsd.org bugzilla-noreply at freebsd.org
Mon Mar 28 21:49:07 UTC 2016


--- Comment #5 from Chris Stankevitz <chris-freebsd-bugs at stankevitz.com> ---
(In reply to timon from comment #4)

Thank you.  I modified the example to increase the buffer size (vs. decrease)
and I see the same thing.  It must be that the conclusions reached in this
discussion are wrong:

== begin quote of [1] ==

So, I looked at what getsockopt SO_RCVBUF returns, and it returns: 
                case SO_RCVBUF: 
                        optval = so->so_rcv.sb_hiwat; 

Which is NOT S-BMAX, so it looks like OpenSSH only ever gets 66052 bytes 
for the buffer... 

If it's decided to base it's waiting for ack on SO_RCVBUF, then this 
is probably where the issue is... 

== end quote of [1] ===

So it sounds like this bug should be closed/worksforme.



You are receiving this mail because:
You are the assignee for the bug.

More information about the freebsd-bugs mailing list