1. Jan 26, 2013
    • Trevor Norris's avatar
      buffer: slow buffer copy compatibility fix · 65249ccd
      Trevor Norris authored
      Fix issue where SlowBuffers couldn't be passed as target to Buffer
      copy().
      
      Also included checks to see if Argument parameters are defined before
      assigning their values. This offered ~3x's performance gain.
      
      Backport of 16bbeccd from master branch. Closes #4633.
      65249ccd
  2. Jan 25, 2013
  3. Jan 22, 2013
    • Ben Noordhuis's avatar
      doc: document PYTHON env var in README · 13d86a86
      Ben Noordhuis authored
      13d86a86
    • Ben Noordhuis's avatar
      zlib: don't assert on malformed dictionary · d7bf7ed9
      Ben Noordhuis authored
      Handle Z_DATA_ERROR errors from inflateSetDictionary() gracefully.
      Fixes the following assertion:
      
        node: ../src/node_zlib.cc:167: static void node::ZCtx::Process
        (uv_work_t*): Assertion `ctx->err_ == 0 && "Failed to set
        dictionary"' failed.
        Aborted (core dumped)
      
      Fixes #4632.
      d7bf7ed9
    • Ben Noordhuis's avatar
      zlib: don't assert on missing dictionary · 1c32eb4a
      Ben Noordhuis authored
      Handle Z_NEED_DICT errors graciously. Fixes the following assertion:
      
        node: ../src/node_zlib.cc:161: static void node::ZCtx::Process
        (uv_work_t*): Assertion`ctx->dictionary_ != __null && "Stream
        has no dictionary"' failed.
        Aborted (core dumped)
      
      Fixes #4632.
      1c32eb4a
  4. Jan 19, 2013
  5. Jan 18, 2013
  6. Jan 17, 2013
    • Ben Noordhuis's avatar
      Revert "tls: allow wildcards in common name" · 30e23704
      Ben Noordhuis authored
      This reverts commit 45024e7b.
      
      It's making test/simple/test-tls-check-server-identity.js fail:
      
        AssertionError: Test#4 failed: { host: 'b.a.com',
          cert: { subject: { CN: '*.a.com' } },
          result: false }
            at <omitted>/test/simple/test-tls-check-server-identity.js:201:10
      30e23704
    • Ben Noordhuis's avatar
      test: add cluster 'bind twice' test · 08ac9fe0
      Ben Noordhuis authored
      This test starts two clustered HTTP servers on the same port.
      It expects the first cluster to succeed and the second cluster
      to fail with EADDRINUSE.
      
      Reapplies commit cacd3ae0, accidentally reverted in a2851b62.
      08ac9fe0
    • Ben Noordhuis's avatar
      buffer: reject negative SlowBuffer offsets · 498200b8
      Ben Noordhuis authored
      Reject negative offsets in SlowBuffer::MakeFastBuffer(), it allows
      the creation of buffers that point to arbitrary addresses.
      
      Reported by Trevor Norris.
      498200b8
  7. Jan 15, 2013
  8. Jan 12, 2013
  9. Jan 11, 2013
    • Nathan Rajlich's avatar
      make binary: allow custom config flags · 4fa3fd1c
      Nathan Rajlich authored
      For example, to cross-compile from my OS X laptop for Raspberry Pi, you would
      do something like:
      
        $ make binary BINARYNAME=node-v`python tools/getnodeversion.py`-linux-arm-pi \
            DESTCPU=arm CONFIG_FLAGS="--dest-os=linux"
      4fa3fd1c
  10. Jan 10, 2013
  11. Jan 09, 2013
  12. Jan 08, 2013
    • Ben Noordhuis's avatar
      dgram: don't assert on send('string') · ad6769fc
      Ben Noordhuis authored
      Raise a TypeError when the argument to send() or sendto() is anything
      but a Buffer.
      
      Fixes the following assertion:
      
        $ node -e 'require("dgram").createSocket("udp4").send("BAM")'
        node: ../../src/udp_wrap.cc:220: static v8::Handle<v8::Value>
        node::UDPWrap::DoSend(const v8::Arguments&, int): Assertion
        `Buffer::HasInstance(args[0])' failed.
        Aborted (core dumped)
      
      Fixes #4496.
      ad6769fc
  13. Jan 05, 2013
  14. Jan 01, 2013
  15. Dec 31, 2012
  16. Dec 30, 2012