Permalink
Commits on Jun 13, 2012
Commits on Jun 12, 2012
  1. windows: fix some comments

    piscisaureus committed Jun 12, 2012
Commits on Jun 11, 2012
  1. unix: reset error status in uv_dlopen()

    Fixes a bug where uv_dlopen() mistakenly reported failure because of previous
    errors.
    bnoordhuis committed Jun 11, 2012
  2. unix: implement async handles in libuv

    Replace libev backed async handles with a pure libuv implementation.
    bnoordhuis committed Jun 11, 2012
Commits on Jun 10, 2012
Commits on Jun 9, 2012
  1. test: fix test runner progress bar

    Make % completed indicator actually show % completed instead of 0 %.
    mmalecki committed with bnoordhuis Jun 9, 2012
Commits on Jun 8, 2012
  1. test: fix test-tcp-shutdown-after-write bug

    It was calling uv_read_start before the uv_connect call had completed.
    Although we want to allow this in the future, right now it's not
    supported.
    piscisaureus committed Jun 8, 2012
  2. unix: make uv_shutdown() return UV_ENOTCONN

    Return UV_ENOTCONN when the stream is not connected, not UV_EINVAL. Aligns
    with uv-win.
    bnoordhuis committed Jun 8, 2012
Commits on Jun 7, 2012
  1. unix: fix req cb / close cb invoke delay

    Finalization of closed handles and associated requests was sometimes delayed
    until an external event (network I/O, timeout, etc.) happened. This commit
    addresses that.
    bnoordhuis committed Jun 7, 2012
  2. sunos: uv_interface_addresses needlessly #ifdef'd out

    Mark Cavage committed with isaacs May 31, 2012
  3. unix, test: make NANOSEC a 64 bits unsigned int

    Avoids accidental overflow / truncation when it's used in 32 bits arithmetic.
    bnoordhuis committed Jun 7, 2012
Commits on Jun 6, 2012
  1. test: add tcp 'close on failed connect' test

    Demonstrates temporary event loop stall with uv-unix. The issue is that pending
    requests aren't processed until the next event (I/O, timeout, etc.) happens.
    
    See #446, #447 and #448.
    ibc committed with bnoordhuis Jun 6, 2012
  2. unix: fix event loop stall

    Undoes most of the changes made to libev in 7d2ea31 and c9396dd.
    bnoordhuis committed Jun 6, 2012
  3. unix, windows: add debug mode handle printer

    Debugging tool, prints a list of active/all handles. Not actively exported.
    bnoordhuis committed Jun 6, 2012
Commits on Jun 5, 2012
  1. windows: detect when GetCurrentDirectoryW returns more than MAX_PATH …

    …chars
    
    This should never happen. However the CRT has a code path to deal
    with this situation, so at least detect it when it happens and return
    an error, instead of potentially opening a security hole.
    piscisaureus committed Jun 5, 2012
  2. unix: fix loop starvation under high network load

    uv__read() and uv__udp_recvmsg() read incoming data in a loop. If data comes
    in at high speeds, the kernel receive buffer never drains and said functions
    never terminate, stalling the event loop indefinitely. Limit the number of
    consecutive reads to 32 to stop that from happening.
    
    The number 32 was chosen at random. Empirically, it seems to maintain a high
    throughput while still making the event loop move forward at a reasonable pace.
    bnoordhuis committed Jun 5, 2012
Commits on Jun 4, 2012
  1. unix: fix event loop stall

    Stop libev from entering the epoll_wait/kevent/port_getn/etc. syscall when
    there are no active handles left, that will block indefinitely.
    bnoordhuis committed Jun 4, 2012