1. 29 Jan, 2014 4 commits
  2. 22 Jan, 2014 12 commits
  3. 21 Jan, 2014 1 commit
  4. 20 Jan, 2014 1 commit
  5. 19 Jan, 2014 1 commit
    • Fedor Indutny's avatar
      tcp: uv_tcp_dualstack() · 8f15aae5
      Fedor Indutny authored
      Explicitly disable/enable dualstack depending on presence of flag set by
      uv_tcp_dualstack() function.
      8f15aae5
  6. 16 Jan, 2014 1 commit
    • Alexis Campailla's avatar
      tcp: reveal bind-time errors before listen · d1e6be14
      Alexis Campailla authored
      Changed uv_tcp_duplicate_socket to reveal any bind-time errors
      before calling listen().
      
      This fix is 100% windows specific.
      
      It helps fix Node.js unite test test-cluster-bind-twice on Windows.
      d1e6be14
  7. 13 Jan, 2014 1 commit
    • Nathan Sweet's avatar
      doc: adding ARCHS flag to OS X build command · acb9f895
      Nathan Sweet authored
      Adding further instructions about building for OS X, as recent versions
      of xcodebuild will automatically build for i386 (can someone say,
      "monoculture") even on x86_64 machines! Specifically including
      instructions about including the "ARCHS" flag to specify the right
      architecture.
      
      This is trivial, but will save people time.
      acb9f895
  8. 09 Jan, 2014 1 commit
    • Alexis Campailla's avatar
      windows: improved handling of invalid FDs · c0716b3d
      Alexis Campailla authored
      If passed and invalid FD, _get_osfhandle() sets an error code
      through errno, not _doserrno. Hence we need to use
      SET_REQ_WIN32_ERROR insted of SET_REQ_RESULT.
      
      In debug builds, _get_osfhandle() also raises a superfluous
      assert. I implemented a wrapper that disables all asserts
      around the call to _get_osfhandle().
      
      This fixes node.js unit tests test-fs-read-stream.js and
      test-listen-fd-ebadf.js.
      c0716b3d
  9. 07 Jan, 2014 2 commits
  10. 31 Dec, 2013 2 commits
    • Timothy J Fontaine's avatar
      Now working on v0.11.18 · 4ce9c39d
      Timothy J Fontaine authored
      4ce9c39d
    • Timothy J Fontaine's avatar
      2013.12.32, Version 0.11.17 (Unstable) · 589c224d
      Timothy J Fontaine authored
      Changes since version 0.11.16:
      
      * stream: allow multiple buffers for uv_try_write (Fedor Indutny)
      
      * unix: fix a possible memory leak in uv_fs_readdir (Alex Crichton)
      
      * unix, windows: add uv_loop_alive() function (Sam Roberts)
      
      * windows: avoid assertion failure when pipe server is closed (Bert
        Belder)
      
      * osx: Fix a possible segfault in uv__io_poll (Alex Crichton)
      
      * stream: fix uv__stream_osx_select (Fedor Indutny)
      589c224d
  11. 28 Dec, 2013 1 commit
    • River Tarnell's avatar
      unix: fix non-OSX builds · 17648be2
      River Tarnell authored
      uv__stream_osx_interrupt_select was only defined on OS X, but is used
      elsewhere on all platforms.  The intention was to implement it as a
      no-op on other platforms, but the entire definition was inside
      "#ifdef __APPLE__", so this didn't actually work.
      
      Fix: move it above the #ifdef.
      17648be2
  12. 27 Dec, 2013 2 commits
  13. 25 Dec, 2013 1 commit
  14. 23 Dec, 2013 2 commits
  15. 22 Dec, 2013 2 commits
    • Alex Crichton's avatar
      osx: Fix a possible segfault in uv__io_poll · f166d6d7
      Alex Crichton authored
      In our build infrastructure, I've seen a lot of segfaults recently that
      were all only happening on OSX. Upon inspecting the coredumps, it
      appearded that all segfaults happened at the same instruction, and upon
      translating the assembly back to the source, I found that an array could
      be indexed with a -1 index before the index was checked to be not -1.
      
      As concrete evidence, here is the situation that I found caused the
      segfault.  The instruction in question along with the relevant register
      values was:
      
          mov    (%r8,%r15,8),%r12
      
          r8  = 0x7fb0ba800000
          r15 = 0xffffffffffffffff
      
          r8 + r15 * 8 == 0x7fb0ba7ffff8
      
      It appears that the base of loop->watchers was page aligned, and by
      going back one word I guess that the page wasn't mapped, causing our
      segfaults.
      f166d6d7
    • Alex Crichton's avatar
      osx: Fix a possible segfault in uv__io_poll · f6422af8
      Alex Crichton authored
      In our build infrastructure, I've seen a lot of segfaults recently that
      were all only happening on OSX. Upon inspecting the coredumps, it
      appearded that all segfaults happened at the same instruction, and upon
      translating the assembly back to the source, I found that an array could
      be indexed with a -1 index before the index was checked to be not -1.
      
      As concrete evidence, here is the situation that I found caused the
      segfault.  The instruction in question along with the relevant register
      values was:
      
          mov    (%r8,%r15,8),%r12
      
          r8  = 0x7fb0ba800000
          r15 = 0xffffffffffffffff
      
          r8 + r15 * 8 == 0x7fb0ba7ffff8
      
      It appears that the base of loop->watchers was page aligned, and by
      going back one word I guess that the page wasn't mapped, causing our
      segfaults.
      f6422af8
  16. 21 Dec, 2013 6 commits