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: 440dcae98744
Choose a base ref
...
head repository: nodejs/node-v0.x-archive
compare: 164d5b346557
Choose a head ref
  • 1 commit
  • 1 file changed
  • 1 contributor

Commits on Apr 1, 2013

  1. tls: Destroy socket when encrypted side closes

    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
    isaacs committed Apr 1, 2013
    Copy the full SHA
    164d5b3 View commit details
    Browse the repository at this point in the history