Using HTTP 1.1

If you’re using HTTP 1.1 in your Akismet client, or the one in PEAR, there’s a bug that could cause your client to timeout.

The problem does not lie with Akismet servers, the problem lies in an incorrect implementation of HTTP/1.1 persistent connections in the Akismet class. The Akismet API servers support persistent connections for HTTP/1.1 but the class is not written to use persistent connections. Specifying a ‘Connection: close’ header will fix the problem for HTTP/1.1.

Read more about the problem here.

6 Comments

  1. I will have to check this one…I have no idea what HTTP version my blog uses, let me check. Thanks for the info!

  2. Pingback: AquilaX’s development blog - Akismet problems
  3. Hmm … Seems my servers changed from using HTTP 1.0 to HTTP 1.1 … I looked at your “#{DefV}’s rant” page, but honestly: I’m not too much of a coder, and looking through my WordPress-Plugin, I could not find the string to change ….
    I’d be so glad, if I could just use a simple “Akismet Plugin for WordPress” that works with HTTPD 1.1

    If you have any suggestion to me, please send me a mail, I’d be very very thankfull

    (No diss to SpamKarma, but I really prefer Akismet, and I don’t want to change back all my Blogs to using something else, since it worked so fine for so long ….)

  4. It’s really a shame that the OP uses the term “buggy Akismet servers” without having bothered to finish his research/analysis, instead settling for the first step that produced results that he liked…

    …and then didn’t even bother to update the original article after the truth was revealed, going so far as to close comments so that no-one else could point it out more bluntly.

    It paints Akismet in a bad light that it doesn’t deserve.

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out /  Change )

Facebook photo

You are commenting using your Facebook account. Log Out /  Change )

Connecting to %s

This site uses Akismet to reduce spam. Learn how your comment data is processed.