1. 19 Dec, 2015 5 commits
  2. 18 Dec, 2015 1 commit
  3. 17 Dec, 2015 3 commits
  4. 16 Dec, 2015 2 commits
  5. 15 Dec, 2015 3 commits
  6. 14 Dec, 2015 1 commit
  7. 11 Dec, 2015 1 commit
  8. 10 Dec, 2015 5 commits
  9. 09 Dec, 2015 1 commit
  10. 08 Dec, 2015 4 commits
  11. 07 Dec, 2015 2 commits
    • Tatsuhiro Tsujikawa's avatar
      Reschedule stream when only weight is changed · 4bcc14fc
      Tatsuhiro Tsujikawa authored
      Previously, we only updated stream's weight field when only weight was
      changed by PRIORITY frame.  If stream is queued, it would be better to
      actually reschedule it based on new weight.  This could be especially
      useful if weight is increased.
      4bcc14fc
    • Tatsuhiro Tsujikawa's avatar
      Update descendant_last_cycle on nghttp2_stream_next_outbound_item · 72f815d5
      Tatsuhiro Tsujikawa authored
      Previously, we updated descendant_last_cycle in
      nghttp2_stream_reschedule, which is called after non-zero DATA frame.
      But this was not optimal since we still had old descendant_last_cycle,
      and new stream was scheduled based on it.  Now descendant_last_cycle
      is updated in nghttp2_stream_next_outbound_item, which is called when
      stream with highest priority is selected from queue.  And new stream
      is scheduled based on it.  This commit also removes 0-reset of
      descendant_last_cycle and cycle in nghttp2_stream_reschedule.  This
      could help making them lower, so that they are not overflow.  But
      there is a pattern that it doesn't work, and we are not sure they are
      really useful at this moment.
      72f815d5
  12. 04 Dec, 2015 3 commits
  13. 03 Dec, 2015 3 commits
  14. 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
  15. 01 Dec, 2015 3 commits
  16. 29 Nov, 2015 2 commits