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