in reply to Re: Correcting/changing a CPAN module interface
in thread Correcting/changing a CPAN module interface

Yes I agree it's a bug fix - I'm probably being anal.

The thing is that HTTP::Daemon::SSL is supposed to be a drop-in replacement for HTTP::Daemon, which has a very established api, so I think I do need to change the default behaviour.

I actually wasn't aware that CPAN didn't install modules with a _xx development version number, so I'll go that route first and solicit feedback that way.

  • Comment on Re^2: Correcting/changing a CPAN module interface

Replies are listed 'Best First'.
Re^3: Correcting/changing a CPAN module interface
by Anno (Deacon) on Jul 23, 2007 at 13:29 UTC
    You can also turn it around and give HTTP::Daemon::SSL a new parameter to enforce bug compatibility. That could happen at load time, as in
    use HTTP::Daemon::SSL qw( compat);
    but it could be individual with accept( ..., compat => 1. In the (unlikely) case that something relies on accept not to time out, there'd be a way to fix it.

    Anno

      I like it - great thought.