Skip Menu |

This queue is for tickets about the HTTP-Server-Simple CPAN distribution.

Report information
The Basics
Id: 15505
Status: resolved
Priority: 0/
Queue: HTTP-Server-Simple

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

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



Subject: Suggestion for HTTP-Server-Simple-0.15
I am using Net::Server::PreForkSimple() to handle the requests. My suggestion is to pass through @_ inside run() of HTTP::Server::Simple.pm ie. instead of: $pkg->run( port => $self->port ); Use $pkg->run( port => $self->port, @_ ); Then we can pass the needed configuration parameters directly in the run() method. $server = HTTP::Server::Simple->new(); $server->run(@PreForkSimpleArgs); What do you think? Works for me. Thanks, Craig
Date: Thu, 3 Nov 2005 16:25:33 -0500
From: jesse <jesse [...] fsck.com>
To: Guest via RT <bug-HTTP-Server-Simple [...] rt.cpan.org>
CC: undisclosed-recipients: ;
Subject: Re: [cpan #15505] Suggestion for HTTP-Server-Simple-0.15
RT-Send-Cc:
That sounds reasonable. want to write a patch with tests and docs? On Thu, Nov 03, 2005 at 01:01:58PM -0500, Guest via RT wrote: Show quoted text
> > This message about HTTP-Server-Simple was sent to you by guest <> via rt.cpan.org > > Full context and any attached attachments can be found at: > <URL: https://rt.cpan.org/Ticket/Display.html?id=15505 > > > I am using Net::Server::PreForkSimple() to handle the requests. > > My suggestion is to pass through @_ inside run() of HTTP::Server::Simple.pm > > ie. instead of: > $pkg->run( port => $self->port ); > > Use > $pkg->run( port => $self->port, @_ ); > > Then we can pass the needed configuration parameters directly in the run() method. > > $server = HTTP::Server::Simple->new(); > $server->run(@PreForkSimpleArgs); > > What do you think? Works for me. > > Thanks, > Craig >
--