Skip Menu |

This queue is for tickets about the POE-Component-Server-SimpleHTTP CPAN distribution.

Report information
The Basics
Id: 43711
Status: open
Priority: 0/
Queue: POE-Component-Server-SimpleHTTP

People
Owner: Nobody in particular
Requestors: markus.jansen [...] ericsson.com
Cc:
AdminCc:

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



CC: "Markus Jansen" <markus.jansen [...] ericsson.com>
Subject: First handler in HANDLERS list is ignored in 1.54
Date: Fri, 27 Feb 2009 18:13:12 +0100
To: <bug-POE-Component-Server-SimpleHTTP [...] rt.cpan.org>
From: "Markus Jansen" <markus.jansen [...] ericsson.com>
In version 1.54, the first handler in the HANDLERS list is obviously ignored (e.g. the documentation example does not work with /bar/xyz). Just doubling the first handler leads to the expected behaviour. Best regards, -- Markus Jansen Master Methods & Tools Engineer, PM & IT Ericsson GmbH Eurolab R&D Ericsson Allee 1 52134 Herzogenrath, Germany www.ericsson.com Office: +49 2407 575 5157 Fax: +49 2407 575 98452 Mobile: +49 172 274 2003 Email: Markus.Jansen@ericsson.com Ericsson GmbH. Sitz: Düsseldorf. Registergericht: Amtsgericht Düsseldorf, HRB 33012. Geschäftsführer: Carsten Ahrens. Aufsichtsratsvorsitzender: Anders Olin This communication is confidential and intended solely for the addressee(s). Any unauthorized review, use, disclosure or distribution is prohibited. If you believe this message has been sent to you in error, please notify the sender by replying to this transmission and delete the message without disclosing it. Thank you. E-mail including attachments is susceptible to data corruption, interception, unauthorized amendment, tampering and viruses, and we only send and receive emails on the basis that we are not liable for any such corruption, interception, amendment, tampering or viruses or any consequences thereof.
Hello, Thanks for reporting this! I investigated this and found out that it's actually working fine - just that the SYNOPSIS had extra code that screwed up the HANDLERS list. If you look at the "_start" state, you will see that it requests a GETHANDLERS API call from SimpleHTTP. In the event that handles that ( GOT_HANDLERS ) I made a demonstration of what you can do by shifting off the top entry in HANDLERS, ha! The module certainly works as advertised if you comment out the GETHANDLERS logic in the SYNOPSIS, argh! We'll fix this "bug" in the example script in the next version or so. Thanks again for letting us know and I hope you will enjoy using this module! On Fri Feb 27 12:56:17 2009, markus.jansen@ericsson.com wrote: Show quoted text
> In version 1.54, the first handler in the HANDLERS list is obviously > ignored > (e.g. the documentation example does not work with /bar/xyz). > Just doubling the first handler leads to the expected behaviour. > > Best regards, > -- > > Markus Jansen > Master Methods & Tools Engineer, PM & IT > > Ericsson GmbH > Eurolab R&D > Ericsson Allee 1 > 52134 Herzogenrath, Germany > www.ericsson.com Office: +49 2407 575 5157 > Fax: +49 2407 575 98452 > Mobile: +49 172 274 2003 > Email: Markus.Jansen@ericsson.com > > Ericsson GmbH. Sitz: Düsseldorf. Registergericht: Amtsgericht > Düsseldorf, HRB 33012. Geschäftsführer: Carsten Ahrens. > Aufsichtsratsvorsitzender: Anders Olin > > This communication is confidential and intended solely for the > addressee(s). Any unauthorized review, use, disclosure or > distribution is prohibited. If you believe this message has been > sent to you in error, please notify the sender by replying to this > transmission and delete the message without disclosing it. Thank > you. > > E-mail including attachments is susceptible to data corruption, > interception, unauthorized amendment, tampering and viruses, and we > only send and receive emails on the basis that we are not liable > for any such corruption, interception, amendment, tampering or > viruses or any consequences thereof. > >
-- ~Apocalypse