diff options
author | Roger Dingledine <arma@torproject.org> | 2002-07-16 02:12:58 +0000 |
---|---|---|
committer | Roger Dingledine <arma@torproject.org> | 2002-07-16 02:12:58 +0000 |
commit | c951c6f1866b29ffef025238bfc4e51ed4acbe4d (patch) | |
tree | 539d939cc4958c61807ef09e882d91c20331a0f3 /src/or/connection.c | |
parent | 117cbeeaaf30cdbbfe79dbe92fe47ab6a531bd8a (diff) | |
download | tor-c951c6f1866b29ffef025238bfc4e51ed4acbe4d.tar tor-c951c6f1866b29ffef025238bfc4e51ed4acbe4d.tar.gz |
new config files, some bugfixes
svn:r51
Diffstat (limited to 'src/or/connection.c')
-rw-r--r-- | src/or/connection.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/src/or/connection.c b/src/or/connection.c index 8b4155d15..b0ca98322 100644 --- a/src/or/connection.c +++ b/src/or/connection.c @@ -180,6 +180,8 @@ int connection_handle_listener_read(connection_t *conn, int new_type, int new_st } log(LOG_DEBUG,"Connection accepted on socket %d.",news); + fcntl(news, F_SETFL, O_NONBLOCK); /* set s to non-blocking */ + newconn = connection_new(new_type); newconn->s = news; |