- May 16, 2012
-
-
Ben Noordhuis authored
request.end() would sometimes try to write a zero-length buffer to the socket. Don't do that, it triggers an unnecessary EPIPE when the other end has closed the connection. Fixes #3257.
-
Ben Noordhuis authored
Before this commit, process._getActiveHandles() returned a list of internal handles. Now, it returns the user objects that handles are attached to. For example, a tcp_wrap handle will now return its parent net.Socket object. It works for all handle types except timers because timer handles are shared across multiple user objects.
-
Ben Noordhuis authored
-
Ben Noordhuis authored
* process._getActiveHandles() returns a list containing all active handles (timers, sockets, etc.) that have not been unref'd. * process._getActiveRequests() returns a list of active requests (in-flight actions like connecting to a remote host, writing data to a socket, etc.).
-
Ben Noordhuis authored
Share persistent strings process_symbol and domain_symbol across compilation units. Avoids redefinition errors when src/node.cc includes src/req_wrap.h.
-
- May 15, 2012
-
-
Ben Noordhuis authored
-
Ben Noordhuis authored
Consistent with how other classes that are built around HandleWraps call it.
-
Ben Noordhuis authored
-
Ben Noordhuis authored
-
Ben Noordhuis authored
-
- May 14, 2012
-
-
Andreas Madsen authored
child_process.fork() support sending native hander object, this patch add support for sending net.Server and net.Socket object by converting the object to a native handle object and back to a useful object again. Note when sending a Socket there was emitted by a net Server object, the server.connections property becomes null, because it is no longer possible to known when it is destroyed.
-
Andreas Madsen authored
-
rsolomo authored
-
- May 12, 2012
-
-
Nathan Rajlich authored
This frees us from manually having to copy over functions to SlowBuffer's prototype (which has bitten us multiple times in the past). As an added bonus, the `inspect()` function is now shared between Buffer and SlowBuffer, removing some duplicate code. Closes #3228.
-
- May 11, 2012
-
-
isaacs authored
-
Ben Noordhuis authored
Idle UDP sockets (reading nor writing) should not keep the event loop alive. This will get fixed in v0.8 one way or the other.
-
- May 10, 2012
-
-
Ben Noordhuis authored
Make a copy of the options object that the user passes in, we modify it.
-
Ben Noordhuis authored
Add a better 'is object?' check, the old one let values like true slip through.
-
isaacs authored
-
- May 09, 2012
-
-
Alex Kocharin authored
-
Ben Noordhuis authored
-
Bert Belder authored
-
Bert Belder authored
-
Bert Belder authored
Earlier string write optimizations broke it.
-
Bert Belder authored
-
Bert Belder authored
-
Bert Belder authored
-
Bert Belder authored
-
Bert Belder authored
In case of an UNWRAP failure, the binding returns -1, which is truthy.
-
yangguo@chromium.org authored
BUG= TEST= Review URL: https://chromiumcodereview.appspot.com/10332054 git-svn-id: https://v8.googlecode.com/svn/branches/bleeding_edge@11527 ce2b1a6d-e550-0410-aec6-3dcde31c8c00
-
- May 08, 2012
-
-
Ben Noordhuis authored
_snprintf() doesn't zero-terminate the buffer on overflow. Use the hand-rolled version that lives in src/node_internals.h.
-
Kevin Gadd authored
Add a clear warning about known issues with the module and a pointer to the GitHub issues list for the module. Describe some of the biggest known issues with the module.
-
- May 07, 2012
-
-
James Koval authored
Closes #3201.
-
- May 06, 2012
-
-
isaacs authored
Somehow this got downgraded in the last v0.6 merge. Very strange.
-
isaacs authored
This is an incredibly useful thing to know about, and it will likely never change. I can't remember why we didn't ever document it, and people keep suggesting we do so.
-
isaacs authored
Regarding discussion in #3198. Passing the worker as an argument to an event emitted on the worker is redundant, and an unnecessary break in consistency vs the events on the ChildProcess objects. It was removed from 'exit', but 'listening' and others were overlooked. This corrects that oversight.
-
isaacs authored
It's too slow.
-
- May 05, 2012
-
-
Javier Hernández authored
Make the configure script warn the user about the lack of an acceptable C compiler on the system.
-
koichik authored
Fixes #3209.
-
koichik authored
Fixes #3223.
-