Skip to content
Snippets Groups Projects
  1. Apr 27, 2014
  2. Apr 23, 2014
    • Daniel Stenberg's avatar
      handler: make 'protocol' always specified as a single bit · 710f14ed
      Daniel Stenberg authored
      This makes the findprotocol() function work as intended so that libcurl
      can properly be restricted to not support HTTP while still supporting
      HTTPS - since the HTTPS handler previously set both the HTTP and HTTPS
      bits in the protocol field.
      
      This fixes --proto and --proto-redir for most SSL protocols.
      
      This is done by adding a few new convenience defines that groups HTTP
      and HTTPS, FTP and FTPS etc that should then be used when the code wants
      to check for both protocols at once. PROTO_FAMILY_[protocol] style.
      
      Bug: https://github.com/bagder/curl/pull/97
      Reported-by: drizzt
      710f14ed
  3. Apr 05, 2014
  4. Mar 10, 2014
  5. 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
  6. 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
  7. Feb 05, 2014
  8. Feb 04, 2014
  9. Jan 30, 2014
  10. Jan 29, 2014
  11. Sep 10, 2013
  12. Sep 09, 2013
  13. Sep 07, 2013
  14. 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
  15. Sep 04, 2013
  16. Aug 21, 2013
Loading