- Jan 25, 2013
-
-
isaacs authored
-
isaacs authored
-
isaacs authored
-
Fedor Indutny authored
see #4636
-
- Jan 24, 2013
-
-
isaacs authored
-
isaacs authored
-
Raynos authored
We detect for non-string and non-buffer values in onread and turn the stream into an "objectMode" stream. If we are in "objectMode" mode then howMuchToRead will always return 1, state.length will always have 1 appended to it when there is a new item and fromList always takes the first value from the list. This means that for object streams, the n in read(n) is ignored and read() will always return a single value Fixed a bug with unpipe where the pipe would break because the flowing state was not reset to false. Fixed a bug with sync cb(null, null) in _read which would forget to end the readable stream
-
Ben Noordhuis authored
-
Ben Noordhuis authored
This is similar to commit 2cbf4586 but this time for 204 No Content instead of 304 Not Modified responses. When the user sends a 204 response with a Transfer-Encoding: chunked header, suppress sending the zero chunk and force the connection to close.
-
Scott Blomquist authored
-
- Jan 23, 2013
-
-
Trevor Norris authored
Removed range checks when writing float values, and removed a few includes and defines. Also updated api docs to reflect that invalid 32 bit float is an unspecified behavior.
-
Ben Noordhuis authored
Force the connection to close when the response is a 304 Not Modified and the user has set a "Transfer-Encoding: chunked" header. RFC 2616 mandates that 304 responses MUST NOT have a body but node.js used to send out a zero chunk anyway to accommodate clients that don't have special handling for 304 responses. It was pointed out that this might confuse reverse proxies to the point of creating security liabilities, so suppress the zero chunk and force the connection to close.
-
Bert Belder authored
-
- Jan 22, 2013
-
-
Ben Noordhuis authored
-
Tim authored
-
- Jan 21, 2013
-
-
Fedor Indutny authored
Fix undefined reference to `gelf_getsym`... and other undefined symbols from libelf, by adding `-lelf` to linker options on FreeBSD.
-
Fedor Indutny authored
Every constant is certainly 4 bytes now, but freebsd's objdump utility prints out odd byte sequences (5-bytes, 6-bytes and even 9-bytes long) for v8's data section. We can safely ignore all upper bytes, because all constants that we're using are just `int`s. Since on all supported platforms `int` is 32bit long (and anyway v8's constants are 32bit too), we ignore all higher bits if they were read.
-
- Jan 20, 2013
-
-
Ben Noordhuis authored
Fix an off-by-one error introduced in 9fe3734f that caused a regression in the default endianness used for writes in DataView::setGeneric(). Fixes #4626.
-
Fedor Indutny authored
Since net.Server's `connection` property is deprecated now, we don't need API to track socket's state to keep `connection`s value up-to-date.
-
- Jan 19, 2013
-
-
isaacs authored
Fix #4589
-
Dave Olszewski authored
Due to the nature of asyncronous programming, it's impossible to know what will run on the next tick. Because of this, it's not correct to maintain domain stack state between ticks Since the _fatalException handler is only invoked after the stack is unwound, once it exits the tick will end. The only reasonable thing to do in that case is to exit *all* domains.
-
Yi EungJun authored
The first example in cluster.markdown requires NODE_DEBUG env to show debug message. And also fix the message because it was a little bit different with the actual message.
-
isaacs authored
Conflicts: AUTHORS ChangeLog src/node_version.h test/simple/test-buffer.js
-
isaacs authored
-
isaacs authored
-
isaacs authored
-
isaacs authored
* npm: Upgrade to v1.2.2 * dns: make error message match errno (Dan Milon) * tls: follow RFC6125 more stricly (Fedor Indutny) * buffer: reject negative SlowBuffer offsets (Ben Noordhuis) * install: add simplejson fallback (Chris Dent) * http: fix "Cannot call method 'emit' of null" (Ben Noordhuis)
-
isaacs authored
-
isaacs authored
-
isaacs authored
-
isaacs authored
-
isaacs authored
* V8: Upgrade to 3.15.11.7 * npm: Upgrade to 1.2.2 * punycode: Upgrade to 1.2.0 (Mathias Bynens) * repl: make built-in modules available by default (Felix Böhm) * windows: add support for '_Total' perf counters (Scott Blomquist) * cluster: make --prof work for workers (Ben Noordhuis) * child_process: do not keep list of sent sockets (Fedor Indutny) * tls: Follow RFC6125 more strictly (Fedor Indutny) * buffer: floating point read/write improvements (Trevor Norris) * TypedArrays: Improve dataview perf without endian param (Dean McNamee) * module: assert require() called with a non-empty string (Felix Böhm, James Campos) * stdio: Set readable/writable flags properly (isaacs) * stream: Properly handle large reads from push-streams (isaacs)
-
isaacs authored
Will be removed very soon. No point making it public.
-
isaacs authored
-
isaacs authored
-
- Jan 18, 2013
-
-
Ben Noordhuis authored
Profiling in clustered environments doesn't work out of the box. By default, V8 writes the profile data of all processes to a single v8.log. Running that log file through a tick processor produces bogus numbers because many events won't match up with the recorded memory mappings and you end up with graphs where 80+% of ticks is unaccounted for. Fixing the tick processor to deal with multi-process output is not very useful because the processes may be running wildly disparate workloads. That's why we fix up the command line arguments to include a "--logfile=v8-%p.log" argument (where %p is expanded to the PID) unless it already contains a --logfile argument. Fixes #4617.
-
Dan Milon authored
-
Ben Noordhuis authored
Useful when you are profiling multiple instances of V8 concurrently. Submitted upstream: http://code.google.com/p/v8/issues/detail?id=2503 Refs #4617.
-
Fedor Indutny authored
* Allow wildcards only in left-most part of hostname identifier. * Do not match CN if altnames are present
-
Fedor Indutny authored
This reverts commit 30e23704. Works properly with b4b750b6
-