18.01.2014, 01:58
Hi!
I have experienced this crash for some time now and noticed that if you use GET on a page with too much content, your server will just crash.
I really can't even limit the string sent.
Specifically that link will lead you to a internal server crash.
Please fix this! Thanks.
I have experienced this crash for some time now and noticed that if you use GET on a page with too much content, your server will just crash.
I really can't even limit the string sent.
pawn Код:
public OnPotatoHTTPResponse( index, response_code, data[ ] );
public OnGameModeInit( )
{
HTTP( INVALID_PLAYER_ID, HTTP_GET, "sfcnr.com/potato", "", "OnPotatoHTTPResponse" );
return 1;
}
public OnPotatoHTTPResponse( index, response_code, data[ ] )
{
if( strlen( data ) < 1024 ) return 0;
printf( "%s", data );
return 1;
}
Please fix this! Thanks.