Akismet

« Subkismet .NET | Blog Home | Codeigniter Library »

Using HTTP 1.1

7 pm, February 25th, 2008

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 Responses

  1. Dhruva Sagar Says:

    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. Ping: AquilaX’s development blog - Akismet problems
  3. Rossato Says:

    Thank you. I got that problem. I relized some time outs.

  4. Tiki Says:

    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 ….)

  5. Tomalak Geret'kal Says:

    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.

  6. Domostroy Says:

    good thing. now i know how to fix that bug

Leave a Reply

Please do not leave support requests or questions in the comments, use the contact form for that.

« Subkismet .NET | Blog Home | Codeigniter Library »

Live Spam Zeitgeist

8,680,174,783 spams caught so far

10,974,149 so far today

85% of all comments are spam