[issue18100] socket.sendall() cannot send buffers of 2GB or more

Tom van Leeuwen report at bugs.python.org
Thu May 30 14:56:22 CEST 2013


New submission from Tom van Leeuwen:

When using socket.sendall() to send a buffer of 2GB or more (for example, numpy.zeros(2*GB, dtype=numpy.uint8) ), it doesn't send anything at all.

In socketmodule.c, socket.sendall() sock_sendall uses an int for len, while this should be a Py_ssize_t.

----------
components: Build
messages: 190357
nosy: Tom.van.Leeuwen
priority: normal
severity: normal
status: open
title: socket.sendall() cannot send buffers of 2GB or more
type: behavior
versions: Python 2.6

_______________________________________
Python tracker <report at bugs.python.org>
<http://bugs.python.org/issue18100>
_______________________________________


More information about the Python-bugs-list mailing list