Date: Mon, 28 Mar 2016 21:49:04 +0000 From: bugzilla-noreply@freebsd.org To: freebsd-amd64@FreeBSD.org Subject: [Bug 206716] HPN-SSH: getsockopt(SO_SNDBUF) returns high watermark, not setsockopt(SO_SNDBUF) Message-ID: <bug-206716-6-sXbRaybntF@https.bugs.freebsd.org/bugzilla/> In-Reply-To: <bug-206716-6@https.bugs.freebsd.org/bugzilla/> References: <bug-206716-6@https.bugs.freebsd.org/bugzilla/>
next in thread | previous in thread | raw e-mail | index | archive | help
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D206716 --- Comment #5 from Chris Stankevitz <chris-freebsd-bugs@stankevitz.com> --- (In reply to timon from comment #4) Thank you. I modified the example to increase the buffer size (vs. decreas= e) and I see the same thing. It must be that the conclusions reached in this discussion are wrong: =3D=3D begin quote of [1] =3D=3D So, I looked at what getsockopt SO_RCVBUF returns, and it returns:=20 case SO_RCVBUF:=20 optval =3D so->so_rcv.sb_hiwat;=20 Which is NOT S-BMAX, so it looks like OpenSSH only ever gets 66052 bytes=20 for the buffer...=20 If it's decided to base it's waiting for ack on SO_RCVBUF, then this=20 is probably where the issue is...=20 =3D=3D end quote of [1] =3D=3D=3D So it sounds like this bug should be closed/worksforme. Chris [1] http://freebsd.1045724.n5.nabble.com/ssh-over-WAN-TCP-window-too-small-tp60= 35112p6035301.html --=20 You are receiving this mail because: You are on the CC list for the bug.=
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?bug-206716-6-sXbRaybntF>