Skip Menu |

This queue is for tickets about the POE CPAN distribution.

Report information
The Basics
Id: 19311
Status: resolved
Priority: 0/
Queue: POE

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

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



Subject: bug and potential fix regarding Filter::HTTPD
Date: Wed, 17 May 2006 13:45:33 -0400
To: bug-POE [...] rt.cpan.org
From: "Eben Rauhut" <erauhut [...] gmail.com>
RE: POE::Filter::HTTPD I experienced a specific problem when I was passing requests through Apache's mod_proxy. When a GET request was followed by a PUT request, two get()'s were required to fetch the PUT request as it appeared to split after the headers. In this case, the filter state wasn't being cleared upon receiving the second chunk of the PUT request, preventing buffer flushing and causing subsequent requests to fail. Adding a statement to delete the header object at line 133 seemed to do the trick. My lines 132 through 134 read as follows: $self->[BUFFER] =~ s/^\s+//; delete $self->[HEADER]; $self->[FINISH]++; It's a minor detail, but I hope this is helpful nonetheless. Cheers, Eben