Changeset 593

Show
Ignore:
Timestamp:
12/01/07 08:49:12 (1 year ago)
Author:
blackhedd
Message:

Left the child side of the socketpair in a PipeDescriptor? blocking,
per suggestion by Duane Johnson.

Files:

Legend:

Unmodified
Added
Removed
Modified
Copied
Moved
  • version_0/ChangeLog

    r592 r593  
    959526Nov07: Supported a hack for EventMachine#popen so it can return an exit 
    9696        status from subprocesses. Requested by Michael S. Fischer. 
     9730Nov07: Changed Pipe descriptors so that the child-side of the socketpair is 
     98        NOT set nonblocking. Suggested by Duane Johnson. 
  • version_0/ext/em.cpp

    r580 r593  
    14101410        // from here, all early returns must close the pair of sockets. 
    14111411 
    1412         // Set the socketpair nonblocking. Obviously DON'T set CLOEXEC. 
    1413         if (!SetSocketNonblocking (sv[0]) || !SetSocketNonblocking (sv[1])) { 
     1412        // Set the parent side of the socketpair nonblocking. 
     1413        // Obviously DON'T set CLOEXEC. 
     1414        if (!SetSocketNonblocking (sv[0])) { 
    14141415                close (sv[0]); 
    14151416                close (sv[1]);