mirror of
https://gitlab.torproject.org/tpo/core/tor.git
synced 2024-11-28 14:23:30 +01:00
stop a sigpipe.
apparently when we get an eof, at least sometimes it *does* mean you'd better not try writing. svn:r3481
This commit is contained in:
parent
ec2a6ff2e3
commit
d232831135
@ -45,8 +45,8 @@ int connection_edge_reached_eof(connection_t *conn) {
|
||||
* get the 'end' right around when the client hangs up on us. */
|
||||
connection_edge_end(conn, END_STREAM_REASON_DONE, conn->cpath_layer);
|
||||
connection_mark_for_close(conn);
|
||||
conn->hold_open_until_flushed = 1; /* just because we shouldn't read
|
||||
doesn't mean we shouldn't write */
|
||||
// conn->hold_open_until_flushed = 1; /* just because we shouldn't read
|
||||
// doesn't mean we shouldn't write */
|
||||
}
|
||||
return 0;
|
||||
#endif
|
||||
|
Loading…
Reference in New Issue
Block a user