New issue 1880: setsocket SO_RCVBUF with 64 bit int works, probably shouldn't
https://bitbucket.org/pypy/pypy/issue/1880/setsocket-so_rcvbuf-with-64-bit-int-works

Dan Stromberg:


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



_______________________________________________
pypy-issue mailing list
[email protected]
https://mail.python.org/mailman/listinfo/pypy-issue

Reply via email to