1. 17 Sep, 2014 1 commit
    • Tatsuhiro Tsujikawa's avatar
      nghttpx: Call upstream resume_read after sending pending request to backend · 5bff48a1
      Tatsuhiro Tsujikawa authored
      With the combination of HTTP/1 upstream and HTTP/2 downstream,
      downstream tells SHRPX_NO_BUFFER while connecting to the backend
      server.  Previously, we did not call upstream resume_read and upload
      was blocked.  This commit now calls upstream resume_read to unblock.
      This commit also remove pending output buffer size of Http2Session
      when calculating downstream connection's buffer is full.  This is
      desirable since we only operate resume_read by stream basis.
      5bff48a1
  2. 16 Sep, 2014 1 commit
  3. 14 Sep, 2014 2 commits
  4. 13 Sep, 2014 2 commits
    • Tatsuhiro Tsujikawa's avatar
    • Tatsuhiro Tsujikawa's avatar
      Add nghttp2_option_set_recv_client_preface() · 901de5fb
      Tatsuhiro Tsujikawa authored
      By default, nghttp2 library only handles HTTP/2 frames and does not
      recognize first 24 bytes of client connection preface. This design
      choice is done due to the fact that server may want to detect the
      application protocol based on first few bytes on clear text
      communication. But for simple servers which only speak HTTP/2, it is
      easier for developers if nghttp2 library takes care of client
      connection preface.
      
      If this option is used with nonzero val, nghttp2 library checks first
      24 bytes client connection preface. If it is not a valid one,
      nghttp2_session_recv() and nghttp2_session_mem_recv() will return
      error NGHTTP2_ERR_BAD_PREFACE, which is fatal error.
      901de5fb
  5. 10 Sep, 2014 3 commits
  6. 01 Sep, 2014 1 commit
  7. 29 Aug, 2014 4 commits
  8. 28 Aug, 2014 3 commits
  9. 27 Aug, 2014 7 commits
  10. 26 Aug, 2014 2 commits
    • Tatsuhiro Tsujikawa's avatar
      python: Add version · 70a8fd59
      Tatsuhiro Tsujikawa authored
      70a8fd59
    • Tatsuhiro Tsujikawa's avatar
      nghttpx: Don't consume response data in downstream on_stream_close_callback · 223242b5
      Tatsuhiro Tsujikawa authored
      Even after on_stream_close_callback, Http2DownstreamConnection is
      still alive and upstream keeps sending response to the client.  The
      consumed bytes are processed normally (data_source_read_callback) and
      also we have a code to consume all allocated bytes for
      Http2DownstreamConnection object when it is deleted.  This means that
      we don't need to and should not consume response data in downstream
      on_stream_close_callback.  If we do, we may get assertion error in
      Http2DownstreamConnection::resume_read().
      223242b5
  11. 25 Aug, 2014 14 commits