workaround found on http://blog.defv.be/2008/2/22/akismet-problems to prevent timeouts!
This commit is contained in:
parent
e59d7bc707
commit
73aac7f1e8
@ -112,7 +112,7 @@ class Akismet {
|
||||
|
||||
function http_post($request, $host, $path) {
|
||||
$http_request =
|
||||
"POST " . $path . " HTTP/1.1\r\n" .
|
||||
"POST " . $path . " HTTP/1.0\r\n" .
|
||||
"Host: " . $host . "\r\n" .
|
||||
"Content-Type: application/x-www-form-urlencoded; charset=utf-8\r\n" .
|
||||
"Content-Length: " . strlen($request) . "\r\n" .
|
||||
|
Loading…
x
Reference in New Issue
Block a user