- Jan 25, 2013
-
-
Trevor Norris authored
Fix issue where SlowBuffers couldn't be passed as target to Buffer copy(). Also included checks to see if Argument parameters are defined before assigning their values. This offered ~3x's performance gain.
-
Sugendran Ganess authored
-
Andy Burke authored
This adds a proxy for bytesWritten to the tls.CryptoStream. This change makes the connection object more similar between HTTP and HTTPS requests in an effort to avoid confusion. See issue #4650 for more background information.
-
isaacs authored
-
isaacs authored
-
isaacs authored
-
isaacs authored
* npm: Upgrade to v1.2.3 * V8: Upgrade to 3.15.11.10 * streams: Support objects other than Buffers (Jake Verbaten) * buffer: remove float write range checks (Trevor Norris) * http: close connection on 304/204 responses with chunked encoding (Ben Noordhuis) * build: fix build with dtrace support on FreeBSD (Fedor Indutny) * console: Support formatting options in trace() (isaacs) * domain: empty stack on all exceptions (Dave Olszewski) * unix, windows: make uv_*_bind() error codes consistent (Andrius Bentkus) * linux: add futimes() fallback (Ben Noordhuis)
-
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.
-