]> granicus.if.org Git - libevent/commit
Send a shutdown(SHUT_WR) before closing an http connection
authorChristopher Davis <chrisd@torproject.org>
Tue, 5 Oct 2010 17:01:54 +0000 (13:01 -0400)
committerNick Mathewson <nickm@torproject.org>
Tue, 5 Oct 2010 17:01:54 +0000 (13:01 -0400)
commite0fd87085d5392039f7406445d1abac47fdde2f5
tree8482b2e5acf51bea6a5d79602afb21e032d4fd44
parent0faaee016583a46006b46c5c2c82440dad1aefb8
Send a shutdown(SHUT_WR) before closing an http connection

This avoids getting an ECONNRESET from the TCP stack.

Fixes bug 2928690
http.c