]> git.ipfire.org Git - thirdparty/opentracker.git/commitdiff
The last experiment failed. No more accept deferral
authorerdgeist <>
Fri, 2 Nov 2007 04:18:52 +0000 (04:18 +0000)
committererdgeist <>
Fri, 2 Nov 2007 04:18:52 +0000 (04:18 +0000)
opentracker.c

index b7e58768beef5cc159f6a8763b08e845652edb99..ccb9603e91c3fa6a3e87104cd3fe6c171e36b7fb 100644 (file)
@@ -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 );