mirror of
git://erdgeist.org/opentracker
synced 2025-04-03 03:47:16 +08:00
add the scrapes to the valid requests (blue mrtg line)
This commit is contained in:
parent
f9c49e9759
commit
bbdc36c518
@ -256,6 +256,7 @@ static void httpresponse( const int64 s, char *data ) {
|
|||||||
/* Enough for http header + whole scrape string */
|
/* Enough for http header + whole scrape string */
|
||||||
if( !( reply_size = return_stats_for_tracker( SUCCESS_HTTP_HEADER_LENGTH + static_outbuf, mode ) ) ) HTTPERROR_500;
|
if( !( reply_size = return_stats_for_tracker( SUCCESS_HTTP_HEADER_LENGTH + static_outbuf, mode ) ) ) HTTPERROR_500;
|
||||||
|
|
||||||
|
ot_overall_successfulannounces++;
|
||||||
break;
|
break;
|
||||||
case 6: /* scrape ? */
|
case 6: /* scrape ? */
|
||||||
if( byte_diff( data, 6, "scrape") ) HTTPERROR_404;
|
if( byte_diff( data, 6, "scrape") ) HTTPERROR_404;
|
||||||
|
Loading…
x
Reference in New Issue
Block a user