Permalink
Commits on Aug 20, 2012
  1. windows: fix uninitialized memory access in uv_update_time()

    uv_update_time does not overwrite the high 32 bits of uv_loop_t.time.
    It merely increments it by one when the low 32 bits have wrapped. That
    means that `time` needs to be initialized to zero before
    uv_update_time() is called for the first time.
    piscisaureus committed Aug 20, 2012
Commits on Aug 18, 2012
  1. unix: fix integer overflow in uv_hrtime

    Conversion to nanoseconds was overflowing with 32-bit builds.
    piscisaureus committed Aug 18, 2012
Commits on Jul 31, 2012
  1. sunos: workaround OS bug to prevent fs.watch() from spinning

    This is a back-port of commit cfb06db from the master branch.
    
    Fixes nodejs/node-v0.x-archive#3768.
    bnoordhuis committed Jul 31, 2012
Commits on Jun 5, 2012
  1. 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.
    
    This is a back-port of commit 738b31e from the master branch.
    
    Conflicts:
    	src/unix/stream.c
    bnoordhuis committed Jun 5, 2012
Commits on Jun 2, 2012
Commits on May 24, 2012
Commits on May 10, 2012
  1. Windows: skip GetFileAttributes call when opening a file

    It wasn't working, and everything seemed to work fine nonetheless. Removing it just saves a syscall.
    piscisaureus committed May 4, 2012
Commits on May 5, 2012
  1. sunos: make fs.watch scale better

    Instead of using one port per watch, use one port for all the watches.
    Ira Cooper committed with bnoordhuis Apr 27, 2012
Commits on May 1, 2012
  1. unix: map `EROFS` to `UV_EROFS`

    Conflicts:
    
    	src/unix/error.c
    mmalecki committed with piscisaureus Apr 14, 2012
Commits on Apr 28, 2012
  1. test-spawn failed to build on linux

    - added missing header file
    - converted c++ style comment to c style comment
    erikdubbelboer committed with piscisaureus Apr 28, 2012
Commits on Apr 27, 2012
  1. Test for setuid/setgid

    piscisaureus committed Apr 27, 2012
Commits on Apr 24, 2012
  1. linux: add IN_MOVE_SELF to inotify event mask

    Partially fixes nodejs/node-v0.x-archive#3172, behavior is now consistent with inotifywait.
    bnoordhuis committed Apr 24, 2012
Commits on Apr 23, 2012
  1. remove left-over cast fixes #3160

    Igor Zinkovsky committed Apr 23, 2012
Commits on Apr 22, 2012
Commits on Apr 20, 2012
  1. Map ENOMEM to UV_ENOMEM

    isaacs committed Apr 20, 2012
Commits on Apr 5, 2012
  1. add 64bit offset fs functions

    Igor Zinkovsky committed Apr 5, 2012
  2. Windows: backport pipe-connect-to-file fixes from master

    Conflicts:
    
        src/win/pipe.c
    
    
    commit e53ab6675ba12d97ad6d93c9913a473ba5172617
    Author: Bert Belder <bertbelder@gmail.com>
    Date:   Fri Mar 9 17:04:03 2012 +0100
    
        Windows: report UV_ENOTSOCK when we opened a file instead of a pipe
    
        Makes the pipe_connect_to_file test pass on Windows.
    
    commit 8cbbfbe4c6489868470a7e410f80d4729f4091bf
    Author: Igor Zinkovsky <igorzi@microsoft.com>
    Date:   Thu Mar 1 14:32:59 2012 -0800
    
        test: make pipe_connect_to_file succeed with ECONNREFUSED
    
    commit 6bbccf1
    Author: Igor Zinkovsky <igorzi@microsoft.com>
    Date:   Thu Mar 1 12:11:12 2012 -0800
    
        windows: return UV_ENOTSOCK when doing uv_pipe_connect to a file
    piscisaureus committed Apr 5, 2012
Commits on Apr 2, 2012
  1. build: define _DARWIN_USE_64_BIT_INODE=1 on OS X

    Fixes a segmentation fault on some OS X systems due to sizeof(struct stat)
    mismatches.
    bnoordhuis committed Apr 2, 2012
Commits on Mar 27, 2012