Skip to content
This repository
branch: master

Apr 17, 2014

  1. Fedor Indutny

    src: lint after OCSP commits

    authored April 18, 2014
  2. Fedor Indutny

    tls: `getPeerCertificate(detailed)`

    Add `raw` property to certificate, add mode to output full certificate
    chain.
    authored April 17, 2014
  3. Fedor Indutny

    tls: support OCSP on client and server

    authored April 14, 2014
  4. Fedor Indutny

    tls: set _connecting before starting the flow

    When creating a TLSSocket instance based on the existing connecting
    socket, `_connecting` property is copied after the initialization of
    `net.Socket`. However, since `net.Socket` constructor will call
    `.read(0)` if the `readable` is true - error may happen at this code
    chunk in net.js:
    
        Socket.prototype._read = function(n) {
          debug('_read');
    
          if (this._connecting || !this._handle) {
            debug('_read wait for connection');
            this.once('connect', this._read.bind(this, n));
        ...
    
    Leading to a test failures on windows:
    
     - test/simple/test-tls-connect-given-socket.js
    
    Signed-off-by: Fedor Indutny <fedor@indutny.com>
    authored April 14, 2014

Apr 15, 2014

  1. Vladimir Kurchatkin

    events: check if _events is an own property

    Without this check it is possible to have the _events object shared
    amongst instances.
    
    Fixes #7157
    
    Signed-off-by: Trevor Norris <trev.norris@gmail.com>
    authored April 04, 2014 trevnorris committed April 15, 2014

Apr 14, 2014

  1. Trevor Norris

    fs: return blksize on stats object

    Oversight to not pass blksize to fs.Stats on initialization.
    
    Also added a test to make sure the object property has been set. Since
    now on Windows both blksize and blocks will simply be set to undefined.
    authored April 14, 2014
  2. Yazhong Liu

    net: deduplicate Socket.prototype.address

    Signed-off-by: Fedor Indutny <fedor@indutny.com>
    authored April 14, 2014 indutny committed April 14, 2014
  3. Fedor Indutny

    net: bind to `::` TCP address by default

    Try binding TCP socket to `::` first before falling back to
    `0.0.0.0`.
    authored April 13, 2014

Apr 12, 2014

  1. geirha

    main: Handle SIGINT properly.

    As explained by http://www.cons.org/cracauer/sigint.html
    
    Signed-off-by: Fedor Indutny <fedor@indutny.com>
    authored March 31, 2014 indutny committed April 12, 2014

Apr 10, 2014

  1. buffer: return uint if MSB is 1 in readUInt32

    Fix issue where a signed integer is returned.
    
    Example:
    
    var b = new Buffer(4);
    b.writeUInt32BE(0xffffffff);
    b.readUInt32BE(0) == -1
    
    Signed-off-by: Trevor Norris <trev.norris@gmail.com>
    authored April 09, 2014 trevnorris committed April 10, 2014
  2. Fedor Indutny

    buffer: truncate buffer after string decode

    When our estimates for a storage size are higher than the actual length
    of decoded data, the destination buffer should be truncated. Otherwise
    `Buffer::Length` will give misleading information to C++ layer.
    
    fix #7365
    
    Signed-off-by: Fedor Indutny <fedor@indutny.com>
    authored March 27, 2014 indutny committed April 11, 2014
  3. Fedor Indutny

    test: remove vm-infinite-recursion

    It doesn't work reliably on all platforms.
    
    see #7432
    
    Signed-off-by: Fedor Indutny <fedor@indutny.com>
    authored April 11, 2014
  4. Fedor Indutny

    test: add `reuseAddr` in dgram-multicast...

    Add `reuseAddr` option in `test-dgram-multicast-multi-process.js`
    authored April 10, 2014
  5. Fedor Indutny

    dgram: introduce `reuseAddr` option

    Introduce new signature for both `dgram.createSocket` method and
    `dgram.Socket` constructor:
    
        dgram.createSocket(options, [listener])
    
    Options should contain `type` property and may contain `reuseAddr`
    property. When `reuseAddr` is `true` - SO_REUSEADDR will be issued on
    socket on bind.
    
    fix #7415
    
    Signed-off-by: Fedor Indutny <fedor@indutny.com>
    authored April 09, 2014

Apr 08, 2014

  1. openssl: fix keypress requirement in apps on win32

    Re-applying commit 153784b, which
    was overwritten by the update to openssl 1.0.1f.
    
    Original source:
    
    http://openssl.6102.n7.nabble.com/PATCH-s-client-Fix-keypress-requirement-with-redirected-input-on-Windows-td46787.html
    authored February 03, 2014 indutny committed April 08, 2014
  2. Fedor Indutny

    test: fix test-crypto

    authored April 08, 2014
  3. Fedor Indutny

    Merge branch 'v0.10'

    Conflicts:
    	deps/openssl/asm/x64-elf-gas/aes/vpaes-x86_64.s
    	deps/openssl/asm/x64-macosx-gas/aes/vpaes-x86_64.s
    	deps/openssl/asm/x64-win32-masm/aes/vpaes-x86_64.asm
    	deps/openssl/openssl/CHANGES
    	deps/openssl/openssl/Makefile
    	deps/openssl/openssl/Makefile.org
    	deps/openssl/openssl/NEWS
    	deps/openssl/openssl/README
    	deps/openssl/openssl/crypto/opensslv.h
    	deps/openssl/openssl/openssl.spec
    	deps/openssl/openssl/ssl/s23_clnt.c
    	lib/http.js
    	test/simple/test-http-client-readable.js
    authored April 08, 2014

Apr 07, 2014

  1. Fedor Indutny

    deps: update openssl to 1.0.1g

    authored April 08, 2014
  2. Fedor Indutny

    http: do not emit EOF non-readable socket

    Socket may become not `readable`, but http should not rely on this
    property and should not think that it means that no data will ever
    arrive from it. In fact, it may arrive in a next tick and, since
    `this.push(null)` was already called, it will result in a error like
    this:
    
        Error: stream.push() after EOF
            at readableAddChunk (_stream_readable.js:143:15)
            at IncomingMessage.Readable.push (_stream_readable.js:123:10)
            at HTTPParser.parserOnBody (_http_common.js:132:22)
            at Socket.socketOnData (_http_client.js:277:20)
            at Socket.EventEmitter.emit (events.js:101:17)
            at Socket.Readable.read (_stream_readable.js:367:10)
            at Socket.socketCloseListener (_http_client.js:196:10)
            at Socket.EventEmitter.emit (events.js:123:20)
            at TCP.close (net.js:479:12)
    
    fix #6784
    authored January 24, 2014 indutny committed April 08, 2014
  3. Brian White

    doc: add missing space

    Signed-off-by: Fedor Indutny <fedor@indutny.com>
    authored April 06, 2014 indutny committed April 07, 2014
  4. Saúl Ibarra Corretgé

    src: fix use of uv_cwd, len includes the NULL byte

    authored March 13, 2014 indutny committed April 07, 2014
  5. Saúl Ibarra Corretgé

    src: update uv callbacks after API changes

    async, timer, prepare, idle and check handles no longer get a status
    parameter since they can never fail.
    authored March 13, 2014 indutny committed April 07, 2014
  6. Fedor Indutny

    deps: update libuv to v0.11.23

    authored April 07, 2014

Apr 03, 2014

  1. Evan Carroll

    util: made util.isArray a direct alias for Array.isArray

    authored April 01, 2014 indutny committed April 03, 2014

Apr 02, 2014

  1. Alex Kocharin

    domain: don't crash on "throw null"

    Signed-off-by: Trevor Norris <trev.norris@gmail.com>
    authored December 24, 2013 trevnorris committed April 02, 2014
  2. Dominic Tarr

    docs: correct tls docs. server -> client

    when a pfx file is passed to tls.connection,
    it is the client private key, not the server's private key.
    authored March 31, 2014 indutny committed April 02, 2014
  3. Yuki KAN

    lib: use triple equals

    Signed-off-by: Trevor Norris <trev.norris@gmail.com>
    authored March 01, 2014 trevnorris committed April 02, 2014
  4. C. Scott Ananian

    node: add signature to SET_PROTOTYPE_METHOD

    This prevents segfaults when a native method is reassigned to a
    different object (which corrupts args.This()).  When unwrapping,
    clients should use args.Holder() instead of args.This().
    
    Closes #6690.
    
    Signed-off-by: Trevor Norris <trev.norris@gmail.com>
    authored March 06, 2014 trevnorris committed April 02, 2014
  5. nick-apperson

    buffer: improve {read,write}{U}Int* methods

    Increase the performance and simplify the logic of Buffer#write{U}Int*
    and Buffer#read{U}Int* methods by placing the byte manipulation code
    directly inline.
    
    Also improve the speed of buffer-write benchmarks by creating a new
    call directly to each method by using Function() instead of calling by
    buff[fn].
    
    Signed-off-by: Trevor Norris <trev.norris@gmail.com>
    authored March 25, 2014 trevnorris committed April 01, 2014

Apr 01, 2014

  1. Ben Noordhuis

    src: fix up after v8 upgrade

    The two biggest changes are that v8::Script::New() has been removed and
    that a v8::Script object now has to be explicitly bound to a context if
    you want to run it from another context.
    
    We can accommodate both changes without breaking the vm module's public
    API or even the internal JS API.
    authored March 31, 2014 indutny committed April 02, 2014
  2. Ben Noordhuis

    deps: fix up v8 postmortem codegen

    Fix up overzealous parses, strip whitespace from class and field names.
    authored March 31, 2014 indutny committed April 02, 2014
  3. Ben Noordhuis

    deps: upgrade v8 to 3.25.30

    authored March 31, 2014 indutny committed April 02, 2014
  4. Andrew Low

    test: make test-smalloc endian aware

    The test/simple/test-smalloc.js has an implicit assumption
    of the byte order of the data stored for Double and Uint32
    values. On a big endian platform this test fails without
    these patches.
    
    Use os.endianness() to detect the endian of the platform
    and use it to gate the static value used for comparison.
    authored April 01, 2014 indutny committed April 01, 2014
  5. Trevor Norris

    v8: upgrade to 3.24.35.22

    authored April 01, 2014
  6. Ben Noordhuis

    configure: make --v8-options switch more robust

    Improve on commit b55c9d6 by not requiring that switches are comma
    separated.  This commit makes `./configure --v8-options="--foo --bar"`
    work and takes special care to properly escape quotes in the options
    string.
    authored March 31, 2014 indutny committed April 01, 2014
Something went wrong with that request. Please try again.