Browse Source

Log successful incoming connections

dynamic-accesslists
erdgeist 15 years ago
parent
commit
9eb860f041
  1. 2
      proxy.c

2
proxy.c

@ -382,6 +382,8 @@ static void handle_read( int64 peersocket ) {
peer->tracker_id = tracker_id; peer->tracker_id = tracker_id;
PROXYPEER_SETCONNECTED( peer->state ); PROXYPEER_SETCONNECTED( peer->state );
fprintf( stderr, "Incoming connection successful.\n" );
break; break;
close_socket: close_socket:
io_close( peersocket ); io_close( peersocket );

Loading…
Cancel
Save