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

Commits on Aug 21, 2013

  1. tls: fix assertion when ssl is destroyed at read

    `maybeInitFinished()` can emit the 'secure' event which
    in turn destroys the connection in case of authentication
    failure and sets `this.pair.ssl` to `null`.
    
    If such condition appeared after non-empty read - loop will continue
    and `clearOut` will be called on `null` object instead of
    `crypto::Connection` instance. Resulting in the following assertion:
    
        ERROR: Error: Hostname/IP doesn't match certificate's altnames
        Assertion failed: handle->InternalFieldCount() > 0
    
    fix #5756
    indutny committed Aug 21, 2013
    Copy the full SHA
    af6a233 View commit details
    Browse the repository at this point in the history