Skip to content
Snippets Groups Projects
  1. Oct 20, 2015
  2. Oct 17, 2015
  3. Oct 16, 2015
  4. Oct 15, 2015
    • Daniel Stenberg's avatar
      fread_func: move callback pointer from set to state struct · c6aedf68
      Daniel Stenberg authored
      ... and assign it from the set.fread_func_set pointer in the
      Curl_init_CONNECT function. This A) avoids that we have code that
      assigns fields in the 'set' struct (which we always knew was bad) and
      more importantly B) it makes it impossibly to accidentally leave the
      wrong value for when the handle is re-used etc.
      
      Introducing a state-init functionality in multi.c, so that we can set a
      specific function to get called when we enter a state. The
      Curl_init_CONNECT is thus called when switching to the CONNECT state.
      
      Bug: https://github.com/bagder/curl/issues/346
      
      Closes #346
      c6aedf68
  5. Oct 11, 2015
  6. Oct 09, 2015
  7. Oct 08, 2015
  8. Oct 04, 2015
    • Jay Satiro's avatar
      getinfo: Fix return code for unknown CURLINFO options · 69ea5797
      Jay Satiro authored
      - If a CURLINFO option is unknown return CURLE_UNKNOWN_OPTION.
      
      Prior to this change CURLE_BAD_FUNCTION_ARGUMENT was returned on
      unknown. That return value is contradicted by the CURLINFO option
      documentation which specifies a return of CURLE_UNKNOWN_OPTION on
      unknown.
      69ea5797
  9. Oct 01, 2015
  10. Sep 29, 2015
  11. Sep 27, 2015
  12. Sep 26, 2015
  13. Sep 23, 2015
  14. Sep 22, 2015
    • Mike Crowe's avatar
      gnutls: Support CURLOPT_KEYPASSWD · 6b56901b
      Mike Crowe authored
      
      The gnutls vtls back-end was previously ignoring any password set via
      CURLOPT_KEYPASSWD. Presumably this was because
      gnutls_certificate_set_x509_key_file did not support encrypted keys.
      
      gnutls now has a gnutls_certificate_set_x509_key_file2 function that
      does support encrypted keys. Let's determine at compile time whether the
      available gnutls supports this new function. If it does then use it to
      pass the password. If it does not then emit a helpful diagnostic if a
      password is set. This is preferable to the previous behaviour of just
      failing to read the certificate without giving a reason in that case.
      
      Signed-off-by: default avatarMike Crowe <mac@mcrowe.com>
      6b56901b
    • Daniel Stenberg's avatar
      CURLINFO_TLS_SESSION: always return backend info · 7362008c
      Daniel Stenberg authored
      ... even for those that don't support providing anything in the
      'internals' struct member since it offers a convenient way for
      applications to figure this out.
      7362008c
  15. Sep 20, 2015
    • Jay Satiro's avatar
      vtls: Change designator name for server's pubkey hash · 47b7d658
      Jay Satiro authored
      - Change the designator name we use to show the base64 encoded sha256
      hash of the server's public key from 'pinnedpubkey' to
      'public key hash'.
      
      Though the server's public key hash is only shown when comparing pinned
      public key hashes, the server's hash may not match one of the pinned.
      47b7d658
  16. Sep 19, 2015
  17. Sep 18, 2015
  18. Sep 17, 2015
  19. Sep 13, 2015
  20. Sep 10, 2015
  21. Sep 08, 2015
    • Daniel Stenberg's avatar
      parse_proxy: reject illegal port numbers · 87e533ac
      Daniel Stenberg authored
      If the port number in the proxy string ended weirdly or the number is
      too large, skip it. Mostly as a means to bail out early if a "bare" IPv6
      numerical address is used without enclosing brackets.
      
      Also mention the bracket requirement for IPv6 numerical addresses to the
      man page for CURLOPT_PROXY.
      
      Closes #415
      
      Reported-by: Marcel Raad
      87e533ac
    • Daniel Stenberg's avatar
      FTP: do_more: add check for wait_data_conn in upload case · 27620171
      Daniel Stenberg authored
      In some timing-dependnt cases when a 4xx response immediately followed
      after a 150 when a STOR was issued, this function would wrongly return
      'complete == true' while 'wait_data_conn' was still set.
      
      Closes #405
      
      Reported-by: Patricia Muscalu
      27620171
  22. Sep 04, 2015
  23. Sep 03, 2015
Loading