- Apr 08, 2013
-
-
Rod Vagg authored
-
Fedor Indutny authored
-
Fedor Indutny authored
We should go to next buffer if *current* one is full, not the next one. Otherwise we may hop through buffers and written data will become interleaved, which will lead to failure.
-
Fedor Indutny authored
Stop changing arguments, use local variables for things that change.
-
Andreas Madsen authored
When using some stream method on a lazy crypto stream, the transform constructor wasn't called. This caused the internal state object to be undefined.
-
Fedor Indutny authored
-
Ben Noordhuis authored
On Linux, positional writes don't work when the file is opened in append mode. The kernel ignores the position argument and always appends the data to the end of the file. To quote the man page: POSIX requires that opening a file with the O_APPEND flag should have no affect on the location at which pwrite() writes data. However, on Linux, if a file is opened with O_APPEND, pwrite() appends data to the end of the file, regardless of the value of offset.
-
Fedor Indutny authored
-
Fedor Indutny authored
fix #5128
-
Tobias Müllerleile authored
RFC 6125 explicitly states that a client "MUST NOT seek a match for a reference identifier of CN-ID if the presented identifiers include a DNS-ID, SRV-ID, URI-ID, or any application-specific identifier types supported by the client", but it MAY do so if none of the mentioned identifier types (but others) are present.
-
- Apr 06, 2013
-
-
Rafael Garcia authored
-
Rafael Garcia authored
-
isaacs authored
-
- Apr 05, 2013
-
-
Fedor Indutny authored
-
- Apr 04, 2013
-
-
isaacs authored
-
isaacs authored
-
isaacs authored
-
Fedor Indutny authored
Quote from commit message: Create a new HandleScope for each JSON-parsed object to avoid excessive growth. -
isaacs authored
* npm: Upgrade to 1.2.17 * child_process: acknowledge sent handles (Fedor Indutny) * etw: update prototypes to match dtrace provider (Timothy J Fontaine) * dtrace: pass more arguments to probes (Dave Pacheco) * build: allow building with dtrace on osx (Dave Pacheco) * http: Remove legacy ECONNRESET workaround code (isaacs) * http: Ensure socket cleanup on client response end (isaacs) * tls: Destroy socket when encrypted side closes (isaacs) * repl: isSyntaxError() catches "strict mode" errors (Nathan Rajlich) * crypto: Pass options to ctor calls (isaacs) * src: tie process.versions.uv to uv_version_string() (Ben Noordhuis)
-
isaacs authored
Fix #5179
-
isaacs authored
-
isaacs authored
-
Fedor Indutny authored
Fix race-condition when multiple handles are sent and SCM_RIGHTS messages are gets merged by OS by avoiding sending multiple handles at once! fix #4885
-
isaacs authored
-
Timothy J Fontaine authored
The DTrace probes were updated to accomodate platforms that can't handle structs, update the prototypes for ETW but it's not necessary to do anything with the new arguments as it's redundant information.
-
Ben Noordhuis authored
Check that _handle is an object before trying to read its `fd` property, avoids bogus values.
-
Timothy J Fontaine authored
When using the DTrace/systemtap subsystems it would be helpful to actually have an fd associated with the requests and responses.
-
Dave Pacheco authored
OSX and other DTrace implementations don't support dereferencing structs in probes. To accomodate that pass members from the struct as arguments so that DTrace is useful on those systems.
-
Dave Pacheco authored
-
- Apr 03, 2013
-
-
Brian White authored
-
isaacs authored
If an http response has an 'end' handler that throws, then the socket will never be released back into the pool. Granted, we do NOT guarantee that throwing will never have adverse effects on Node internal state. Such a guarantee cannot be reasonably made in a shared-global mutable-state side-effecty language like JavaScript. However, in this case, it's a rather trivial patch to increase our resilience a little bit, so it seems like a win. There is no semantic change in this case, except that some event listeners are removed, and the `'free'` event is emitted on nextTick, so that you can schedule another request which will re-use the same socket. From the user's point of view, there should be no detectable difference. Closes #5107
-
- Apr 02, 2013
-
-
Andrew Hart authored
The tests did not agree with the test comments. Tests first and second were both testing the !state.reading case. Now second tests the state.reading && state.length case. Fixes joyent/node#5183
-
isaacs authored
The v0.8 Stream.pipe() method automatically destroyed the destination stream whenever the src stream closed. However, this caused a lot of problems, and was removed by popular demand. (Many userland modules still have a no-op destroy() method just because of this.) It was also very hazardous because this would be done even if { end: false } was passed in the pipe options. In v0.10, we decided that the 'close' event and destroy() method are application-specific, and pipe() doesn't automatically call destroy(). However, TLS actually depended (silently) on this behavior. So, in this case, we should just go ahead and destroy the thing when close happens. Closes #5145 -
Michael Hart authored
-
- Apr 01, 2013
-
-
Mitar authored
Binding of `http_parser` in querystring isn't used anywhere and should be removed.
-
- Mar 31, 2013
-
-
Nathan Rajlich authored
This is just a cosmetic change really, nothing major.
-
Nathan Rajlich authored
Closes #5178.
-
- Mar 30, 2013
-
-
isaacs authored
-
- Mar 29, 2013