- Dec 18, 2012
-
-
Ben Noordhuis authored
Replace dashes with underscores. When loading foo-bar.node, look for foo_bar_module, not foo-bar_module. The latter is not a legal symbol name.
-
Ben Noordhuis authored
-
Fedor Indutny authored
-
isaacs authored
This fixes the case where stderr doesn't flush before the process exits.
-
Dean McNamee authored
When Mikael Bourges-Sevenier added support for Uint8ClampedArray in 67fc1daf, the new type was not added to SizeOfArrayElementForType().
-
Dean McNamee authored
Although it is not used externally by node, it is needed by upstream and Plask. This effectively reverts: commit 14448013 Author: Aaron Jacobs <jacobsa@google.com> Date: Thu Mar 15 13:26:35 2012 +1100 typed arrays: unexport SizeOfArrayElementForType() It isn't used anywhere else, so made it an implementation detail in v8_typed_array.cc.
-
- Dec 17, 2012
-
-
Fedor Indutny authored
This reverts commit 02dffb06. DEAD_CODE_STRIPPING is stripping out CRYPTO_set_add_lock_callback symbol on which some addons are relying.
-
Ben Noordhuis authored
-
isaacs authored
Fix #4418
-
- Dec 16, 2012
-
-
Ben Noordhuis authored
Work around an issue with the glibc malloc() implementation where memory blocks are never returned to the operating system when they are allocated with brk() and have overlapping lifecycles. Fixes #4283.
-
isaacs authored
-
- Dec 15, 2012
-
-
isaacs authored
-
isaacs authored
Streams2 style streams might have already kicked off a read() or write() before emitting 'data' events. Make the test less dependent on ordering of when data events occur.
-
isaacs authored
-
isaacs authored
-
isaacs authored
-
isaacs authored
Because of some of the peculiarities of http, this has a bit of special magic to handle cases where the IncomingMessage would wait forever in a paused state. In the server, if you do not begin consuming the request body by the time the response emits 'finish', then it will be flushed out. In the client, if you do not add a 'response' handler onto the request, then the response stream will be flushed out.
-
isaacs authored
Unnecessary in streams2
-
isaacs authored
-
isaacs authored
-
isaacs authored
-
isaacs authored
This is a combination of 6 commits. * XXX net fixup lcase stream * net: Refactor to use streams2 Use 'socket.resume()' in many tests to trigger old-mode behavior. * net: Call destroy() if shutdown() is not provided This is important for TTY wrap streams * net: Call .end() in socket.destroySoon if necessary This makes the http 1.0 keepAlive test pass, also. * net wtf-ish stuff kinda busted * net fixup -
isaacs authored
-
isaacs authored
-
isaacs authored
-
isaacs authored
-
isaacs authored
Necessary for proper stdin functioning
-
isaacs authored
-
isaacs authored
Otherwise (especially with stdin) you sometimes end up in cases where the high water mark is zero, and the current buffer is at 0, and it doesn't need a readable event, so it never calls _read().
-
isaacs authored
-
isaacs authored
-
isaacs authored
Otherwise resume() will cause data to be emitted before it can be handled.
-
isaacs authored
-
isaacs authored
This fixes the CONNECT/Upgrade HTTP functionality, which was not getting sliced properly, because readable wasn't emitted on this tick. Conflicts: test/simple/test-http-connect.js
-
isaacs authored
-
isaacs authored
-
isaacs authored
-
isaacs authored
-
isaacs authored
-