• Avery Pennarun's avatar
    Oops, we were being overzealous about calling nowrite(). · d4c9d310
    Avery Pennarun authored
    We were doing it as soon as the other end was shut_read, but we didn't
    confirm first that the other end's read buffer had been totally emptied.
    This caused problems on twitter.com, at least, where they create a zillion
    short-lived connections.
    
    I don't actually need these lines at all, as it turns out, because we were
    already calling nowrite() correctly on the other end after a buffer got
    emptied.
    d4c9d310
ssnet.py 15.7 KB