Skip Menu |

This queue is for tickets about the AnyEvent-HTTPD CPAN distribution.

Report information
The Basics
Id: 46400
Status: resolved
Priority: 0/
Queue: AnyEvent-HTTPD

People
Owner: Nobody in particular
Requestors: allter [...] gmail.com
Cc:
AdminCc:

Bug Information
Severity: Wishlist
Broken in: 0.04
Fixed in: 0.5



Subject: keep-alive support
Hello, I've implemented keep-alive support in my local repo. Are you interested in patch (i remember that you told about a rewrite)? Andrey.
Subject: Re: [rt.cpan.org #46400] keep-alive support
Date: Tue, 30 Jun 2009 13:58:52 +0200
To: "Andrey M. Smirnov via RT" <bug-AnyEvent-HTTPD [...] rt.cpan.org>
From: Robin Redeker <elmex [...] ta-sa.org>
Hi Andrey! On Wed, May 27, 2009 at 02:45:38AM -0400, Andrey M. Smirnov via RT wrote: Show quoted text
> Wed May 27 02:45:37 2009: Request 46400 was acted upon. > Transaction: Ticket created by allter > Queue: AnyEvent-HTTPD > Subject: keep-alive support > Broken in: 0.04 > Severity: Wishlist > Owner: Nobody > Requestors: allter@gmail.com > Status: new > Ticket <URL: https://rt.cpan.org/Ticket/Display.html?id=46400 > > > > Hello, I've implemented keep-alive support in my local repo. Are you > interested in patch (i remember that you told about a rewrite)?
Sorry for the late reply, but I was kind of busy. I'm still interested of course! The AnyEvent::HTTPD rewrite seems to be mostly done now and I'm mostly ready for a new release. So feel free to send me a patch or give me a git repository to pull from! Greetings, Robin -- Robin Redeker | Deliantra, the free code+content MORPG elmex@ta-sa.org / r.redeker@gmail.com | http://www.deliantra.net http://www.ta-sa.org/ |
Subject: Re: [rt.cpan.org #46400] keep-alive support
Date: Thu, 2 Jul 2009 00:47:03 +0400
To: bug-AnyEvent-HTTPD [...] rt.cpan.org
From: Andrey Smirnov <allter [...] gmail.com>
On Tue, Jun 30, 2009 at 3:59 PM, Robin Redeker via RT < bug-AnyEvent-HTTPD@rt.cpan.org> wrote: Show quoted text
>
> > Hello, I've implemented keep-alive support in my local repo. Are you > > interested in patch (i remember that you told about a rewrite)?
> > Sorry for the late reply, but I was kind of busy. I'm still interested of > course! The AnyEvent::HTTPD rewrite seems to be mostly done now and I'm > mostly > ready for a new release. So feel free to send me a patch or give me a git > repository to pull from!
Ok, i've pushed my repo to repo: git://repo.or.cz/AnyEvent-HTTPD.git branch: keep-alive-support There were some trivial cosmetic changes so you may want to cherry-pick 32a5eb6f7269e4ac71756e1b830840e16cb42a21 or several my commits and then squish and rebase them. I've implemented only "Connection" header processing, so it's only for HTTP/1.0. Implementation is very ad-hoc, but it worked for me. -- Sincerly yours, Andrey.
I've uploaded version 0.5 of AnyEvent::HTTPD, which comes with keep-alive support now. I've rewritten your changes and added request timeouts now too instead of the maximum limit of keep-alive connections. Greetings, Robin