1. Dec 08, 2013
  2. Dec 07, 2013
  3. Dec 06, 2013
    • Fedor Indutny's avatar
      openssl: add assembly for aes and gcm · 1903240f
      Fedor Indutny authored
      1903240f
    • Fedor Indutny's avatar
      tls: fix handling of asterisk in SNI context · f572b91c
      Fedor Indutny authored
      Wildcard server names should not match subdomains.
      
      Quote from RFC2818:
      
         ...Names may contain the wildcard
         character * which is considered to match any single domain name
         component or component fragment. E.g., *.a.com matches foo.a.com but
         not bar.foo.a.com. f*.com matches foo.com but not bar.com.
      
      fix #6610
      f572b91c
    • Ben Noordhuis's avatar
      build: add libicu i18n support · 9e32a7da
      Ben Noordhuis authored
      Adds a --with-icu-path= switch to the configure script.  Requires that
      the user checks out the copy of libicu that's bundled with chromium to
      a fixed directory.  It's still a little rough around the edges but it
      works.
      
      Fixes #6371.
      9e32a7da
    • Alexis Campailla's avatar
      lib: child_process spawn handle ENOENT correctly · 9ba0d905
      Alexis Campailla authored
      child_process spawn wasn't handlig ENOENT correctly on Windows.
      This is half a fix for test-child-process-cwd.js.
      The other half is going into libuv.
      9ba0d905
  4. Dec 04, 2013
  5. Dec 03, 2013
    • Fedor Indutny's avatar
      tls: fix pool usage race · 60f777d3
      Fedor Indutny authored
      When calling `encOut` in loop, `maybeInitFinished()` may invoke
      `clearOut`'s loop, leading to the writing of interleaved data
      (encrypted and cleartext) into the one shared pool.
      
      Move `maybeInitFinished()` out of the loop and add assertion for
      future.
      60f777d3
    • Yazhong Liu's avatar
      bd7fa92d
    • Gabriel Falkenberg's avatar
      doc: change constant to consistent · 94c4ba9d
      Gabriel Falkenberg authored
      94c4ba9d
    • Sam Roberts's avatar
      process: document kill(0), disallow kill(O_RDWR) · 8aac118b
      Sam Roberts authored
      The null signal test existed, but only tested the case where the target
      process existed, not when it did not exist.
      
      Also clarified that SIGUSR1 is reserved by Node.js only for receiveing,
      its not at all reserved when sending a signal with kill().
      
      kill(pid, 'O_RDWR'), or any other node constant, "worked". I fixed this
      by also checking for 'SIG'. The same as done in the isSignal() function.
      Now the signal names supported by process.kill() are the same as those
      supported by process.on().
      8aac118b
  6. Dec 02, 2013
  7. Nov 30, 2013
  8. Nov 29, 2013
  9. Nov 28, 2013
    • Fedor Indutny's avatar
      http: fix parser double-free in _http_client.js · 5ce4eed5
      Fedor Indutny authored
      HTTP Parser instance was freed twice, leading to the reusal of it
      in several different requests simultaneously.
      
      The flow:
      
      `socketCloseListener` is firing, which calls `socket.read()` to flush
      any queued data, `socket.buffer` has data which emits and fires
      `socketOnData` in sync, this triggers a parser error which frees the
      parser, `socketCloseListener` resumes execution only to have the wrong
      parser associated with the socket.
      
      The fix is to only cache the parser after the flushing from the socket,
      and to assert in `socketOnData` that `socket === parser.socket`
      
      fix #6451
      5ce4eed5
    • Alexis Campailla's avatar
      test: use os.EOL when checking output · c749a841
      Alexis Campailla authored
      c749a841
    • Fedor Indutny's avatar
      openssl: more asm · 04b92632
      Fedor Indutny authored
      04b92632
  10. Nov 27, 2013
    • Ben Noordhuis's avatar
      stream_wrap: don't call Number::New() · 658aeb2c
      Ben Noordhuis authored
      Replace call to Number::New() with a call to Integer::NewFromUnsigned().
      
      Profiling a Real World(TM) application with perf(1) suggests that the
      conversion of its argument from integer to double is disproportionally
      costly: over 60% of CPU cycles accountable to WriteStringImpl() are
      attributable to the conversion.
      
      After changing it to Integer::NewFromUnsigned(), WriteStringImpl()
      has dropped from the 'most costly functions' top ten altogether.
      658aeb2c
    • Timothy J Fontaine's avatar
      85c19175
  11. Nov 26, 2013
    • isaacs's avatar
      blog: npm outage postmortem · 90655a99
      isaacs authored
      90655a99
    • Ben Noordhuis's avatar
      tls: add serialNumber to getPeerCertificate() · 84c03a98
      Ben Noordhuis authored
      Add a 'serialNumber' property to the object that is returned by
      tls.CryptoStream#getPeerCertificate().  Contains the certificate's
      serial number encoded as a hex string.  The format is identical to
      `openssl x509 -serial -in path/to/certificate`.
      
      Fixes #6583.
      84c03a98
    • David Chan's avatar
      util: Format negative zero as '-0' · b3e4fc6a
      David Chan authored
      Format negative zero as '-0' instead of as '0', as it does not behave
      identically to positive zero. ((-0).toString() still returns '0' as
      required by ES5 9.8.1.2).
      
      Fixes joyent/node#6548.
      Closes joyent/node#6550.
      b3e4fc6a
  12. Nov 24, 2013