1. 19 Dec, 2014 2 commits
  2. 18 Dec, 2014 2 commits
    • Tatsuhiro Tsujikawa's avatar
      nghttp2_session_mem_send: Handle stream closure early · 8bac2087
      Tatsuhiro Tsujikawa authored
      Previously session_after_frame_sent is called after we detected all
      data is sent.  In nghttp2_session_mem_send, we only detect it in the
      next call of the function.  It means that if a frame data bearing
      END_STREAM is on flight to the peer as a result of
      nghttp2_session_mem_send, peer may get that data and knows the stream
      closure and issues new stream.  We may receive this new stream before
      the next nghttp2_session_mem_send call, which means that we may
      incorrectly assumes that peer violates maximum concurrent stream
      limit.  To fix this issue, we separate session_after_frame_sent into 2
      functions: session_after_frame_sent1 and session_after_frame_sent2.
      session_after_frame_sent1 handles on_frame_send_callback and stream
      closure and we call this early in nghttp2_session_mem_send.  This
      makes number of streams are synchronized correctly with peer.
      8bac2087
    • Tatsuhiro Tsujikawa's avatar
      Fix memory leak · ce1bf11d
      Tatsuhiro Tsujikawa authored
      ce1bf11d
  3. 17 Dec, 2014 2 commits
  4. 16 Dec, 2014 4 commits
  5. 15 Dec, 2014 7 commits
  6. 12 Dec, 2014 5 commits
  7. 09 Dec, 2014 3 commits
  8. 08 Dec, 2014 1 commit
  9. 07 Dec, 2014 2 commits
    • Tatsuhiro Tsujikawa's avatar
      Support custom memory allocator · c0ffed77
      Tatsuhiro Tsujikawa authored
      nghttp2_mem structure is introduced to hold custom memory allocator
      functions and user supplied pointer.  nghttp2_mem object can be passed
      to nghttp2_session_client_new3(), nghttp2_session_server_new3(),
      nghttp2_hd_deflate_new2() and nghttp2_hd_inflate_new2() to replace
      standard malloc(), free(), calloc() and realloc().  nghttp2_mem
      structure has user supplied pointer mem_user_data which can be used as
      per session/object memory pool.
      c0ffed77
    • Tatsuhiro Tsujikawa's avatar
      Remove altsvc · 21b48d24
      Tatsuhiro Tsujikawa authored
      21b48d24
  10. 06 Dec, 2014 3 commits
  11. 05 Dec, 2014 2 commits
  12. 04 Dec, 2014 1 commit
    • Tatsuhiro Tsujikawa's avatar
      nghttpx: Limit # of downstream connections per host when h2 proxy is used · 96146119
      Tatsuhiro Tsujikawa authored
      This commit limits the number of concurrent HTTP/1 downstream
      connections to same host.  By defualt, it is limited to 8 connections.
      --backend-connections-per-frontend option was replaced with
      --backend-http1-connections-per-host, which changes the maximum number
      of connections per host.  This limitation only kicks in when h2 proxy
      is used (-s option).
      96146119
  13. 03 Dec, 2014 4 commits
  14. 01 Dec, 2014 2 commits