!!! This change breaks backward compatibility on a relatively unused
authorRocco Caputo <rcaputo@cpan.org>
Wed, 29 Jul 2009 07:53:01 +0000 (03:53 -0400)
committerRocco Caputo <rcaputo@cpan.org>
Wed, 29 Jul 2009 07:53:01 +0000 (03:53 -0400)
commita5d37656384b80116af22045ebca09aa9a62ce56
tree1caf20e40d93e2eecf3a986d9e71b7dccace3bbc
parent3be6db4534a4db25758685357b9dffb107113747
!!! This change breaks backward compatibility on a relatively unused
!!! feature.  You are affected if you use ARG0 or ARG1 in a
!!! POE::Component::Server::TCP ClientConnected callback.

ClientArgs promised more than it could deliver, and people finally
noticed.  This change backs off supplying the socket in $_[ARG0], and
it expands ClientArgs' arrayref into @_[ARG0..$#_].  Thanks to Michael
Fowler for rt.cpan.org #47855 (which this resolves), and POE's mailing
list for advice on which way this change should go.
poe/lib/POE/Component/Server/TCP.pm
poe/t/90_regression/somni-poco-server-tcp.t