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 05:57:44
Charles Duffy wrote:
> Per subject. When dynamically generating about 120MB
> of content and streaming it off by yield()'ing 64kb
> chunks, I'm getting the following exception:
> error: (10055, 'No buffer space available')

My guess is that, even though you're using yield, something
is buffering the response anyway. Do you have
stream_response = True as described at http://ww
w.cherrypy.org/wiki/ReturnVsYield? Even if you do,
perhaps there's a filter or something that's buffering? Add
a line to _cpwsgi.py (round about line 90) and see if
response.body is a generator or not.


Robert Brewer
System Architect
Amor Ministries
fumanchuamor.org


--~--~---------~--~----~------------~-------~--~----~
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 )