1. 27 Jun, 2018 1 commit
  2. 25 Jun, 2018 2 commits
  3. 24 Jun, 2018 2 commits
  4. 23 Jun, 2018 3 commits
  5. 22 Jun, 2018 1 commit
  6. 21 Jun, 2018 3 commits
  7. 18 Jun, 2018 1 commit
  8. 17 Jun, 2018 1 commit
  9. 16 Jun, 2018 1 commit
    • Daniel Stenberg's avatar
      multi: fix memory leak when stopped during name resolve · ac9a179f
      Daniel Stenberg authored
      When the application just started the transfer and then stops it while
      the name resolve in the background thread hasn't completed, we need to
      wait for the resolve to complete and then cleanup data accordingly.
      
      Enabled test 1553 again and added test 1590 to also check when the host
      name resolves successfully.
      
      Detected by OSS-fuzz.
      Closes #1968
      ac9a179f
  10. 15 Jun, 2018 7 commits
  11. 14 Jun, 2018 6 commits
  12. 13 Jun, 2018 4 commits
  13. 12 Jun, 2018 4 commits
    • Daniel Stenberg's avatar
      runtests: support variables in <strippart> · bb9a340c
      Daniel Stenberg authored
      ... and make use of that to make 1455 work better without using a fixed
      local port number.
      
      Fixes #2649
      Closes #2650
      bb9a340c
    • Daniel Stenberg's avatar
      Curl_debug: remove dead printhost code · 5ae22272
      Daniel Stenberg authored
      The struct field is never set (since 5e0d9aea) so remove the use of it
      and remove the connectdata pointer from the prototype.
      
      Reported-by: Tejas
      Bug: https://curl.haxx.se/mail/lib-2018-06/0054.html
      Closes #2647
      5ae22272
    • Viktor Szakats's avatar
      schannel: avoid incompatible pointer warning · 819f44dc
      Viktor Szakats authored
      with clang-6.0:
      ```
      vtls/schannel_verify.c: In function 'add_certs_to_store':
      vtls/schannel_verify.c:212:30: warning: passing argument 11 of 'CryptQueryObject' from incompatible pointer type [-Wincompatible-pointer-types]
                                    &cert_context)) {
                                    ^
      In file included from /usr/share/mingw-w64/include/schannel.h:10:0,
                       from /usr/share/mingw-w64/include/schnlsp.h:9,
                       from vtls/schannel.h:29,
                       from vtls/schannel_verify.c:40:
      /usr/share/mingw-w64/include/wincrypt.h:4437:26: note: expected 'const void **' but argument is of type 'CERT_CONTEXT ** {aka struct _CERT_CONTEXT **}'
         WINIMPM WINBOOL WINAPI CryptQueryObject (DWORD dwObjectType, const void *pvObject, DWORD dwExpectedContentTypeFlags, DWORD dwExpectedFormatTypeFlags, DWORD dwFlags,
                                ^~~~~~~~~~~~~~~~
      ```
      Ref: https://msdn.microsoft.com/library/windows/desktop/aa380264
      
      Closes https://github.com/curl/curl/pull/2648
      819f44dc
    • Robert Prag's avatar
      schannel: support selecting ciphers · 9aefbff3
      Robert Prag authored
      Given the contstraints of SChannel, I'm exposing these as the algorithms
      themselves instead; while replicating the ciphersuite as specified by
      OpenSSL would have been preferable, I found no way in the SChannel API
      to do so.
      
      To use this from the commandline, you need to pass the names of contants
      defining the desired algorithms. For example, curl --ciphers
      "CALG_SHA1:CALG_RSA_SIGN:CALG_RSA_KEYX:CALG_AES_128:CALG_DH_EPHEM"
      https://github.com The specific names come from wincrypt.h
      
      Closes #2630
      9aefbff3
  14. 11 Jun, 2018 4 commits