webpy.org is down, but i was trying to look & see if you could monitor sessions (easy to keep up with in wsgi), and detect when the session is inactive - discontinue stream, but i can't search the website to find out!
On Wed, Nov 24, 2010 at 9:18 AM, Sergey Zaharchenko < [email protected]> wrote: > Hi guys, > > I'm trying to serve a specific stream with web.py (chunked transfer > encoding, yield, etc. - works wonders), but I need to know if the user > has closed the connection so that I could stop generating the stream. > I'm using Apache+mod_wsgi. The webserver logs show an "IOError: failed > to write data" exception occuring in this case, but as far as I > understand I can't catch it (it happens outside the GET handler). I'm > out of ideas. Do you by any chance have any? > > Thanks in advance, > > -- > DoubleF > > -- > You received this message because you are subscribed to the Google Groups > "web.py" group. > To post to this group, send email to [email protected]. > To unsubscribe from this group, send email to > [email protected] <webpy%[email protected]>. > For more options, visit this group at > http://groups.google.com/group/webpy?hl=en. > > -- You received this message because you are subscribed to the Google Groups "web.py" group. To post to this group, send email to [email protected]. To unsubscribe from this group, send email to [email protected]. For more options, visit this group at http://groups.google.com/group/webpy?hl=en.
