Skip to content
Snippets Groups Projects
This project is mirrored from https://gitlab.com/gitlab-org/build/omnibus-mirror/curl.git. Pull mirroring failed .
Repository mirroring has been paused due to too many failed attempts. It can be resumed by a project maintainer or owner.
Last successful update .
  1. Apr 13, 2019
  2. Apr 11, 2019
  3. Apr 06, 2019
    • Daniel Stenberg's avatar
      pipelining: removed · 2f44e94e
      Daniel Stenberg authored
      As previously planned and documented in DEPRECATE.md, all pipelining
      code is removed.
      
      Closes #3651
      2f44e94e
  4. Mar 18, 2019
  5. Mar 09, 2019
  6. Mar 04, 2019
  7. Mar 03, 2019
  8. Feb 27, 2019
    • Daniel Stenberg's avatar
      cookies: only save the cookie file if the engine is enabled · eb433389
      Daniel Stenberg authored
      Follow-up to 8eddb8f4.
      
      If the cookieinfo pointer is NULL there really is nothing to save.
      
      Without this fix, we got a problem when a handle was using shared object
      with cookies and is told to "FLUSH" it to file (which worked) and then
      the share object was removed and when the easy handle was closed just
      afterwards it has no cookieinfo and no cookies so it decided to save an
      empty jar (overwriting the file just flushed).
      
      Test 1905 now verifies that this works.
      
      Assisted-by: Michael Wallner
      Assisted-by: Marcel Raad
      
      Closes #3621
      eb433389
  9. Jan 10, 2019
  10. Jan 09, 2019
  11. Jan 07, 2019
  12. Dec 27, 2018
    • Claes Jakobsson's avatar
      hostip: support wildcard hosts · d8cae791
      Claes Jakobsson authored
      This adds support for wildcard hosts in CURLOPT_RESOLVE. These are
      try-last so any non-wildcard entry is resolved first. If specified,
      any host not matched by another CURLOPT_RESOLVE config will use this
      as fallback.
      
      Example send a.com to 10.0.0.1 and everything else to 10.0.0.2:
        curl --resolve *:443:10.0.0.2 --resolve a.com:443:10.0.0.1 \
             https://a.com https://b.com
      
      
      
      This is probably quite similar to using:
        --connect-to a.com:443:10.0.0.1:443 --connect-to :443:10.0.0.2:443
      
      Closes #3406
      Reviewed-by: default avatarDaniel Stenberg <daniel@haxx.se>
      d8cae791
  13. Dec 21, 2018
    • Daniel Stenberg's avatar
      http: added options for allowing HTTP/0.9 responses · 006ff62d
      Daniel Stenberg authored
      Added CURLOPT_HTTP09_ALLOWED and --http0.9 for this purpose.
      
      For now, both the tool and library allow HTTP/0.9 by default.
      docs/DEPRECATE.md lays out the plan for when to reverse that default: 6
      months after the 7.64.0 release. The options are added already now so
      that applications/scripts can start using them already now.
      
      Fixes #2873
      Closes #3383
      006ff62d
  14. Dec 14, 2018
    • Ayoub Boudhar's avatar
      http: Implement trailing headers for chunked transfers · f464535b
      Ayoub Boudhar authored
      This adds the CURLOPT_TRAILERDATA and CURLOPT_TRAILERFUNCTION
      options that allow a callback based approach to sending trailing headers
      with chunked transfers.
      
      The test server (sws) was updated to take into account the detection of the
      end of transfer in the case of trailing headers presence.
      
      Test 1591 checks that trailing headers can be sent using libcurl.
      
      Closes #3350
      f464535b
  15. Dec 13, 2018
    • Daniel Gustafsson's avatar
      cookies: leave secure cookies alone · 7a09b52c
      Daniel Gustafsson authored
      
      Only allow secure origins to be able to write cookies with the
      'secure' flag set. This reduces the risk of non-secure origins
      to influence the state of secure origins. This implements IETF
      Internet-Draft draft-ietf-httpbis-cookie-alone-01 which updates
      RFC6265.
      
      Closes #2956
      Reviewed-by: default avatarDaniel Stenberg <daniel@haxx.se>
      7a09b52c
  16. Dec 12, 2018
  17. Dec 11, 2018
  18. Dec 09, 2018
  19. Nov 28, 2018
  20. Nov 23, 2018
  21. Nov 09, 2018
  22. Nov 07, 2018
  23. Nov 06, 2018
    • Daniel Stenberg's avatar
      url: a short host name + port is not a scheme · 9df8dc10
      Daniel Stenberg authored
      The function identifying a leading "scheme" part of the URL considered a
      few letters ending with a colon to be a scheme, making something like
      "short:80" to become an unknown scheme instead of a short host name and
      a port number.
      
      Extended test 1560 to verify.
      
      Also fixed test203 to use file_pwd to make it get the correct path on
      windows. Removed test 2070 since it was a duplicate of 203.
      
      Assisted-by: Marcel Raad
      Reported-by: Hagai Auro
      Fixes #3220
      Fixes #3233
      Closes #3223
      Closes #3235
      9df8dc10
  24. Nov 03, 2018
    • Daniel Gustafsson's avatar
      infof: clearly indicate truncation · c37b66aa
      Daniel Gustafsson authored
      
      The internal buffer in infof() is limited to 2048 bytes of payload plus
      an additional byte for NULL termination. Servers with very long error
      messages can however cause truncation of the string, which currently
      isn't very clear, and leads to badly formatted output.
      
      This appends a "...\n" (or just "..." in case the format didn't with a
      newline char) marker to the end of the string to clearly show
      that it has been truncated.
      
      Also include a unittest covering infof() to try and catch any bugs
      introduced in this quite important function.
      
      Closes #3216
      Reviewed-by: default avatarDaniel Stenberg <daniel@haxx.se>
      Reviewed-by: default avatarMarcel Raad <Marcel.Raad@teamviewer.com>
      c37b66aa
  25. Nov 02, 2018
  26. Oct 30, 2018
  27. Oct 27, 2018
  28. Sep 08, 2018
    • Daniel Stenberg's avatar
      URL-API · fb30ac5a
      Daniel Stenberg authored
      See header file and man pages for API. All documented API details work
      and are tested in the 1560 test case.
      
      Closes #2842
      fb30ac5a
  29. Sep 06, 2018
  30. Sep 05, 2018
  31. Aug 15, 2018
  32. Aug 14, 2018
  33. Aug 13, 2018
    • Daniel Stenberg's avatar
      http: fix for tiny "HTTP/0.9" response · 8440616f
      Daniel Stenberg authored
      Deal with tiny "HTTP/0.9" (header-less) responses by checking the
      status-line early, even before a full "HTTP/" is received to allow
      detecting 0.9 properly.
      
      Test 1266 and 1267 added to verify.
      
      Fixes #2420
      Closes #2872
      8440616f
  34. Aug 11, 2018