File size in Python server

Posted by Anna on Stack Overflow See other posts from Stack Overflow or by Anna
Published on 2010-03-12T19:34:14Z Indexed on 2010/03/12 19:37 UTC
Read the original article Hit count: 200

Filed under:
|
|
|
|

We have server on Python and client + web service on Ruby. That works only if file from URL is less than 800 k. It seems like "socket.puts data" in a client works, but "output = socket.gets" - not. I think problem is in a Python part. For big files tests run "Connection reset by peer". Is it buffer size variable by default somewhere in a Python?

© Stack Overflow or respective owner

Related posts about python

Related posts about ruby