Browse Source

now accept more classes of announce fuckups

dynamic-accesslists
erdgeist 17 years ago
parent
commit
6b2307015f
  1. 3
      opentracker.c

3
opentracker.c

@ -532,8 +532,7 @@ ANNOUNCE_WORKAROUND: @@ -532,8 +532,7 @@ ANNOUNCE_WORKAROUND:
ot_overall_tcp_successfulannounces++;
break;
case 9:
if( !byte_diff( data, 9, "announce " ) ) goto ANNOUNCE_WORKAROUND;
if( !byte_diff( data, 9, "announce/" ) ) goto ANNOUNCE_WORKAROUND;
if( !byte_diff( data, 8, "announce" ) ) goto ANNOUNCE_WORKAROUND;
HTTPERROR_404;
case 10:
if( byte_diff( data, 10, "scrape.php" ) ) HTTPERROR_404;

Loading…
Cancel
Save