1. 22 Dec, 2014 2 commits
  2. 21 Dec, 2014 3 commits
  3. 20 Dec, 2014 4 commits
  4. 19 Dec, 2014 3 commits
  5. 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
  6. 17 Dec, 2014 2 commits
  7. 16 Dec, 2014 4 commits
  8. 15 Dec, 2014 7 commits
  9. 12 Dec, 2014 5 commits
  10. 09 Dec, 2014 3 commits
  11. 08 Dec, 2014 1 commit
  12. 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
  13. 06 Dec, 2014 2 commits