-
Notifications
You must be signed in to change notification settings - Fork 16
Open
Labels
enhancementNew feature or requestNew feature or requesthelp wantedExtra attention is neededExtra attention is needed
Description
Migrated from rt.cpan.org#7466 (status was 'new')
Requestors:
From tmetro@cpan.org on 2004-08-25 02:33:47
:
I guess this is best classified as a "Wishlist item."
HTTP::Daemon::ClientConn should be decoupled from HTTP::Daemon, which
would allow users to use HTTP::Daemon::ClientConn (which contains the
bulk of the code) with other daemon modules (such as Net::Daemon,
Net::Server, etc.).
As it is now, you can pull this off by subclassing HTTP::Daemon and
re-implementing a bunch of its methods, but that seems unnecessarily
messy. (I took this approach when using HTTP::Daemon to build a proxy
server along with Net::Server.)
It appears that HTTP::Daemon::ClientConn could be tweaked to reduce or
eliminate the coupling.
I'd be happy to donate the code to do this, if there is interest. (I
don't want to do this on speculation, as I don't think it is significant
enough to warrant forking the module, and in my experience, module
maintainers are usually reluctant to accept patches of this nature if
they don't fit their vision of how the module should be architected.)
-Tom
Metadata
Metadata
Assignees
Labels
enhancementNew feature or requestNew feature or requesthelp wantedExtra attention is neededExtra attention is needed