Permalink
Commits on Jun 2, 2012
  1. Fix usage of Socket::GetAddrInfo for new version 0.22.

    rcaputo committed Jun 2, 2012
    avenj on irc.perl.org #poe pointed out that Socket::GetAddrInfo 0.22
    changed public behavior and began throwing the following error.  This
    change compensates for that and requires version 0.22 or later.
    
    :newapi tag is no longer supported by Socket::GetAddrInfo; just 'use'
    it directly
Commits on May 15, 2012
  1. Fix address untainting error.

    rcaputo committed May 15, 2012
    Reported by Alberto Simões on irc.perl.org and diagnosted with copious
    help from Chris Williams.  Thanks, guys!
Commits on May 13, 2012
  1. [rt.cpan.org 76987] Add a cancel() method to stop pending requests.

    rcaputo committed May 13, 2012
    Modified resolve() to return a request ID.
    Added cancel(), which accepts a request ID and cancels it.
    POE::Component::Client::Keepalive requires it.
Commits on May 5, 2012
  1. [rt.cpan.org 76550] Avoid hang when no requests made.

    rcaputo committed May 5, 2012
    Fixed thanks to Sergei Kozunov's bug report and test case.  A sidecar
    process was created at startup, but no idle timeout was set.  These
    timeouts are only set when requests happen, and in an application
    where all addresses are already resolved, no timeout is set.  So the
    component lingers forever.
Commits on Apr 29, 2012
  1. [rt.cpan.org 76549] Fix a little typo in sidecar cleanup.

    rcaputo committed Apr 29, 2012
    _poe_sidecar_closed() was destroying the wrong sidecar process.  Thank
    you, Kozunov, for the code review and bug report.  Two little octets
    can make a huge difference.
  2. [rt.cpan.org 76314] Untaint addresses before Socket::GetAddrInfo.

    rcaputo committed Apr 29, 2012
    Dylan Doxey pointed out that Socket::GetAddrInfo rejects tainted
    addresses.  Untaint them first, per his recommendation and test case.
Commits on Mar 5, 2012
Commits on Mar 4, 2012
  1. [rt.cpan.org 67601] Test IPv6 availability against non-localhost.

    rcaputo committed Mar 4, 2012
    Larwan Burke pointed out that localhost is a bad name to resolve when
    testing for IPv6 availability.  It tends to be in /etc/hosts, which
    resolves whether or not the named can.
  2. [rt.cpan.org 74486] Fix a typo in a hash key.

    rcaputo committed Mar 4, 2012
    I hate hash-based data structures for just this reason: typos are
    silently ignored.  Many thanks to Jon Portnoy for reporting this one.
  3. Add an environment variable to override the default IP version prefer…

    rcaputo committed Mar 4, 2012
    …ence.
    
    As IPv6 is adopted, more and more places will behave differently than
    expected.  The POCO_RESOLVER_IPV environment variable gives users a
    way to override the legacy behavior during this potentially painful
    transition.
Commits on Sep 15, 2011
  1. Resolve a runaway fork when running in EmbedPerl.

    rcaputo committed Sep 15, 2011
    Sjors Gielen reported a runaway fork in irc.perl.org #poe.  $^X is not
    always a path to the perl binary.  Resolved by using Configure's
    notion of perlpath and _exe, per Sjors' recommendation and discussion
    of $^X in perlvar.
Commits on Jul 30, 2011
  1. Bump the release version.

    rcaputo committed Jul 30, 2011
  2. Allow developers to use sidecar-based modules with PAR and other pack…

    rcaputo committed Jul 30, 2011
    …agers.
    
    Applied a modified versin of a patch from Markus Jansen at Ericsson.
    It adds a parameter to POE::Component::Resolver so the developer can
    point to a custom sidecar program.  That program can be bundld in PAR
    using special techniques. Thanks also go to Steffen Mueller and
    Roderich Schupp, who helped design the patch.
Commits on Jul 29, 2011
  1. Use port 80 rather than string "http" on Solaris.

    rcaputo committed Jul 29, 2011
    Chris Williams discovered tests would fail on Solaris with "service
    name not available for the specified socket type".  It turns out they
    don't list "http" in /etc/services.
  2. Load the POE::Component::Resolver::Sidecar class.

    rcaputo committed Jul 29, 2011
    The presence of this module is requested on MSWin32.  Resolves
    rt.cpan.org ticket 69172, reported by Gabor Szabo.
Commits on May 4, 2011
  1. Prepare for next release.

    rcaputo committed May 4, 2011
Commits on Apr 24, 2011
  1. Add sidecar processes to reduce this component's memory footprint. Pr…

    rcaputo committed Apr 24, 2011
    …ompted by Karen_m's memory issues, and recommended by gcola, Hinrik, and Apocalypse on irc.perl.org #poe. You people rock! :)
  2. Keep sidecar processes around longer, and provide an idle_timeout con…

    rcaputo committed Apr 24, 2011
    …structor parameter to override just how long that is. This is a partial response to Karen_m's report of PID and memory churn introduced by lots of forking.
Commits on Feb 21, 2011
Commits on Feb 3, 2011
  1. Bump revision for release.

    rcaputo committed Feb 3, 2011
Commits on Jan 29, 2011
  1. Bump the version for release.

    rcaputo committed Jan 29, 2011
Commits on Jan 27, 2011
  1. Skip IPv6 tests if they're run on a machine that can't resolve IPv6 a…

    apocalypse committed with rcaputo Jan 27, 2011
    …ddresses. We assume localhost can resolve.
  2. Apparently IPv6 isn't always installed on Windows. Document this, and…

    rcaputo committed Jan 27, 2011
    … one way to install it.
Commits on Jan 26, 2011
  1. Reinitialize data rather than delete it, so subsequent calls fail nic…

    rcaputo committed Jan 26, 2011
    …ely rather than crash.
  2. Fix some ASSERT_DEFAULT errors.

    rcaputo committed Jan 26, 2011