Permalink
Commits on Feb 2, 2017
  1. Merge pull request #305 from spdy-http2/feat/level-up

    feat: clean up (move to standardJS, update travis.yml to run tests from 0.10 to current, update badges)
    diasdavid committed on GitHub Feb 2, 2017
  2. feat: clean up (move to standardJS, update travis.yml to run tests fr…

    …om 0.10 to current, update badges)
    diasdavid committed Feb 2, 2017
Commits on Dec 12, 2016
Commits on Oct 12, 2016
  1. 3.4.4

    indutny committed Oct 12, 2016
  2. handle: fix misfiring callback

    Streams can be ended by calling the `.close()` or `.shutdown()` methods
    on the Handle instances. Internally, both call the `.end()` method to
    end the stream. However, only the `.close()` method takes a callback
    that eventually frees the HttpParser instance allocated to the stream
    socket.
    
    In the event that the `.shutdown()` method is called before calling the
    `.close()` method, the second call to `.end()` never fires the callback,
    resulting in the leaking of HttpParser instances along with all its
    references.
    
    This commit fixes the issue by directly executing the callback provided
    to the `.close()` method in the event the `.shutdown()` method was
    called before the `.close()` method of the Handle instance.
    anandsuresh committed with indutny Oct 8, 2016
Commits on Sep 29, 2016
  1. 3.4.3

    indutny committed Sep 29, 2016
  2. agent: allow forcing protocol in secure mode

    On older versions of node with no ALPN support, socket.npnProtocol
    is returned as undefined, resulting in the activation of fallback
    mode. This commit allows for falling back to a user-defined protocol in
    case NPN/ALPN extensions aren't available.
    anandsuresh committed with indutny Sep 27, 2016
Commits on Sep 22, 2016
  1. 3.4.2

    indutny committed Sep 22, 2016
Commits on Sep 19, 2016
  1. 3.4.1

    indutny committed Sep 19, 2016
Commits on Aug 24, 2016
  1. add explanation for spdy support (due to its name) (#270)

    because of its name spdy some people might think it is not supporting H2 which is does... adding this comment will help to clarify this issue
    azat-co committed with indutny Aug 24, 2016
Commits on Aug 5, 2016
  1. 3.4.0

    indutny committed Aug 5, 2016
Commits on Jul 18, 2016
  1. 3.3.4

    indutny committed Jul 18, 2016
  2. lib: fix push on prematurely terminated connection

    When a SPDY connection is terminated prematurely, it is possible for
    user-code to still hold references to the request and response objects
    and perform operations on them, including creating a new push stream.
    This condition can trigger an uncaught exception when the underlying
    connection has been closed.
    
    This commit fixes an issue in the Response class by eliminating the need
    to read the name of the connected host using the parser attached to the
    socket. Instead, it uses a reference to its corresponding request object
    (now setup in server.js when a "request" event is fired) to read the
    HTTP Host header.
    anandsuresh committed with indutny Jul 14, 2016
Commits on Jul 6, 2016
  1. readme: removed CA option

    felixsanz committed with indutny Jul 6, 2016
Commits on May 18, 2016
  1. 3.3.3

    indutny committed May 18, 2016
  2. agent: SNI

    indutny committed May 18, 2016
Commits on Apr 25, 2016
  1. 3.3.2

    indutny committed Apr 25, 2016
Commits on Apr 20, 2016
  1. 3.3.1

    indutny committed Apr 20, 2016
  2. 3.3.0

    indutny committed Apr 20, 2016
Commits on Mar 21, 2016
  1. Merge pull request #253 from astorije/patch-1

    Switch Travis CI badge to SVG version
    indutny committed Mar 21, 2016
Commits on Mar 19, 2016
Commits on Mar 2, 2016
  1. 3.2.3

    indutny committed Mar 2, 2016
  2. agent: fix for node.js v5.7.0

    Fix: #246
    indutny committed Mar 2, 2016
  3. 3.2.2

    indutny committed Mar 2, 2016
  4. travis: iojs => 4, 5

    indutny committed Mar 2, 2016
  5. agent: don't rely on headers coalesce

    Next tick orderings could be so that `_send` will be executed before
    `sendHeaders`, and thus headers won't be coalesced. Create stream lazily
    at later point instead, passing all relevant headers at its creation.
    indutny committed Mar 2, 2016
Commits on Mar 1, 2016
  1. 3.2.1

    indutny committed Mar 1, 2016
Commits on Jan 22, 2016
  1. 3.2.0

    indutny committed Jan 22, 2016