[Python-Dev] Possible bug in socket.py: connection reset by peer

Antoine Pitrou solipsis at pitrou.net
Sat Mar 2 13:25:19 CET 2013

On Sat, 02 Mar 2013 12:48:05 +0100
Michal Kawalec <mkawalec at lavabit.com> wrote:
> I am experiencing an odd infrequent bug in Python 2.7.3 with GIL
> enabled. For some files pushed over TCP socket I get 'connection reset
> by peer' and clients only receive a randomly long part of the file.

Why do you think it is a bug in Python?
Start by doing a Wireshark capture of your traffic and find out what
really happens.



More information about the Python-Dev mailing list