Pyha / flup-py3.3

Random assortment of WSGI servers (for py3.3)
9 stars 2 forks source link

Error Subscripting #1

Closed geraldnilles closed 10 years ago

geraldnilles commented 10 years ago

The error handling in the server/fcgi_base.py file asumes the error object can be subscripted. For example,

    except socket.error as e:
            if e[0] == errno.EAGAIN:

This was causing errors on my setup. By replacing e[0] with e.errno, i was able to fix the issue.

Thanks, Gerald

Sinkler commented 10 years ago

thanks!