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
fumanchu amor.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-users googlegroups.com
To unsubscribe from this group, send email to
cherrypy-users-unsubscribe googlegroups.com
For more options, visit this group at ht
tp://groups-beta.google.com/group/cherrypy-users
-~----------~----~----~----~------~----~------~--~---
|