Skip to content
  1. Nov 11, 2010
    • Daniel Stenberg's avatar
      ip_version: moved to connection struct · a1f32ffe
      Daniel Stenberg authored
      The IP version choice was previously only in the UserDefined struct
      within the SessionHandle, but since we sometimes alter that option
      during a request we need to have it on a per-connection basis.
      
      I also moved more "init conn" code into the allocate_conn() function
      which is designed for that purpose more or less.
      a1f32ffe
  2. Nov 10, 2010
  3. Nov 09, 2010
  4. Nov 08, 2010
    • Kamil Dudka's avatar
      ftp: close connection as soon as ABOR has been sent · c6b97a82
      Kamil Dudka authored
      ... and do not send ABOR unless really necessary.
      
      Bug: https://bugzilla.redhat.com/649347
      Reported by: Simon H.
      c6b97a82
    • Daniel Stenberg's avatar
      CURLOPT_RESOLVE: added · 1b24b89c
      Daniel Stenberg authored
      CURLOPT_RESOLVE is a new option that sends along a curl_slist with
      name:port:address sets that will populate the DNS cache with entries so
      that request can be "fooled" to use another host than what otherwise
      would've been used. Previously we've encouraged the use of Host: for
      that when dealing with HTTP, but this new feature has the added bonus
      that it allows the name from the URL to be used for TLS SNI and server
      certificate name checks as well.
      
      This is a first change. Surely more will follow to make it decent.
      1b24b89c
    • Yang Tse's avatar
      fix compiler warning · dc3e7df1
      Yang Tse authored
      dc3e7df1
  5. Nov 05, 2010
  6. Nov 04, 2010
  7. Oct 29, 2010
  8. Oct 28, 2010
  9. Oct 21, 2010
  10. Oct 20, 2010
    • Daniel Stenberg's avatar
      SSH: use libssh2_session_handshake() · e214cd4a
      Daniel Stenberg authored
      In libssh2 1.2.8, libssh2_session_handshake() replaces
      libssh2_session_startup() to fix the previous portability problem with
      the socket type that was too small for win64 and thus easily could cause
      crashes and more.
      e214cd4a
    • Daniel Stenberg's avatar
      SSH: avoid using the libssh2_ prefix · 5997f54a
      Daniel Stenberg authored
      It is a bad idea to use the public prefix used by another library and
      now we realize that libssh2 introduces a symbol in the upcoming version
      1.2.8 that conflicts with our static function named libssh2_free.
      5997f54a
    • Daniel Stenberg's avatar
      formdata: provide error message · e8c44295
      Daniel Stenberg authored
      When failing to build form post due to an error, the code now does a
      proper failf(). Previously libcurl would report an error like "failed
      creating formpost data" when a file wasn't possible to open which was
      not easy for users to figure out.
      
      I also lower cased a function name to be named more curl-style and
      removed some unnecessary code.
      e8c44295
  11. Oct 19, 2010
    • Daniel Stenberg's avatar
      URL-parsing: consider ? a divider · 98d9dc78
      Daniel Stenberg authored
      The URL parser got a little stricter as it now considers a ? to be a
      host name divider so that the slightly sloppier URLs work too. The
      problem that made me do this change was the reported problem with an URL
      like: www.example.com?email=name@example.com This form of URL is not
      really a legal URL (due to the missing slash after the host name) but is
      widely accepted by all major browsers and libcurl also already accepted
      it, it was just the '@' letter that triggered the problem now.
      
      The side-effect of this change is that now libcurl no longer accepts the
      ?  letter as part of user-name or password when given in the URL, which
      it used to accept (and is tested in test 191). That letter is however
      mentioned in RFC3986 to be required to be percent encoded since it is
      used as a divider.
      
      Bug: http://curl.haxx.se/bug/view.cgi?id=3090268
      98d9dc78
  12. Oct 18, 2010
  13. Oct 17, 2010
  14. Oct 14, 2010
  15. Oct 13, 2010
  16. Oct 12, 2010
  17. Oct 11, 2010
    • Daniel Stenberg's avatar
      SFTP: more ignoring negative file sizes · 51b8d30d
      Daniel Stenberg authored
      As the change in 5f0ae7a0 added a precaution against negative
      file sizes that for some reason managed to get returned, this change now
      introduces the same check at the second place in the code where the file
      size from the libssh2 stat call is used.
      
      This check might not be suitable for a 32 bit curl_off_t, but libssh2.h
      assumes long long to work and to be 64 bit so I believe such a small
      curl_off_t will be very unlikely to occur in the wild.
      51b8d30d
    • Daniel Stenberg's avatar
      SMTP: debug output for no known auth mechanisms supported · 450c994a
      Daniel Stenberg authored
      ... and some minor source code whitespace edits
      450c994a
  18. Oct 10, 2010
  19. Oct 03, 2010
    • Guenter Knauf's avatar
      Some NetWare makefile tweaks. · 81e10701
      Guenter Knauf authored
      Renamed SDK_* to NDK_*; made NDK_* defines overwriteable from
      environment; removed now obsolete YACC macro;
      moved some curl_config.h defines to IPv6 section since they
      are only needed when IPv6 is enabled - this makes libcurl compile
      with older NDKs too which were not IPv6-aware.
      81e10701
  20. Oct 02, 2010
  21. Oct 01, 2010
  22. Sep 30, 2010