Skip Menu |

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

Report information
The Basics
Id: 50058
Status: resolved
Priority: 0/
Queue: BS-HTTPD

People
Owner: Nobody in particular
Requestors: michael [...] dynamine.net
Cc:
AdminCc:

Bug Information
Severity: (no value)
Broken in: (no value)
Fixed in: (no value)



Subject: Feature request: expose peer IP and port in AnyEvent::HTTPD::Request
Date: Sun, 27 Sep 2009 19:40:49 -0700
To: bug-bs-httpd [...] rt.cpan.org
From: "Michael S. Fischer" <michael [...] dynamine.net>
Could you please provide access methods for obtaining the peer (client) IP address and port in the AnyEvent::HTTPD::Request object? If it already exists, can you please add it to the documentation?
Hi Michael! On Sun Sep 27 22:41:24 2009, michael@dynamine.net wrote: Show quoted text
> Could you please provide access methods for obtaining the peer > (client) IP address and port in the AnyEvent::HTTPD::Request object? > If it already exists, can you please add it to the documentation?
Thanks for the feature request! I've just added client_host/port methods to the AE::HTTPD::Request object. You can find the change in my git repository: git-clone http://git.ta-sa.org/AnyEvent-HTTPD.git (Or browse it at: http://git.ta-sa.org/git/AnyEvent-HTTPD ) I'll release it soon. Thanks for the feedback! Robin
Just released the new version with the client host/port methods in the ::Request object's API. Thanks for the feedback! Robin