1. Mar 11, 2014
  2. Mar 04, 2014
  3. Mar 03, 2014
  4. Mar 02, 2014
  5. Feb 28, 2014
  6. Feb 27, 2014
    • Saúl Ibarra Corretgé's avatar
      src: spawn_sync should close handles upon exit · 269de79f
      Saúl Ibarra Corretgé authored
      When the exit callback is fired for the child process we should close
      the handle associated with it.
      269de79f
    • Timothy J Fontaine's avatar
      src: update to latest libuv api · afc29ed3
      Timothy J Fontaine authored
      libuv gyp builds now require you to define the library disposition
      (static or shared).
      
      Also, libuv now supports vectored IO for file system reads and writes,
      update to those function signatures
      afc29ed3
    • Timothy J Fontaine's avatar
      uv: Upgrade to v0.11.21 · cd08c8a0
      Timothy J Fontaine authored
      cd08c8a0
    • Nathan Rajlich's avatar
      http: remove the circular dependency · f3189ace
      Nathan Rajlich authored
      Between `ClientRequest` and `Agent`. The circular require was doing
      weird things at load time, like making the `globalAgent` property
      be `undefined` from within the context of the "_http_client"
      module.
      
      Removing the circular dependency completely fixes this.
      
      This commit effectively removes the undocumented `Agent#request()`
      and `Agent#get()` functions.
      f3189ace
    • Nathan Rajlich's avatar
      test: update "http-*" tests to only use public API · 0a5d8ca1
      Nathan Rajlich authored
      Don't invoke the `agent.requst()` or `agent.get()` functions
      directly. Instead, use the public API and pass the agent
      instance in as the `agent` option.
      0a5d8ca1
    • Nathan Rajlich's avatar
      http, https: don't depend on `globalAgent` · d6bbb19f
      Nathan Rajlich authored
      For the `request()` and `get()` functions. I could never
      really understand why these two functions go through agent
      first... Especially since the user could be passing `agent: false`
      or a different Agent instance completely, in which `globalAgent`
      will be completely bypassed.
      
      Moved the relevant logic from `Agent#request()` into the
      `ClientRequest` constructor.
      
      Incidentally, this commit fixes #7012 (which was the original
      intent of this commit).
      d6bbb19f
    • Nathan Rajlich's avatar
      test: add failing http `agent: null` test · d307bebe
      Nathan Rajlich authored
      See #7012.
      d307bebe
    • Nathan Rajlich's avatar
      test: add `agent: null` http client request test · 47abdd9c
      Nathan Rajlich authored
      This is just the test portion from #7012 / #7189,
      but targetted for the v0.10 branch.
      47abdd9c
    • Nathan Rajlich's avatar
      http: invoke createConnection when no agent · 0a01a42e
      Nathan Rajlich authored
      This makes it so that the user may pass in a
      `createConnection()` option, and they don't have
      to pass `agent: false` at the same time.
      
      Also adding a test for the `createConnection` option,
      since none was in place before.
      
      See #7014.
      0a01a42e
    • Trevor Norris's avatar
      test: fix async-listener-run-error-once · 846f304f
      Trevor Norris authored
      Rely on defined order of operations by closing the server and
      destorying the client socket, instead of when setImmediate fires
      846f304f
    • Alexis Campailla's avatar
      src: make stdout/sterr pipes blocking · 20176a98
      Alexis Campailla authored
      Expose `setBlocking` on Pipe's and if a pipe is being created for stdio
      on windows then make the pipes blocking.
      
      This fixes test-stream2-stderr-sync.js on Windows.
      
      Fixes #3584
      20176a98
    • Alexis Campailla's avatar
      test: remove invalid part of stream2-stderr-sync · c1bb8869
      Alexis Campailla authored
      One test case in test-stream2-stderr-sync.js was creating a TTY
      object using an undocumented constructor and passing in fd 2.
      However, this is running in a child process and fd 2 is actually
      a pipe, not a TTY.
      
      The constructor fails on Windows and causes the handle type to be
      left uninitialized, which later causes an assert to fail.
      
      On Unix, the constructor fails to retrieve the windows size but unlike
      on Windows, it just leaves the size fields undefined and continues
      with initializing the stream type, yielding a semi-usable object.
      
      I could make the Windows version match Unix behavior, but it
      seems to me that the test is relying on an implementation detail of
      an undocumented API, and the Unix behavior is not necessarily more
      correct than the Windows one. Thus it makes more sense to remove this
      test.
      c1bb8869
  7. Feb 26, 2014
  8. Feb 25, 2014