[pypy-issue] Issue #1880: setsocket SO_RCVBUF with 64 bit int works, probably shouldn't (pypy/pypy)
issues-reply at bitbucket.org
Sun Oct 5 20:51:00 CEST 2014
New issue 1880: setsocket SO_RCVBUF with 64 bit int works, probably shouldn't
Pypy appears to allow an oversized tcp_window when doing a setsockopt SO_RCVBUF. CPython, when running the same code, allows only a 2^31-1 size, while Pypy allows a 2^63-1 size. Both runs were on a 64 bit system Linux Mint system. The C code's type system seems to only allow a 32 bit value.
Test code demonstrating the issue in Python and C, is at http://stromberg.dnsalias.org/~strombrg/max-tcp-window.html
More information about the pypy-issue