Issue2213

classification
Title: socket.setsockopt(socket.SOL_SOCKET, socket.SO_RCVBUF, tcp_window_size) with huge tcp_window_size does not raise an exception
Type: Severity: normal
Components: Library Versions: Jython 2.7
Milestone:
process
Status: open Resolution:
Dependencies: Superseder:
Assigned To: zyasoft Nosy List: dstromberg, zyasoft
Priority: low Keywords:

Created on 2014-09-21.23:57:56 by dstromberg, last changed 2018-03-06.20:22:40 by jeff.allen.

Messages
msg9010 (view) Author: Dan Stromberg (dstromberg) Date: 2014-09-21.23:57:56
Running:
socket.setsockopt(socket.SOL_SOCKET, socket.SO_RCVBUF, tcp_window_size)
...where tcp_window_size is truly gigantic, does not raise a socket.error with errno.EBADMSG.

It works fine in CPython 2.x, CPython 3.x, Pypy 2.3.1 and Pypy3 2.3.1.

Here's a link to some test code:
http://stromberg.dnsalias.org/~strombrg/max-tcp-window.html

Thanks for the cool software!
msg9016 (view) Author: Jim Baker (zyasoft) Date: 2014-09-22.22:43:24
Dan, thanks for the bug report. Because we are going through an emulation using Netty 4, this is just the sort of info we need to remove these types of corner cases.
msg9076 (view) Author: Jim Baker (zyasoft) Date: 2014-10-05.16:55:35
Nice to have for 2.7.0
History
Date User Action Args
2018-03-06 20:22:40jeff.allensetmilestone: Jython 2.7.2 ->
components: + Library
versions: + Jython 2.7
2015-12-29 04:07:06zyasoftsetmilestone: Jython 2.7.2
2015-07-28 15:07:39zyasoftsetassignee: zyasoft
2015-04-15 20:47:25zyasoftsetassignee: zyasoft -> (no value)
2014-10-05 16:55:35zyasoftsetpriority: low
messages: + msg9076
2014-09-22 22:43:24zyasoftsetassignee: zyasoft
messages: + msg9016
nosy: + zyasoft
2014-09-21 23:57:57dstrombergcreate