Skip to content
  1. Feb 05, 2013
  2. Feb 04, 2013
  3. Feb 03, 2013
    • Steve Holme's avatar
      imap: Fixed no known authentication mechanism when fallback is required · b4270a9a
      Steve Holme authored
      Fixed an issue where (lib)curl is compiled without support for a
      supported challenge-response based SASL authentication mechanism, such
      as CRAM-MD5 or NTLM, the server doesn't support the LOGIN or PLAIN
      mechanisms and (lib)curl doesn't fallback to Clear Text authentication.
      
      Note: In order to fallback to Clear Text authentication properly this
      fix adds support for the LOGINDISABLED server capability.
      imap: Fixed no known authentication mechanism when fallback is required
      
      Fixed an issue where (lib)curl is compiled without support for a
      supported challenge-response based SASL authentication mechanism, such
      as CRAM-MD5 or NTLM, the server doesn't support the LOGIN or PLAIN
      mechanisms and (lib)curl doesn't fallback to Clear Text authentication.
      
      Note: In order to fallback to Clear Text authentication properly this
      fix adds support for the LOGINDISABLED server capability.
      
      Related bug: http://curl.haxx.se/mail/lib-2013-02/0004.html
      Reported by: Stanislav Ivochkin
      b4270a9a
    • Steve Holme's avatar
      pop3: Fixed no known authentication mechanism when fallback is required · 6b6bdc83
      Steve Holme authored
      Fixed an issue where (lib)curl is compiled without support for a
      supported challenge-response based SASL authentication mechanism, such
      as CRAM-MD5 or NTLM, the server doesn't support the LOGIN or PLAIN
      mechanisms and (lib)curl doesn't fallback to APOP or Clear Text
      authentication.
      
      Bug: http://curl.haxx.se/mail/lib-2013-02/0004.html
      Reported by: Stanislav Ivochkin
      6b6bdc83
  4. Feb 01, 2013
    • Daniel Stenberg's avatar
      singleipconnect: simplify and clean up · 56b7c87c
      Daniel Stenberg authored
      Remove timeout argument that's never used.
      
      Make the actual connection get detected on a single spot to reduce code
      duplication.
      
      Store the IPv6 state already when the connection is attempted.
      56b7c87c
    • Daniel Stenberg's avatar
      Curl_perfom: removed · 32e8467a
      Daniel Stenberg authored
      Curl_perfom is no longer used anywhere since the always-multi commit
      c4312741, and some related functions were used only from within
      Curl_perfom.
      32e8467a
  5. Jan 29, 2013
  6. Jan 28, 2013
  7. Jan 27, 2013
  8. Jan 26, 2013
  9. Jan 25, 2013
    • Steve Holme's avatar
      smtp.c: Added comments to smtp_endofresp() · d9c3505e
      Steve Holme authored
      Minor code tidy up to add comments similar to those used in the pop3
      and imap end of resp functions, in order to assist anyone reading the
      code and highlight the similarities between each of these protocols.
      d9c3505e
  10. Jan 24, 2013
    • Steve Holme's avatar
      smtp.c: Corrected RFC references · fda0f14f
      Steve Holme authored
      The most recent version of the SMTP RFC is RFC5321 and not RFC2821 as
      previously documented.
      
      Added RFC1870 and re-ordered list numerically.
      fda0f14f
    • Steve Holme's avatar
      smtp.c: Fixed failure detection during TLS upgrade · f8ba1273
      Steve Holme authored
      smtp_state_upgrade_tls() would attempt to incorrectly complete the
      upgrade to smtps and start the EHLO command if
      Curl_ssl_connect_nonblocking() returned a failure code and if ssldone
      was set to TRUE. This would only happen when a non-blocking API hadn't
      been provided by the SSL implementation and curlssl_connect() was
      called underneath.
      f8ba1273
    • Steve Holme's avatar
      pop3.c: Fixed failure detection during TLS upgrade · 8b275718
      Steve Holme authored
      pop3_state_upgrade_tls() would attempt to incorrectly complete the
      upgrade to pop3s and start the CAPA command if
      Curl_ssl_connect_nonblocking() returned a failure code and if ssldone
      was set to TRUE. This would only happen when a non-blocking API hadn't
      been provided by the SSL implementation and curlssl_connect() was
      called underneath.
      8b275718
    • Steve Holme's avatar
      imap.c: Fixed failure detection during TLS upgrade · 379d63ec
      Steve Holme authored
      imap_state_upgrade_tls() would attempt to incorrectly complete the
      upgrade to imaps and start the CAPABILITY command if
      Curl_ssl_connect_nonblocking() returned a failure code and if ssldone
      was set to TRUE. This would only happen when a non-blocking API hadn't
      been provided by the SSL implementation and curlssl_connect() was
      called underneath.
      379d63ec
  11. Jan 23, 2013
  12. Jan 22, 2013
  13. Jan 20, 2013
  14. Jan 19, 2013
  15. Jan 18, 2013
  16. Jan 17, 2013
  17. Jan 15, 2013
  18. Jan 12, 2013
  19. Jan 11, 2013
    • Kamil Dudka's avatar
      nss: clear session cache if a client cert from file is used · b36f1d26
      Kamil Dudka authored
      This commit fixes a regression introduced in 052a08ff.
      
      NSS caches certs/keys returned by the SSL_GetClientAuthDataHook callback
      and if we connect second time to the same server, the cached cert/key
      pair is used.  If we use multiple client certificates for different
      paths on the same server, we need to clear the session cache to force
      NSS to call the hook again.  The commit 052a08ff prevented the session
      cache from being cleared if a client certificate from file was used.
      
      The condition is now fixed to cover both cases: consssl->client_nickname
      is not NULL if a client certificate from the NSS database is used and
      connssl->obj_clicert is not NULL if a client certificate from file is
      used.
      
      Review by: Kai Engert
      b36f1d26
  20. Jan 09, 2013
  21. Jan 08, 2013
    • Yang Tse's avatar
      build: fix circular header inclusion with other packages · 5a053ffe
      Yang Tse authored
      This commit renames lib/setup.h to lib/curl_setup.h and
      renames lib/setup_once.h to lib/curl_setup_once.h.
      
      Removes the need and usage of a header inclusion guard foreign
      to libcurl. [1]
      
      Removes the need and presence of an alarming notice we carried
      in old setup_once.h [2]
      
      ----------------------------------------
      
      1 - lib/setup_once.h used __SETUP_ONCE_H macro as header inclusion guard
          up to commit ec691ca3 which changed this to HEADER_CURL_SETUP_ONCE_H,
          this single inclusion guard is enough to ensure that inclusion of
          lib/setup_once.h done from lib/setup.h is only done once.
      
          Additionally lib/setup.h has always used __SETUP_ONCE_H macro to
          protect inclusion of setup_once.h even after commit ec691ca3, this
          was to avoid a circular header inclusion triggered when building a
          c-ares enabled version with c-ares sources available which also has
          a setup_once.h header. Commit ec691ca3 exposes the real nature of
          __SETUP_ONCE_H usage in lib/setup.h, it is a header inclusion guard
          foreign to libcurl belonging to c-ares's setup_once.h
      
          The renaming this commit does, fixes the circular header inclusion,
          and as such removes the need and usage of a header inclusion guard
          foreign to libcurl. Macro __SETUP_ONCE_H no longer used in libcurl.
      
      2 - Due to the circular interdependency of old lib/setup_once.h and the
          c-ares setup_once.h header, old file lib/setup_once.h has carried
          back from 2006 up to now days an alarming and prominent notice about
          the need of keeping libcurl's and c-ares's setup_once.h in sync.
      
          Given that this commit fixes the circular interdependency, the need
          and presence of mentioned notice is removed.
      
          All mentioned interdependencies come back from now old days when
          the c-ares project lived inside a curl subdirectory. This commit
          removes last traces of such fact.
      5a053ffe
    • Steve Holme's avatar
      pop3: Added support for non-blocking SSL upgrade · 4ffb8a63
      Steve Holme authored
      Added support for asynchronous SSL upgrade when using the
      multi-interface.
      4ffb8a63
  22. Jan 07, 2013