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: fa9408db5117
Choose a base ref
...
head repository: nodejs/node-v0.x-archive
compare: 9352c1988574
Choose a head ref
  • 5 commits
  • 11 files changed
  • 2 contributors

Commits on Mar 25, 2013

  1. Copy the full SHA
    05bd6b7 View commit details
    Browse the repository at this point in the history
  2. child_process: fix sending utf-8 to child process

    In process#send() and child_process.ChildProcess#send(), use 'utf8' as
    the encoding instead of 'ascii' because 'ascii' mutilates non-ASCII
    input. Correctly handle partial character sequences by introducing
    a StringDecoder.
    
    Sending over UTF-8 no longer works in v0.10 because the high bit of
    each byte is now cleared when converting a Buffer to ASCII. See
    commit 96a314b for details.
    
    Fixes #4999 and #5011.
    bnoordhuis committed Mar 25, 2013
    Copy the full SHA
    44843a6 View commit details
    Browse the repository at this point in the history
  3. Copy the full SHA
    488b74d View commit details
    Browse the repository at this point in the history
  4. crypto: make getCiphers() return non-SSL ciphers

    Commit f53441a added crypto.getCiphers() as a function that returns the
    names of SSL ciphers.
    
    Commit 14a6c4e then added crypto.getHashes(), which returns the names of
    digest algorithms, but that creates a subtle inconsistency: the return
    values of crypto.getHashes() are valid arguments to crypto.createHash()
    but that is not true for crypto.getCiphers() - the returned values are
    only valid for SSL/TLS functions.
    
    Rectify that by adding tls.getCiphers() and making crypto.getCiphers()
    return proper cipher names.
    bnoordhuis committed Mar 25, 2013
    Copy the full SHA
    cfd0dca View commit details
    Browse the repository at this point in the history
  5. child_process: don't emit same handle twice

    It's possible to read multiple messages off the parent/child channel.
    When that happens, make sure that recvHandle is cleared after emitting
    the first message so it doesn't get emitted twice.
    bnoordhuis committed Mar 25, 2013
    Copy the full SHA
    9352c19 View commit details
    Browse the repository at this point in the history