Skip to content
Snippets Groups Projects
  1. Apr 05, 2014
  2. Mar 10, 2014
  3. Feb 28, 2014
    • Tatsuhiro Tsujikawa's avatar
      Fix bug that HTTP/2 hangs if whole response body is read with headers · cde0cf7c
      Tatsuhiro Tsujikawa authored
      For HTTP/2, we may read up everything including responde body with
      header fields in Curl_http_readwrite_headers. If no content-length is
      provided, curl waits for the connection close, which we emulate it
      using conn->proto.httpc.closed = TRUE. The thing is if we read
      everything, then http2_recv won't be called and we cannot signal the
      HTTP/2 stream has closed. As a workaround, we return nonzero from
      data_pending to call http2_recv.
      cde0cf7c
    • Daniel Stenberg's avatar
      http2: build with current nghttp2 version · 53f1f4a1
      Daniel Stenberg authored
      nghttp2 has yet again extended its callback struct and this is an
      attempt to make curl compile with nghttp2 from current git
      53f1f4a1
  4. Feb 17, 2014
    • Tatsuhiro Tsujikawa's avatar
      http2: Support HTTP POST/PUT · 035b91a2
      Tatsuhiro Tsujikawa authored
      This patch enables HTTP POST/PUT in HTTP2.
      We disabled Expect header field and  chunked transfer encoding
      since HTTP2 forbids them.
      In HTTP1, Curl sends small upload data with request headers, but
      HTTP2 requires upload data must be in DATA frame separately.
      So we added some conditionals to achieve this.
      035b91a2
  5. Feb 05, 2014
  6. Feb 04, 2014
  7. Jan 30, 2014
  8. Jan 29, 2014
  9. Sep 10, 2013
  10. Sep 09, 2013
  11. Sep 07, 2013
  12. Sep 06, 2013
    • Gisle Vanem's avatar
      http2: use correct include for snprintf · 900ccc26
      Gisle Vanem authored
      Using the first little merge of nghttp2 into libcurl, I stumbeled on the
      missing 'snprintf' in MSVCRT. Isn't this how we do it for other libcurl
      files?  I.e. use 'curl_msnprintf' and not 'snprintf' directly:
      900ccc26
  13. Sep 04, 2013
  14. Aug 21, 2013
  15. Aug 20, 2013
    • Daniel Stenberg's avatar
      curl_easy_perform_ev: debug/test function · 6cf8413e
      Daniel Stenberg authored
      This function is meant to work *exactly* as curl_easy_perform() but will
      use the event-based libcurl API internally instead of
      curl_multi_perform(). To avoid relying on an actual event-based library
      and to not use non-portable functions (like epoll or similar), there's a
      rather inefficient emulation layer implemented on top of Curl_poll()
      instead.
      
      There's currently some convenience logging done in curl_easy_perform_ev
      which helps when tracking down problems. They may be suitable to remove
      or change once things seem to be fine enough.
      
      curl has a new --test-event option when built with debug enabled that
      then uses curl_easy_perform_ev() instead of curl_easy_perform(). If
      built without debug, using --test-event will only output a warning
      message.
      
      NOTE: curl_easy_perform_ev() is not part if the public API on purpose.
      It is only present in debug builds of libcurl and MUST NOT be considered
      stable even then. Use it for libcurl-testing purposes only.
      
      runtests.pl now features an -e command line option that makes it use
      --test-event for all curl command line tests. The man page is updated.
      6cf8413e
  16. Aug 12, 2013
Loading