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:
Roger Dingledine 2005-01-31 08:12:30 +00:00
parent ec2a6ff2e3
commit d232831135

View File

@ -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