From 5aa41e9d82eaa5372fbcabfccd7a7c0ac5c5b058 Mon Sep 17 00:00:00 2001 From: erdgeist <> Date: Fri, 2 Nov 2007 04:18:52 +0000 Subject: The last experiment failed. No more accept deferral --- opentracker.c | 4 ---- 1 file changed, 4 deletions(-) diff --git a/opentracker.c b/opentracker.c index b7e5876..ccb9603 100644 --- a/opentracker.c +++ b/opentracker.c @@ -742,7 +742,6 @@ static void handle_accept( const int64 serversocket ) { tai_unix( &(t.sec), (g_now + OT_CLIENT_TIMEOUT) ); io_timeout( i, t ); - handle_read( i ); } if( errno == EAGAIN ) @@ -895,9 +894,6 @@ static void ot_try_bind( char ip[4], uint16 port, int is_tcp ) { if( !io_fd( s ) ) panic( "io_fd" ); - if( is_tcp ) - socket_deferaccept( s, DATAIN ); - io_setcookie( s, is_tcp ? FLAG_TCP : FLAG_UDP ); io_wantread( s ); -- cgit v1.2.3