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
MIME-Version: 1.0
X-Mailer: MIME-tools 5.427 (Entity 5.427)
Content-Type: text/plain
Charset: utf8
Content-Disposition: inline
Content-Transfer-Encoding: binary
X-RT-Original-Encoding: utf-8
Content-Length: 141
Download (untitled) / with headers
text/plain 141b
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.
MIME-Version: 1.0
X-Spam-Status: No, hits=-1.0 required=8.0 tests=RCVD_IN_DNSWL_LOW,SPF_HELO_PASS,SPF_PASS
In-Reply-To: <rt-3.6.HEAD-19052-1243406737-172.46400-4-0 [...] rt.cpan.org>
Content-Disposition: inline
References: <RT-Ticket-46400 [...] rt.cpan.org> <rt-3.6.HEAD-19052-1243406737-172.46400-4-0 [...] rt.cpan.org>
Message-ID: <20090630115852.GA8806 [...] elmex2>
Content-Type: text/plain; charset="utf-8"
X-RT-Original-Encoding: utf-8
Received: from la.mx.develooper.com (x1.develooper.com [207.171.7.70]) by diesel.bestpractical.com (Postfix) with SMTP id BB55C4D8165 for <bug-AnyEvent-HTTPD [...] rt.cpan.org>; Tue, 30 Jun 2009 07:59:03 -0400 (EDT)
Received: (qmail 16760 invoked by uid 103); 30 Jun 2009 11:59:02 -0000
Received: from x16.dev (10.0.100.26) by x1.dev with QMQP; 30 Jun 2009 11:59:02 -0000
Received: from mail.nethype.de (HELO mail.nethype.de) (78.47.73.129) by 16.mx.develooper.com (qpsmtpd/0.80) with ESMTP; Tue, 30 Jun 2009 04:58:57 -0700
Received: from [10.0.0.17] (helo=ruth.laendle) by mail.nethype.de with esmtp (Exim 4.69) (envelope-from <elmex [...] ta-sa.org>) id 1MLbzB-0001Hq-0Z for bug-AnyEvent-HTTPD [...] rt.cpan.org; Tue, 30 Jun 2009 11:58:53 +0000
Received: from elmex.laendle ([10.0.0.28] helo=elmex2 ident=Debian-exim) by (none) with esmtp (Exim 4.69) (envelope-from <elmex [...] ta-sa.org>) id 1MLbzA-0008Ds-TH for bug-AnyEvent-HTTPD [...] rt.cpan.org; Tue, 30 Jun 2009 13:58:52 +0200
Received: from root by elmex2 with local (Exim 4.69) (envelope-from <elmex [...] ta-sa.org>) id 1MLbzA-0002I9-Kv for bug-AnyEvent-HTTPD [...] rt.cpan.org; Tue, 30 Jun 2009 13:58:52 +0200
Delivered-To: cpan-bug+AnyEvent-HTTPD [...] diesel.bestpractical.com
Subject: Re: [rt.cpan.org #46400] keep-alive support
User-Agent: Mutt/1.5.18 (2008-05-17)
Return-Path: <elmex [...] ta-sa.org>
X-Spam-Check-BY: 16.mx.develooper.com
X-Original-To: bug-AnyEvent-HTTPD [...] rt.cpan.org
Date: Tue, 30 Jun 2009 13:58:52 +0200
X-Spam-Level: *
To: "Andrey M. Smirnov via RT" <bug-AnyEvent-HTTPD [...] rt.cpan.org>
From: Robin Redeker <elmex [...] ta-sa.org>
RT-Message-ID: <rt-3.6.HEAD-25318-1246363155-790.46400-0-0 [...] rt.cpan.org>
Content-Length: 1046
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/ |
MIME-Version: 1.0
X-Spam-Status: No, hits=0.0 required=8.0 tests=DK_SIGNED,HTML_MESSAGE,SPF_PASS
In-Reply-To: <rt-3.6.HEAD-25318-1246363155-790.46400-6-0 [...] rt.cpan.org>
References: <RT-Ticket-46400 [...] rt.cpan.org> <rt-3.6.HEAD-19052-1243406737-172.46400-4-0 [...] rt.cpan.org> <20090630115852.GA8806 [...] elmex2> <rt-3.6.HEAD-25318-1246363155-790.46400-6-0 [...] rt.cpan.org>
X-Virus-Checked: Checked by ClamAV on 16.mx.develooper.com
Message-ID: <cdea6cd10907011347if94575dp836b3490f442033b [...] mail.gmail.com>
Content-Type: multipart/alternative; boundary=00504502d30c895307046dab06e2
Received: from la.mx.develooper.com (x1.develooper.com [207.171.7.70]) by diesel.bestpractical.com (Postfix) with SMTP id 6B36A19B8255 for <bug-AnyEvent-HTTPD [...] rt.cpan.org>; Wed, 1 Jul 2009 16:47:13 -0400 (EDT)
Received: (qmail 32155 invoked by uid 103); 1 Jul 2009 20:47:12 -0000
Received: from x16.dev (10.0.100.26) by x1.dev with QMQP; 1 Jul 2009 20:47:12 -0000
Received: from mail-ew0-f218.google.com (HELO mail-ew0-f218.google.com) (209.85.219.218) by 16.mx.develooper.com (qpsmtpd/0.80) with ESMTP; Wed, 01 Jul 2009 13:47:07 -0700
Received: by ewy18 with SMTP id 18so1396850ewy.45 for <bug-AnyEvent-HTTPD [...] rt.cpan.org>; Wed, 01 Jul 2009 13:47:03 -0700 (PDT)
Received: by 10.216.71.205 with SMTP id r55mr2981137wed.56.1246481223330; Wed, 01 Jul 2009 13:47:03 -0700 (PDT)
Delivered-To: cpan-bug+AnyEvent-HTTPD [...] diesel.bestpractical.com
Subject: Re: [rt.cpan.org #46400] keep-alive support
Domainkey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :content-type; b=myld7tgzPEc5xSGHjgiLfiwqZRJqNbutBksdbb18KGQNKZP7t6h0YTuFg6n3y2NGB8 M62m5qF2O+lmiKTo7yyJ4+gnuAUsxUuzatFNE0RFszIUB/FlXoryIvI7eyYc7yXp6zo2 1E9lvLRC5gKsxz1FNO0ryOU2Xz4KBHeiH7kVU=
Return-Path: <allter [...] gmail.com>
Dkim-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:mime-version:received:in-reply-to:references :date:message-id:subject:from:to:content-type; bh=92n4Nx5pqhKRuxT+WBrmAvNjY0hSHoknB1+Io7xpF50=; b=eky48lsgCfkDc6f49MmCx5jlhpeqcgGx2COt5qmDdq0bTCNYLGwHhjFNRK5q2f7O1O xEU9splI1xhkEy9ZBxnySxG823WmR+zNUPwcLZQXLteuAG6tO1teMb+eT/P+31SX0FH4 4Uf5HihK1sMVtTJ/aVjSeAaGb3j1tad6G5QRk=
X-Spam-Check-BY: 16.mx.develooper.com
X-Original-To: bug-AnyEvent-HTTPD [...] rt.cpan.org
Date: Thu, 2 Jul 2009 00:47:03 +0400
X-Spam-Level: *
To: bug-AnyEvent-HTTPD [...] rt.cpan.org
From: Andrey Smirnov <allter [...] gmail.com>
RT-Message-ID: <rt-3.6.HEAD-25318-1246481244-436.46400-0-0 [...] rt.cpan.org>
Content-Length: 0
Content-Type: text/plain; charset="utf-8"
Content-Transfer-Encoding: 7bit
X-RT-Original-Encoding: utf-8
Content-Length: 934
Download (untitled) / with headers
text/plain 934b
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.
Content-Type: text/html; charset="utf-8"
Content-Transfer-Encoding: quoted-printable
X-RT-Original-Encoding: utf-8
Content-Length: 1354
MIME-Version: 1.0
X-Mailer: MIME-tools 5.427 (Entity 5.427)
Content-Disposition: inline
Charset: utf8
Content-Type: text/plain
Message-ID: <rt-3.6.HEAD-25318-1246525469-1908.46400-0-0 [...] rt.cpan.org>
Content-Transfer-Encoding: binary
X-RT-Original-Encoding: utf-8
Content-Length: 226
Download (untitled) / with headers
text/plain 226b
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


This service is sponsored and maintained by Best Practical Solutions and runs on Perl.org infrastructure.

Please report any issues with rt.cpan.org to rt-cpan-admin@bestpractical.com.