Skip Menu |

This queue is for tickets about the POE-Component-Client-HTTP CPAN distribution.

Report information
The Basics
Id: 70313
Status: rejected
Priority: 0/
Queue: POE-Component-Client-HTTP

People
Owner: Nobody in particular
Requestors: RJH [...] cpan.org
Cc:
AdminCc:

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



Subject: Disabling keepalive?
As POE::Component::Client::HTTP has a 'ConnectionManager', we should be able to pass an arbitrary connection manager - not just a Client::Keepalive object. Is there a suitable object I could pass that would disable keepalive entirely? For now, I'm doing: ConnectionManager => POE::Component::Client::Keepalive->new( keep_alive => 0.001, ), which seems to work (as keep_alive must be non-zero). Is there a less hacky way to do this?
There's currently no less hacky way to do it. I'm leaving the ticket open for now because there ought to be one. It just needs to be thought of and written. :)
Someone who needs the functionality should publish a null connection manager. All it needs to do is follow POE::Component::Client::KeepAlive's interface and open completely new sockets upon request. The work-around to neuter POE::Component::Client::KeepAlive through parameters seems to be good enough for everyone so far, so I'm rejecting this as YDNI.