Skip to content
Snippets Groups Projects
  1. Aug 02, 2016
  2. Aug 01, 2016
  3. Jun 22, 2016
  4. Jun 19, 2016
  5. Jun 16, 2016
  6. Jun 06, 2016
    • Steve Holme's avatar
      schannel: Disable ALPN on Windows < 8.1 · 34855fee
      Steve Holme authored
      Calling QueryContextAttributes with SECPKG_ATTR_APPLICATION_PROTOCOL
      fails on Windows < 8.1 so we need to disable ALPN on these OS versions.
      
      Inspiration provide by: Daniel Seither
      
      Closes #848
      Fixes #840
      34855fee
  7. Jun 04, 2016
  8. Jun 01, 2016
    • Ivan Avdeev's avatar
      vtls: fix ssl session cache race condition · 31c521b0
      Ivan Avdeev authored
      Sessionid cache management is inseparable from managing individual
      session lifetimes. E.g. for reference-counted sessions (like those in
      SChannel and OpenSSL engines) every session addition and removal
      should be accompanied with refcount increment and decrement
      respectively. Failing to do so synchronously leads to a race condition
      that causes symptoms like use-after-free and memory corruption.
      This commit:
       - makes existing session cache locking explicit, thus allowing
         individual engines to manage lock's scope.
       - fixes OpenSSL and SChannel engines by putting refcount management
         inside this lock's scope in relevant places.
       - adds these explicit locking calls to other engines that use
         sessionid cache to accommodate for this change. Note, however,
         that it is unknown whether any of these engines could also have
         this race.
      
      Bug: https://github.com/curl/curl/issues/815
      Fixes #815
      Closes #847
      31c521b0
    • Andrew Kurushin's avatar
      schannel: add CURLOPT_CERTINFO support · 6cabd785
      Andrew Kurushin authored
      Closes #822
      6cabd785
  9. May 31, 2016
  10. May 30, 2016
  11. May 24, 2016
  12. May 20, 2016
  13. May 19, 2016
  14. May 18, 2016
  15. May 17, 2016
  16. May 13, 2016
  17. May 12, 2016
  18. May 10, 2016
    • Anders Bakken's avatar
      TLS: SSL_peek is not a const operation · 856baf5a
      Anders Bakken authored
      Calling SSL_peek can cause bytes to be read from the raw socket which in
      turn can upset the select machinery that determines whether there's data
      available on the socket.
      
      Since Curl_ossl_check_cxn only tries to determine whether the socket is
      alive and doesn't actually need to see the bytes SSL_peek seems like
      the wrong function to call.
      
      We're able to occasionally reproduce a connect timeout due to this
      bug. What happens is that Curl doesn't know to call SSL_connect again
      after the peek happens since data is buffered in the SSL buffer and thus
      select won't fire for this socket.
      
      Closes #795
      856baf5a
  19. May 09, 2016
    • Daniel Stenberg's avatar
      TLS: move the ALPN/NPN enable bits to the connection · f6767f54
      Daniel Stenberg authored
      Only protocols that actually have a protocol registered for ALPN and NPN
      should try to get that negotiated in the TLS handshake. That is only
      HTTPS (well, http/1.1 and http/2) right now. Previously ALPN and NPN
      would wrongly be used in all handshakes if libcurl was built with it
      enabled.
      
      Reported-by: Jay Satiro
      
      Fixes #789
      f6767f54
  20. May 01, 2016
  21. Apr 28, 2016
  22. Apr 26, 2016
  23. Apr 25, 2016
  24. Apr 24, 2016
  25. Apr 21, 2016
  26. Apr 19, 2016
  27. Apr 17, 2016
  28. Apr 07, 2016
Loading