List Info

Thread: CP 2.2.1 - SocketError on win32 while downloading large streaming files




CP 2.2.1 - SocketError on win32 while downloading large streaming files
user name
2006-10-20 03:40:38
Per subject. When dynamically generating about 120MB of
content and
streaming it off by yield()'ing 64kb chunks, I'm getting the
following
exception:

Traceback (most recent call last):
   File "cherrypy_cpwsgiserver.pyc", line 203, in
run
   File "cherrypy_cpwsgiserver.pyc", line 147, in
write
   File "socket.pyc", line 256, in write
   File "socket.pyc", line 243, in flush
error: (10055, 'No buffer space available')

This is happening on win32, and more precisely Windows XP.
Error 10055 
is defined rather ambiguously at
http://msdn.microsoft.com/library/default.asp?url=/library
/en-us/winsock/winsock/windows_sockets_error_codes_2.asp
, 
as follows:

] No buffer space available.
]   An operation on a socket could not be performed because
the system
]   lacked sufficient buffer space or because a queue was
full.

This doesn't give me much to go on with regard to
resolution, however. 
Thoughts, anyone?


--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the
Google Groups "cherrypy-users" group.
To post to this group, send email to cherrypy-usersgooglegroups.com
To unsubscribe from this group, send email to
cherrypy-users-unsubscribegooglegroups.com
For more options, visit this group at ht
tp://groups-beta.google.com/group/cherrypy-users
-~----------~----~----~----~------~----~------~--~---

[1]

about | contact  Other archives ( Real Estate discussion Medical topics )