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: 074e823a81f2
Choose a base ref
...
head repository: nodejs/node-v0.x-archive
compare: f7ff8b445451
Choose a head ref
  • 1 commit
  • 2 files changed
  • 1 contributor

Commits on May 24, 2013

  1. tls: retry writing after hello parse error

    When writing bad data to EncryptedStream it'll first get to the
    ClientHello parser, and, only after it will refuse it, to the OpenSSL.
    But ClientHello parser has limited buffer and therefore write could
    return `bytes_written` < `incoming_bytes`, which is not the case when
    working with OpenSSL.
    
    After such errors ClientHello parser disables itself and will
    pass-through all data to the OpenSSL. So just trying to write data one
    more time will throw the rest into OpenSSL and let it handle it.
    indutny authored and isaacs committed May 24, 2013
    Copy the full SHA
    f7ff8b4 View commit details
    Browse the repository at this point in the history