Bluetrait Weblog

Akismet weirdness

Posted by Michael Dale on Sun, 04 Nov 2007 6:53 PM

There have been some Akismet network issues in the last few weeks.

After chatting to Barry of Automattic the issue was tracked down to a HTTP keep-alive issue. Basically it was taking about 30 seconds for each request to the Akismet server.

Although it seems these issues have been fixed the following workaround can be used in Bluetrait 1 without any issues.

  1. Open include/akismet.class.php
  2. Go to line 128. It should read: $http_request  = "POST " . $path . " HTTP/1.1\r\n";
  3. Change to: $http_request  = "POST " . $path . " HTTP/1.0\r\n";
  4. Save and upload

Bluetrait 2 will be using HTTP/1.0 for Akismet.

 

Comments?

HTML allowed: <a href="" title="" rel=""></a> <b></b> <blockquote cite=""></blockquote> <em></em> <i></i> <strike></strike> <strong></strong> <li></li> <ol></ol> <ul></ul>
ie: <b>bold</b>

Please note: you require cookies to be enabled on your computer to allow you to post. This is simply to stop spam. No personal information is stored. If for whatever reason you choose not to allow cookies your post will not be displayed until it passes "moderation".

Message:

Need to login? Click here

Name (optional)

Email (not shown)

WWW (optional)

Allow contact form email