1. 26 Nov, 2015 6 commits
  2. 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
  3. 24 Nov, 2015 3 commits
  4. 23 Nov, 2015 9 commits
  5. 22 Nov, 2015 1 commit
  6. 21 Nov, 2015 8 commits
  7. 20 Nov, 2015 1 commit
  8. 19 Nov, 2015 2 commits
  9. 18 Nov, 2015 3 commits
    • Tatsuhiro Tsujikawa's avatar
      asio: client: call on_error when connection is dropped · ab1e8305
      Tatsuhiro Tsujikawa authored
      When connection is dropped, we get "nonzero" error code ec in
      read_socket callback.  We can just call on_error callback if ec is
      nonzero.  But there is a problem when we did ordered shutdown.  In
      this case, we also get EOF in ec, but we don't want to call on_error
      because it is not an error.  To workaround this, we check return value
      of should_stop().  If it is true, then we assume that HTTP/2 session
      cleanly ended, and we don't call on_error.
      ab1e8305
    • Tatsuhiro Tsujikawa's avatar
      nghttpd: Defered eviction of cached fd using timer · 8b4f6f17
      Tatsuhiro Tsujikawa authored
      To make use cache fd more robust manner (e.g. among several
      connections), eviction of cached file descriptor now takes place using
      timer.  The timer is started when there is no handler (no
      connections).  The timeout value is hard-coded and 2 seconds.
      8b4f6f17
    • Tatsuhiro Tsujikawa's avatar
      h2load: Override user-agent with -H option · 8c94341c
      Tatsuhiro Tsujikawa authored
      This commit allows user to override user-agent with -H option.  We
      also enabled custom header support for http/1.1 requests.  We also did
      minor optimizations (std::vector::reserve).
      8c94341c
  10. 17 Nov, 2015 1 commit
  11. 16 Nov, 2015 4 commits