Browse Source

Accept was counted twice

master
git 6 years ago
parent
commit
c12b0059b7
  1. 5
      ot_http.c

5
ot_http.c

@ -511,8 +511,9 @@ static ssize_t http_handle_announce( const int64 sock, struct ot_workstruct *ws,
numwants[numwant]++;
#endif
/* XXX DEBUG */
/* XXX DEBUG
stats_issue_event( EVENT_ACCEPT, FLAG_TCP, (uintptr_t)ws->reply );
*/
/* Scanned whole query string */
if( !ws->hash )
@ -631,4 +632,4 @@ ssize_t http_handle_request( const int64 sock, struct ot_workstruct *ws ) {
return ws->reply_size;
}
const char *g_version_http_c = "$Source: /home/cvsroot/opentracker/ot_http.c,v $: $Revision: 1.54 $\n";
const char *g_version_http_c = "$Source: /home/cvsroot/opentracker/ot_http.c,v $: $Revision: 1.55 $\n";

Loading…
Cancel
Save