Skip to content
  1. Nov 30, 2010
  2. Nov 28, 2010
  3. Nov 26, 2010
  4. Nov 25, 2010
  5. Nov 24, 2010
  6. Nov 23, 2010
    • Yang Tse's avatar
      Curl_getaddrinfo_ex: sanitize function results. · 6fe18add
      Yang Tse authored
      Ensure that spurious results from system's getaddrinfo() ares not propagated
      by Curl_getaddrinfo_ex() into the library.
      
      Also ensure that the ai_addrlen member of Curl_getaddrinfo_ex()'s output linked
      list of Curl_addrinfo structures has appropriate family-specific address size.
      6fe18add
  7. Nov 22, 2010
  8. Nov 20, 2010
  9. Nov 19, 2010
  10. Nov 14, 2010
    • Daniel Stenberg's avatar
      gnutls->handshake: improved timeout handling · cbf4961b
      Daniel Stenberg authored
      When no timeout is set, we call the socket_ready function with a timeout
      value of 0 during handshake, which makes it loop too much/fast in this
      function. It also made this function return CURLE_OPERATION_TIMEDOUT
      wrongly on a slow handshake.
      
      However, the particular bug report that highlighted this problem is not
      solved by this fix, as this fix only makes the more proper error get
      reported instead.
      
      Bug: http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=594150
      Reported by: Johannes Ernst
      cbf4961b
  11. Nov 13, 2010
    • Julien Chaffraix's avatar
      urldata: Capitalize enum protect_level values. · add5766d
      Julien Chaffraix authored
      This makes it easier to spot the enum values from the variables.
      Removed some unneeded DEBUGASSERT added in the previous commit.
      add5766d
    • Julien Chaffraix's avatar
      security: tighten enum protection_level usage. · 8d59d694
      Julien Chaffraix authored
      While changing Curl_sec_read_msg to accept an enum protection_level
      instead of an int, I went ahead and fixed the usage of the associated
      fields.
      
      Some code was assuming that prot_clear == 0. Fixed those to use the
      proper value. Added assertions prior to any code that would set the
      protection level.
      8d59d694
  12. Nov 12, 2010
  13. 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
  14. Nov 10, 2010
  15. Nov 09, 2010
  16. 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
  17. Nov 05, 2010
  18. Nov 04, 2010
  19. Oct 29, 2010
  20. Oct 28, 2010
  21. Oct 21, 2010
  22. 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