Permalink
Commits on Sep 16, 2009
  1. Use the IO::Handle and FileHandle modules, so that blocking() is

    rcaputo committed Sep 16, 2009
    available at the time the signal pipe is enabled.
Commits on Sep 12, 2009
  1. Clarify POE::Kernel->run() semantics when called from within some

    rcaputo committed Sep 12, 2009
    other event loop, thanks to criticism from "remlin" on a blog comment.
Commits on Sep 8, 2009
  1. Unit test for r2687

    Philip Gwyn
    Philip Gwyn committed Sep 8, 2009
  2. Reset the idle queue size in Kernel->stop()

    Philip Gwyn
    Philip Gwyn committed Sep 8, 2009
  3. Prevent the signal pipe from being used during signal finalization

    Philip Gwyn
    Philip Gwyn committed Sep 8, 2009
    Added a note about EIO in POE::Wheel::Run
  4. This patch sucks less. _warn not defined at that point. Teach me to c…

    Philip Gwyn
    Philip Gwyn committed Sep 8, 2009
    …ommit
    
    before make test.
  5. Document the fact that the signal pipe isn't used on Windows.

    Philip Gwyn
    Philip Gwyn committed Sep 8, 2009
    Warn if we are ignoring the signal pipe on Windows.
  6. POE::Wheel::Run : Mask signals before fork(). Unmask when safe again.

    Philip Gwyn
    Philip Gwyn committed Sep 8, 2009
    POE::Kernel Tweak doco.
Commits on Sep 7, 2009
  1. POE::Kernel->stop(), when called from a child process, must imply

    rcaputo committed Sep 7, 2009
    POE::Kernel->has_forked().  POE::Wheel::Run recommends calling stop()
    to clear out the parent process' sessions before starting new ones in
    the child process.  Users should not also need to call has_forked() in
    this case.  Fixes a bug found by Marius Kjeldahl in irc.perl.org #poe.
Commits on Sep 6, 2009
  1. [rt 36648] Give POE::Component::Server::TCP a ClientPreConnect

    rcaputo committed Sep 6, 2009
    callback.  Give POE::Component::Client::TCP a PreConnect callback.
    These callbacks are invoked just before POE::Wheel::ReadWrite is
    created in their respective components, allowing component users to
    reject connections or enable SSL on the sockets before beginning
    application I/O.
Commits on Sep 5, 2009
Commits on Sep 4, 2009
  1. Defer resetting $SIG{CHLD} and $SIG{CLD} until AFTER the waitpid()

    rcaputo committed Sep 4, 2009
    loop reaps all outstanding children.  Resolves a deep recursion issue
    in the CLD/CHLD signal handlers on HP-UX and probably every other SysV
    based OS.  Resolves rt.cpan.org 45109 reported by, and graciously
    assisted by, Olivier 'dolmen' Mengué.
  2. Skip the signals pipe when RUNNING_IN_HELL. Child "processes" in

    rcaputo committed Sep 4, 2009
    Windows take out the parent's sockets when they close, causing
    hilarity in the signal pipe code.  Probably in a lot of real
    applications, too.  Surely there's a better way?
Commits on Sep 3, 2009
  1. Fix POE::Wheel::Run stalling on MSWin32 when the Program is not valid.

    rcaputo committed Sep 3, 2009
    Resolves rt.cpan.org 49373, reported by Andrew Feren.
Commits on Aug 29, 2009
  1. Changing the version to 1.266 to eliminate indexer and packager issue…

    rcaputo committed Aug 29, 2009
    …s. Thanks to Patterner on IRC for the reminder.
Commits on Aug 28, 2009
Commits on Aug 27, 2009
  1. Fixes to POE::Filter::HTTPD:

    Philip Gwyn
    Philip Gwyn committed Aug 27, 2009
        - RFC2616 says a body is implied if we have Content-Encoding or
          Content-Length;
        - C-E w/o C-L is an error for HTTP 1.1;
        - Added copious comments to justify the above;
        - Created ->_reset();
        - If possible, include the request in an error response object;
        - Set ->message on an error response object;
        - Updated documentation.
    Unit tests for above.
Commits on Aug 26, 2009
  1. Comment on the likely cause of the deep recursion noted in rt.cpan.org

    rcaputo committed Aug 26, 2009
    ticket 45109.  Waiting for confirmation that Philip Gwyn's
    USE_SIGNAL_PIPE changes haven't fixed this particular problem.
  2. Explain why wheels can't be altered outside their creator sessions.

    rcaputo committed Aug 26, 2009
    Potentially explains an oblique side effect reported by Sean Pieper in
    rt.cpan.org ticket 45408.
Commits on Aug 25, 2009
  1. Create new project directories for POE::Loop::{Event,Tk,Gtk}. Moved

    rcaputo committed Aug 25, 2009
    the loops to their new project directories.  Configured the new
    projects for CPAN distribution.  Removed the event loops from POE's
    distro configuration.
  2. Document POE::Wheel::Run coderef execution side effects. Disable

    rcaputo committed Aug 25, 2009
    the POE::Kernel->run() not-called warning if POE::Kernel->stop() is
    called.
Commits on Aug 22, 2009
  1. Mainly rewrite POE::Filter::HTTPD's parser. May support get_one()

    rcaputo committed Aug 22, 2009
    now, so some tests also had to change.  I hope this will resolve
    rt.cpan.org ticket 48802, reported by a very patient zerhash.
Commits on Aug 15, 2009
  1. Remove $Id$ and $Revision$ tags. No significant code changed despite

    rcaputo committed Aug 15, 2009
    most of the distribution being touched.
Commits on Aug 13, 2009
  1. Added experimental code to allow postbacks and callbacks to be

    rcaputo committed Aug 13, 2009
    weakened, explicitly reducing their reference counts.  Untested.
    Resolves rt.cpan.org #48670, submitted by Adam Kennedy.
Commits on Aug 10, 2009
  1. Hiding Event's exceptions is no longer necessary

    Philip Gwyn
    Philip Gwyn committed Aug 10, 2009
Commits on Aug 9, 2009
  1. Defer rethrowing exceptions until after run() cleans up. Previously

    rcaputo committed Aug 9, 2009
    exceptions would be thrown farther inside POE's dispatcher, preventing
    some important cleanup.  This only affects a few people who re-run()
    POE::Kernel after an exception or using $kernel->stop().
Commits on Aug 8, 2009
  1. Quiet Event's exception handler.

    rcaputo committed Aug 8, 2009
    I'm not entirely sure this is a good idea, but it's worth a shot.
  2. Increase filehandle trace verbosity. Add more diagnostic information

    rcaputo committed Aug 8, 2009
    to Event watchers, in case they fail.  Slightly optimize
    POE::Wheel::Run destruction.  There's no need to unselect file handles
    in modes that were never watched.