durusmail: quixote-users: scgi: error reading response headers
scgi: error reading response headers
scgi: error reading response headers
Neil Schemenauer
2004-03-12
On Fri, Mar 12, 2004 at 04:22:48PM +0100, Ksenia Marasanova wrote:
>   File "/usr/local/lib/python2.3/site-packages/scgi/scgi_server.py",
> line 23, in ns_read_size
>     c = input.read(1)
> IOError: [Errno 35] Resource temporarily unavailable

Ouch!  That file is supposed to be blocking.  From
scgi/scgi_server.py:


        # Make sure the socket is blocking.  Apparently, on
        # FreeBSD the
        # socket is non-blocking.  I think that's an OS bug but
        # I don't
        # have the resources to track it down.
        conn.setblocking(1)

Can you check to make sure that your version of scgi_server has that
line?  If it does, you've probably ran into a Python bug (or
possibly an OS bug).

  Neil


reply