On Fri, Mar 7, 2008 at 2:37 PM, Ian Bicking <[EMAIL PROTECTED]> wrote: > Mike Orr wrote: > > A couple issues have come up which can only be solved jointly by > > Pylons and Paste. > > > > http://pylonshq.com/project/pylonshq/ticket/388 > > Handling premature client disconnects > > I think to do this right it needs to be defined in WSGI.
Could generator pushback be used for this? I.e., the server takes a chunk of content from the application and pushes back the connection status or throws an exception. The action can read the status or catch the exception if it wants to, or ignore it for the default behavior. One issue is it couldn't abort the action until it has yielded the first chunk, which in many cases is after the main processing has been done. -- Mike Orr <[EMAIL PROTECTED]> --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "pylons-devel" group. To post to this group, send email to pylons-devel@googlegroups.com To unsubscribe from this group, send email to [EMAIL PROTECTED] For more options, visit this group at http://groups.google.com/group/pylons-devel?hl=en -~----------~----~----~----~------~----~------~--~---