1. 04 Dec, 2015 2 commits
  2. 03 Dec, 2015 3 commits
  3. 02 Dec, 2015 1 commit
    • Tatsuhiro Tsujikawa's avatar
      Create stream object for pushed resource during nghttp2_submit_push_promise() · 2288ee80
      Tatsuhiro Tsujikawa authored
      Previously, stream object for pushed resource was not created during
      nghttp2_submit_push_promise().  It was created just before
      nghttp2_before_frame_send_callback was called for that PUSH_PROMISE
      frame.  This means that application could not call
      nghttp2_submit_response for the pushed resource before
      nghttp2_before_frame_send_callback was called.  This could be solved
      by callback chaining, but for web server with back pressure from
      backend stream, it is a bit unnecessarily hard to use.
      
      This commit changes nghttp2_submit_push_promise() behaviour so that
      stream object is created during that call.  It makes application call
      nghttp2_submit_response right after successful
      nghttp2_submit_push_promise call.
      2288ee80
  4. 01 Dec, 2015 3 commits
  5. 29 Nov, 2015 2 commits
  6. 28 Nov, 2015 2 commits
  7. 27 Nov, 2015 10 commits
  8. 26 Nov, 2015 7 commits
  9. 25 Nov, 2015 2 commits
    • Tatsuhiro Tsujikawa's avatar
      Use seq to break a tie for stream weight · faad0418
      Tatsuhiro Tsujikawa authored
      Because of the nature of heap based priority queue, and our compare
      function, streams with the same weight and same parent are handled in
      the reverse order they pushed to the queue.  To allow stream pushed
      earlier to be served first, secondary key "seq" is introduced to break
      a tie.  "seq" is monotonically increased integer per parent stream,
      and it is assigned to stream when it is pused to the queue, and gets
      incremented.
      faad0418
    • Tatsuhiro Tsujikawa's avatar
      3048bb9d
  10. 24 Nov, 2015 3 commits
  11. 23 Nov, 2015 5 commits