[uWSGI] Very strange behavior with using unix socket

test157 at smail.ee test157 at smail.ee
Wed Nov 17 18:28:41 CET 2010


Hello Roberto,

sorry, found answer by myself. just so code can check connection
status in this way.

    # check connection status
    try:
        c_ok = True
        s.getpeername()
    except socket.error, why:
        c_ok = False



More information about the uWSGI mailing list