• Rémi Denis-Courmont's avatar
    httpd: don't bother processing failed connection · d3ce853d
    Rémi Denis-Courmont authored
    If the underlying stream failed, there's no point processing an
    outstanding request. It's most likely incomplete, and in any case, we
    won't be able to send the response.
    
    That corner case only made sense for connections half-closed on read
    end. (Even then, it's a little questionable, because half-closed
    connections eventually time out if not fully closed.)
    d3ce853d
httpd.c 65.5 KB