Permalink
Switch branches/tags
Commits on Jun 13, 2013
  1. 2013.06.13, Version 0.10.11 (Stable)

    * uv: upgrade to 0.10.11
    
    * npm: Upgrade to 1.2.30
    
    * openssl: add missing configuration pieces for MIPS (Andrei Sedoi)
    
    * Revert "http: remove bodyHead from 'upgrade' events" (isaacs)
    
    * v8: fix pointer arithmetic undefined behavior (Trevor Norris)
    
    * crypto: fix utf8/utf-8 encoding check (Ben Noordhuis)
    
    * net: Fix busy loop on POLLERR|POLLHUP on older linux kernels (Ben Noordhuis, isaacs)
    isaacs committed Jun 13, 2013
  2. test: minor typo fixes

    vlajos committed with bnoordhuis Jun 12, 2013
  3. Revert "http: remove bodyHead from 'upgrade' events"

    This reverts commit a40133d.
    
    Unfortunately, this breaks socket.io.  Even though it's not strictly an
    API change, it is too subtle and in too brittle an area of node, to be
    done in a stable branch.
    
    Conflicts:
    	doc/api/http.markdown
    isaacs committed Jun 13, 2013
Commits on Jun 12, 2013
  1. uv: upgrade to 0.10.11

    bnoordhuis committed Jun 12, 2013
  2. npm: Upgrade to 1.2.30

    isaacs committed Jun 12, 2013
Commits on Jun 11, 2013
  1. v8: fix pointer arithmetic undefined behavior

    Clang branch release_33 would optimize out a != NULL check because of
    some undefined behavior. This is a floating patch as a backport of that
    fix.
    
    Committed: http://code.google.com/p/v8/source/detail?r=13570
    trevnorris committed Jun 11, 2013
  2. crypto: fix utf8/utf-8 encoding check

    Normalize the encoding in getEncoding() before using it. Fixes a
    "AssertionError: Cannot change encoding" exception when the caller
    mixes "utf8" and "utf-8".
    
    Fixes #5655.
    bnoordhuis committed Jun 10, 2013
Commits on Jun 6, 2013
  1. build: add pkgsrc rule

    tjfontaine committed Jun 4, 2013
  2. npm: Upgrade to 1.2.27

    isaacs committed Jun 6, 2013
Commits on Jun 5, 2013
  1. net: Destroy when not readable and not writable

    This is only relevant for CentOS 6.3 using kernel version 2.6.32.
    
    On other linuxes and darwin, the `read` call gets an ECONNRESET in that
    case.  On sunos, the `write` call fails with EPIPE.
    
    However, old CentOS will occasionally send an EOF instead of a
    ECONNRESET or EPIPE when the client has been destroyed abruptly.
    
    Make sure we don't keep trying to write or read more in that case.
    
    Fixes #5504
    
    However, there is still the question of what libuv should do when it
    gets an EOF.  Apparently in this case, it will continue trying to read,
    which is almost certainly the wrong thing to do.
    
    That should be fixed in libuv, even though this works around the issue.
    isaacs committed Jun 5, 2013
Commits on Jun 4, 2013
  1. Now working on v0.10.11

    isaacs committed Jun 4, 2013
  2. blog: Release v0.10.10

    isaacs committed Jun 4, 2013
  3. 2013.06.04, Version 0.10.10 (Stable)

    * uv: Upgrade to 0.10.10
    
    * npm: Upgrade to 1.2.25
    
    * url: Properly parse certain oddly formed urls (isaacs)
    
    * stream: unshift('') is a noop (isaacs)
    isaacs committed Jun 4, 2013
  4. uv: Upgrade to 0.10.10

    isaacs committed Jun 4, 2013
  5. npm: Upgrade to 1.2.25

    isaacs committed Jun 4, 2013
  6. blog: Release v0.8.24

    isaacs committed Jun 4, 2013
  7. blog: Release v0.10.9

    isaacs committed Jun 4, 2013
Commits on Jun 3, 2013
  1. url: Properly parse certain oddly formed urls

    In cases where there are multiple @-chars in a url, Node currently
    parses the hostname and auth sections differently than web browsers.
    
    This part of the bug is serious, and should be landed in v0.10, and
    also ported to v0.8, and releases made as soon as possible.
    
    The less serious issue is that there are many other sorts of malformed
    urls which Node either accepts when it should reject, or interprets
    differently than web browsers.  For example, `http://a.com*foo` is
    interpreted by Node like `http://a.com/*foo` when web browsers treat
    this as `http://a.com%3Bfoo/`.
    
    In general, *only* the `hostEndingChars` should be the characters that
    delimit the host portion of the URL.  Most of the current `nonHostChars`
    that appear in the hostname should be escaped, but some of them (such as
    `;` and `%` when it does not introduce a hex pair) should raise an
    error.
    
    We need to have a broader discussion about whether it's best to throw in
    these cases, and potentially break extant programs, or return an object
    that has every field set to `null` so that any attempt to read the
    hostname/auth/etc. will appear to be empty.
    isaacs committed Jun 3, 2013
  2. stream: unshift('') is a noop

    In some cases, the http CONNECT/Upgrade API is unshifting an empty
    bodyHead buffer onto the socket.
    
    Normally, stream.unshift(chunk) does not set state.reading=false.
    However, this check was not being done for the case when the chunk was
    empty (either `''` or `Buffer(0)`), and as a result, it was causing the
    socket to think that a read had completed, and to stop providing data.
    
    This bug is not limited to http or web sockets, but rather would affect
    any parser that unshifts data back onto the source stream without being
    very careful to never unshift an empty chunk.  Since the intent of
    unshift is to *not* change the state.reading property, this is a bug.
    
    Fixes #5557
    Fixes socketio/socket.io#1242
    isaacs committed Jun 3, 2013
Commits on May 30, 2013
  1. Now working on v0.10.10

    isaacs committed May 30, 2013
  2. 2013.05.30, Version 0.10.9 (Stable)

    * npm: Upgrade to 1.2.24
    
    * uv: Upgrade to v0.10.9
    
    * repl: fix JSON.parse error check (Brian White)
    
    * tls: proper .destroySoon (Fedor Indutny)
    
    * tls: invoke write cb only after opposite read end (Fedor Indutny)
    
    * tls: ignore .shutdown() syscall error (Fedor Indutny)
    isaacs committed May 30, 2013
  3. npm: Upgrade to 1.2.24

    isaacs committed May 30, 2013
  4. doc: remove `bufferSize` option

    `bufferSize` option has been removed in b0f6789.
    kysnm committed with bnoordhuis May 22, 2013
  5. repl: fix JSON.parse error check

    Before this, entering something like:
    
    > JSON.parse('066');
    
    resulted in the "..." prompt instead of displaying the expected
    "SyntaxError: Unexpected number"
    mscdex committed with bnoordhuis May 26, 2013
  6. tls: proper .destroySoon

    1. Emit `sslOutEnd` only when `_internallyPendingBytes() === 0`.
    2. Read before checking `._halfRead`, otherwise we'll see only previous
       value, and will invoke `._write` callback improperly.
    3. Wait for both `end` and `finish` events in `.destroySoon`.
    4. Unpipe encrypted stream from socket to prevent write after destroy.
    indutny committed May 30, 2013
Commits on May 29, 2013
Commits on May 28, 2013
  1. https: Add `secureProtocol` docs

    Add `secureProtocol` parameter docs to the https.request method.
    danielgtaylor committed with bnoordhuis May 15, 2013
  2. tls: Add `secureProtocol` docs

    Add `secureProtocol` parameter docs to the tls.connect method.
    danielgtaylor committed with bnoordhuis May 15, 2013