Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP

Comparing changes

Choose two branches to see what's changed or to start a new pull request. If you need to, you can also compare across forks.

Open a pull request

Create a new pull request by comparing changes across two branches. If you need to, you can also compare across forks.
base fork: koichik/node
...
head fork: koichik/node
Checking mergeability… Don't worry, you can still create the pull request.
Commits on Nov 26, 2012
@isaacs isaacs Now working on 0.8.16 e773be6
@isaacs isaacs blog: Post for v0.8.15 122ac4e
Commits on Nov 28, 2012
@tricknotes tricknotes doc: Fix missing link target to 'https.request()' 8316145
@snoj snoj net: More accurate IP address validation and IPv6 dotted notation.
* Added isIP method to make use of inet_pton to cares_wrap.cc
* Modified net.isIP() to make use of new C++ isIP method.
* Added new tests to test-net-isip.js.

This is a back-port of commit fb6377e from the master branch.
c9f2531
Commits on Nov 29, 2012
@shama shama website: typo fixes acad8d9
Commits on Dec 01, 2012
@trevnorris trevnorris buffer: Don't double-negate numeric buffer arg
Fix #4331

Using double negate forces values into 32bit space. Because of this
Math.ceil needs to be used. Since NaN comparisons are always false, use
that to our advantage to return 0 if it is.

Also added two tests to verify the changes.
6772308
Lewuathe Fix dropped html tag 4d0fcd5
Commits on Dec 02, 2012
@bnoordhuis bnoordhuis install: fix freebsd man page location
Man pages go into $PREFIX/man on FreeBSD, not $PREFIX/share/man.
22965da
@bnoordhuis bnoordhuis tools: fix platform detection on freebsd, sunos
This is a back-port of upstream gyp commit r1482.
e5649d4
Commits on Dec 03, 2012
@indutny indutny crypto: fix leak in GetPeerCertificate 276245d
Commits on Dec 06, 2012
@bnoordhuis bnoordhuis doc: remove broken require.extensions example
Fixes #4384.
c79fd0e
Commits on Dec 11, 2012
@isaacs isaacs doc: Add nodejstr to community page 92e92b0
Commits on Dec 12, 2012
@bnoordhuis bnoordhuis test: add common.mustCall function
Verifies that the callback gets invoked <n> times during the lifetime of the
test script.

This is a back-port of commit d0e6c3f from the master branch.
65d824b
@bnoordhuis bnoordhuis fs: fix ReadStream fd leak
Close the file descriptor when a read operation fails.

Fixes #4387.
6e97b2c
@bnoordhuis bnoordhuis fs: fix WriteStream fd leak
Close the file descriptor when a write operation fails.

Fixes #4387.
d65832c
@isaacs isaacs npm: Upgrade to v1.1.69 b09f970
Commits on Dec 13, 2012
@isaacs isaacs 2012.12.13, Version 0.8.16 (Stable)
* npm: Upgrade to 1.1.69

* fs: fix WriteStream/ReadStream fd leaks (Ben Noordhuis)

* crypto: fix leak in GetPeerCertificate (Fedor Indutny)

* buffer: Don't double-negate numeric buffer arg (Trevor Norris)

* net: More accurate IP address validation and IPv6 dotted notation. (Joshua Erickson)
1c9c627
@isaacs isaacs Merge commit 'v0.8.16' into v0.8 a18507c
@isaacs isaacs Now working on 0.8.17 9536734
@isaacs isaacs blog: Post for 0.8.16 45cdb0e
Commits on Dec 16, 2012
@mscdex mscdex http: bubble up parser errors to ClientRequest
Make parser errors bubble up to the ClientRequest instead of the underlying
net.Socket object.

This is a back-port of commit c78678b from the master branch.

Fixes #3776.
827b2a9
Commits on Dec 17, 2012
@bnoordhuis bnoordhuis install: fix openbsd man page location
Man pages go into $PREFIX/man on OpenBSD, not $PREFIX/share/man.
53b826e
@naholyr naholyr doc: add Google+ French community 496c0bd
Commits on Dec 18, 2012
@isaacs isaacs blog: post about streams2 feature 04adf0e
Commits on Dec 20, 2012
@bnoordhuis bnoordhuis bench: use res.end() for chunked encoding
Use res.end() for the final chunk so we can benchmark the 'hot path' shortcut
in lib/http.js that packs the headers and the body into a single packet.
ba407ce
@bnoordhuis bnoordhuis http: pack response body buffer in first tcp packet
Apply the same optimization to res.end(buf) that is applied to res.end(str).

Speeds up `node benchmark/http_simple_auto -k -c 1 -n 25000 buffer/1`
(non-chunked response body) by about 750x. That's not a typo.

Chunked responses:

  $ cat tmp/http-chunked-client.js
  // Run `node benchmark/http_simple` in another terminal.
  var http = require('http'), url = require('url');
  var options = url.parse('http://127.0.0.1:8000/buffer/1/1');
  options.agent = new http.Agent({ maxSockets: 1 });
  for (var i = 0; i < 25000; ++i) http.get(options);

Before:

  $ time out/Release/node tmp/http-chunked-client.js
  real    16m40.411s
  user    0m9.184s
  sys     0m0.604s

After:

  $ time out/Release/node tmp/http-chunked-client.js
  real    0m5.386s
  user    0m2.768s
  sys     0m0.728s

That's still a 185x speed-up.

Fixes #4415.
5a19c07
Commits on Dec 21, 2012
@isaacs isaacs blog: Update blog post re streams2 0c867ae
@isaacs isaacs blog: More streams2 wordsmithing 9d0103d
@isaacs isaacs npm: upgrade to 1.1.70 d30e76e
@isaacs isaacs blog: Post about v0.9.4 6738e68