1. 04 Jan, 2016 6 commits
  2. 27 Dec, 2015 1 commit
  3. 26 Dec, 2015 5 commits
  4. 24 Dec, 2015 4 commits
  5. 23 Dec, 2015 11 commits
  6. 20 Dec, 2015 2 commits
  7. 17 Dec, 2015 3 commits
  8. 16 Dec, 2015 6 commits
  9. 15 Dec, 2015 2 commits
    • Tatsuhiro Tsujikawa's avatar
      http2: Support trailer fields · 15cb03ad
      Tatsuhiro Tsujikawa authored
      This commit adds trailer support in HTTP/2.  In HTTP/1.1, chunked
      encoding must be used to send trialer fields.  HTTP/2 deprecated any
      trandfer-encoding, including chunked.  But trailer fields are now
      always available.
      
      Since trailer fields are relatively rare these days (gRPC uses them
      extensively though), allocating buffer for trailer fields is done when
      we detect that HEADERS frame containing trailer fields is started.  We
      use Curl_add_buffer_* functions to buffer all trailers, just like we
      do for regular header fields.  And then deliver them when stream is
      closed.  We have to be careful here so that all data are delivered to
      upper layer before sending trailers to the application.
      
      We can deliver trailer field one by one using NGHTTP2_ERR_PAUSE
      mechanism, but current method is far more simple.
      
      Another possibility is use chunked encoding internally for HTTP/2
      traffic.  I have not tested it, but it could add another overhead.
      
      Closes #564
      15cb03ad
    • Daniel Stenberg's avatar
      RELEASE-NOTES: synced with 6c2c0196 · 871ad2a0
      Daniel Stenberg authored
      871ad2a0