Skip to content
Snippets Groups Projects
  1. 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
  2. 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
  3. Feb 05, 2014
  4. Feb 04, 2014
  5. Jan 30, 2014
  6. Jan 29, 2014
  7. Sep 10, 2013
  8. Sep 09, 2013
  9. Sep 07, 2013
  10. 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
  11. Sep 04, 2013
  12. Aug 21, 2013
  13. 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
  14. Aug 12, 2013
  15. Jan 06, 2013
    • Yang Tse's avatar
      Revert changes relative to lib/*.[ch] recent renaming · 4a5aa668
      Yang Tse authored
      This reverts renaming and usage of lib/*.h header files done
      28-12-2012, reverting 2 commits:
      
        f871de00... build: make use of 76 lib/*.h renamed files
        ffd8e127... build: rename 76 lib/*.h files
      
      This also reverts removal of redundant include guard (redundant thanks
      to changes in above commits) done 2-12-2013, reverting 1 commit:
      
        c087374c... curl_setup.h: remove redundant include guard
      
      This also reverts renaming and usage of lib/*.c source files done
      3-12-2013, reverting 3 commits:
      
        13606bbf... build: make use of 93 lib/*.c renamed files
        5b6e7927... build: rename 93 lib/*.c files
        7d83dfff... build: commit 13606bbf follow-up 1
      
      Start of related discussion thread:
      
        http://curl.haxx.se/mail/lib-2013-01/0012.html
      
      Asking for confirmation on pushing this revertion commit:
      
        http://curl.haxx.se/mail/lib-2013-01/0048.html
      
      Confirmation summary:
      
        http://curl.haxx.se/mail/lib-2013-01/0079.html
      
      NOTICE: The list of 2 files that have been modified by other
      intermixed commits, while renamed, and also by at least one
      of the 6 commits this one reverts follows below. These 2 files
      will exhibit a hole in history unless git's '--follow' option
      is used when viewing logs.
      
        lib/curl_imap.h
        lib/curl_smtp.h
      4a5aa668
  16. Jan 03, 2013
Loading