Skip to content
This repository has been archived by the owner on Apr 22, 2023. It is now read-only.
Permalink

Comparing changes

Choose two branches to see what’s changed or to start a new pull request. If you need to, you can also or learn more about diff comparisons.

Open a pull request

Create a new pull request by comparing changes across two branches. If you need to, you can also . Learn more about diff comparisons here.
base repository: nodejs/node-v0.x-archive
base: 2704c6293303
Choose a base ref
...
head repository: nodejs/node-v0.x-archive
compare: d6484f3f7b1b
Choose a head ref
  • 1 commit
  • 2 files changed
  • 1 contributor

Commits on Mar 28, 2015

  1. http: fix assert on data/end after socket error

    This change is a backport of 1a3ca82
    from io.js.
    
    Original commit message:
    
      Read all pending data out of the socket on `error` event and ensure that
      no `data`/`end` handlers will be invoked on `socket.destroy()`.
      Otherwise following assertion happens:
    
          AssertionError: null == true
              at TLSSocket.socketOnData (_http_client.js:308:3)
              at TLSSocket.emit (events.js:107:17)
              at TLSSocket.Readable.read (_stream_readable.js:373:10)
              at TLSSocket.socketCloseListener (_http_client.js:229:10)
              at TLSSocket.emit (events.js:129:20)
              at TCP.close (net.js:476:12)
    
      Fix: #9348
      PR-URL: nodejs/node#1103
      Reviewed-By: Rod Vagg <rod@vagg.org>
      Reviewed-By: Nicu Micleușanu <micnic90@gmail.com>
    
    Fixes #9348.
    
    Reviewed-By: Julien Gilli <julien.gilli@joyent.com>
    PR-URL: #14087
    indutny authored and Julien Gilli committed Mar 28, 2015
    Copy the full SHA
    d6484f3 View commit details
    Browse the repository at this point in the history