1. 25 May, 2015 1 commit
    • Tatsuhiro Tsujikawa's avatar
      http2: Copy data passed in Curl_http2_switched into HTTP/2 connection buffer · 02dfc930
      Tatsuhiro Tsujikawa authored
      Previously, after seeing upgrade to HTTP/2, we feed data followed by
      upgrade response headers directly to nghttp2_session_mem_recv() in
      Curl_http2_switched().  But it turns out that passed buffer, mem, is
      part of stream->mem, and callbacks called by
      nghttp2_session_mem_recv() will write stream specific data into
      stream->mem, overwriting input data.  This will corrupt input, and
      most likely frame length error is detected by nghttp2 library.  The
      fix is first copy the passed data to HTTP/2 connection buffer,
      httpc->inbuf, and call nghttp2_session_mem_recv().
      02dfc930
  2. 24 May, 2015 4 commits
  3. 23 May, 2015 4 commits
  4. 22 May, 2015 11 commits
  5. 21 May, 2015 2 commits
  6. 20 May, 2015 6 commits
  7. 19 May, 2015 8 commits
  8. 18 May, 2015 4 commits