18.01.2014, 16:38
The page content is copied to the AMX heap when passed to an HTTP callback (that's true for all callbacks taking a string parameter), and if the heap is too small to hold the data you may run into problems like this. You can use #pragma dynamic to fix it but the server can tsill crash if the page suddenly becomes bigger, so it's kind of not a real fix. It would have been better if Kalcor introduced a new API for getting the content instead of merely passing it to a callback, like GetHTTPResponseData(dest[], size) or something similar.