summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorerdgeist <>2007-11-02 04:18:52 +0000
committererdgeist <>2007-11-02 04:18:52 +0000
commit5aa41e9d82eaa5372fbcabfccd7a7c0ac5c5b058 (patch)
treedcac27afc537be134ad74230c8114f059d818403
parentd276addb7a010a52b41080f3b8cee95bdcc7df7d (diff)
The last experiment failed. No more accept deferral
-rw-r--r--opentracker.c4
1 files changed, 0 insertions, 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 ) {
742 tai_unix( &(t.sec), (g_now + OT_CLIENT_TIMEOUT) ); 742 tai_unix( &(t.sec), (g_now + OT_CLIENT_TIMEOUT) );
743 io_timeout( i, t ); 743 io_timeout( i, t );
744 744
745 handle_read( i );
746 } 745 }
747 746
748 if( errno == EAGAIN ) 747 if( errno == EAGAIN )
@@ -895,9 +894,6 @@ static void ot_try_bind( char ip[4], uint16 port, int is_tcp ) {
895 if( !io_fd( s ) ) 894 if( !io_fd( s ) )
896 panic( "io_fd" ); 895 panic( "io_fd" );
897 896
898 if( is_tcp )
899 socket_deferaccept( s, DATAIN );
900
901 io_setcookie( s, is_tcp ? FLAG_TCP : FLAG_UDP ); 897 io_setcookie( s, is_tcp ? FLAG_TCP : FLAG_UDP );
902 898
903 io_wantread( s ); 899 io_wantread( s );