aboutsummaryrefslogtreecommitdiff
path: root/src/or/connection.c
diff options
context:
space:
mode:
authorRoger Dingledine <arma@torproject.org>2013-01-14 13:34:59 -0500
committerRoger Dingledine <arma@torproject.org>2013-01-14 13:34:59 -0500
commit19d37202362c0298ae2f3954b0065ccfcef0dbda (patch)
tree64f9a5b05b72d3ada50cd0d789ca7beac6aa5bfe /src/or/connection.c
parentc9242f4fd4c0ae783946db77b9ecc6214d41bd72 (diff)
downloadtor-19d37202362c0298ae2f3954b0065ccfcef0dbda.tar
tor-19d37202362c0298ae2f3954b0065ccfcef0dbda.tar.gz
start folding in the changes entries
Diffstat (limited to 'src/or/connection.c')
-rw-r--r--src/or/connection.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/or/connection.c b/src/or/connection.c
index 740462e7c..42ff7e1a0 100644
--- a/src/or/connection.c
+++ b/src/or/connection.c
@@ -1245,6 +1245,7 @@ connection_handle_listener_read(connection_t *conn, int new_type)
if (!SOCKET_OK(news)) { /* accept() error */
int e = tor_socket_errno(conn->s);
if (ERRNO_IS_ACCEPT_EAGAIN(e)) {
+ log_notice(LD_APP, "he hung up before we could accept(). that's fine.");
return 0; /* he hung up before we could accept(). that's fine. */
} else if (ERRNO_IS_ACCEPT_RESOURCE_LIMIT(e)) {
warn_too_many_conns();
@@ -1256,7 +1257,7 @@ connection_handle_listener_read(connection_t *conn, int new_type)
connection_mark_for_close(conn);
return -1;
}
- log_debug(LD_NET,
+ log_notice(LD_NET,
"Connection accepted on socket %d (child of fd %d).",
(int)news,(int)conn->s);