Skip to content
  1. Aug 12, 2013
    • Kamil Dudka's avatar
      nss: make sure that NSS is initialized · 204126a5
      Kamil Dudka authored
      ... prior to calling PK11_GenerateRandom()
      204126a5
    • Daniel Stenberg's avatar
      multi: s/easy/data · 2ae3d28f
      Daniel Stenberg authored
      With everything being struct SessionHandle pointers now, this rename
      makes multi.c use the library-wide practise of calling that pointer
      'data' instead of the previously used 'easy'.
      2ae3d28f
    • Daniel Stenberg's avatar
      cleanup: removed one function, made one static · 8a42c2ef
      Daniel Stenberg authored
      Moved Curl_easy_addmulti() from easy.c to multi.c, renamed it to
      easy_addmulti and made it static.
      
      Removed Curl_easy_initHandleData() and uses of it since it was emptied
      in commit cdda92ab67b47d74a.
      8a42c2ef
    • Daniel Stenberg's avatar
      SessionHandle: the protocol specific pointer is now a void * · e79535bc
      Daniel Stenberg authored
      All protocol handler structs are now opaque (void *) in the
      SessionHandle struct and moved in the request-specific sub-struct
      'SingleRequest'. The intension is to keep the protocol specific
      knowledge in their own dedicated source files [protocol].c etc.
      
      There's some "leakage" where this policy is violated, to be addressed at
      a later point in time.
      e79535bc
    • Daniel Stenberg's avatar
      urldata: clean up the use of the protocol specific structs · 4ad8e142
      Daniel Stenberg authored
      1 - always allocate the struct in protocol->setup_connection. Some
      protocol handlers had to get this function added.
      
      2 - always free at the end of a request. This is also an attempt to keep
      less memory in the handle after it is completed.
      4ad8e142
  2. Aug 09, 2013
  3. Aug 08, 2013
    • Daniel Stenberg's avatar
      global dns cache: fix memory leak · d20def20
      Daniel Stenberg authored
      The take down of the global dns cache didn't take CURLOPT_RESOLVE names
      into account.
      d20def20
    • Daniel Stenberg's avatar
      global dns cache: didn't work [regression] · d2b36e46
      Daniel Stenberg authored
      CURLOPT_DNS_USE_GLOBAL_CACHE broke in commit c4312741 (been
      broken since the libcurl 7.29.0 release). While this option has been
      documented as deprecated for almost a decade and nobody even reported
      this bug, it should remain functional.
      
      Added test case 1512 to verify
      d2b36e46
    • Daniel Stenberg's avatar
      FTP: renamed several local functions · 058b86e6
      Daniel Stenberg authored
      The previous naming scheme ftp_state_post_XXXX() wasn't really helpful
      as it wasn't always immediately after 'xxxx' and it wasn't easy to
      understand what it does based on such a name.
      
      This new one is instead ftp_state_yyyy() where yyyy describes what it
      does or sends.
      058b86e6
  4. Aug 06, 2013
    • Daniel Stenberg's avatar
      FTP: when EPSV gets a 229 but fails to connect, retry with PASV · 7cc00d9a
      Daniel Stenberg authored
      This is a regression as this logic used to work. It isn't clear when it
      broke, but I'm assuming in 7.28.0 when we went all-multi internally.
      
      This likely never worked with the multi interface. As the failed
      connection is detected once the multi state has reached DO_MORE, the
      Curl_do_more() function was now expanded somewhat so that the
      ftp_do_more() function can request to go "back" to the previous state
      when it makes another attempt - using PASV.
      
      Added test case 1233 to verify this fix. It has the little issue that it
      assumes no service is listening/accepting connections on port 1...
      
      Reported-by: byte_bucket in the #curl IRC channel
      7cc00d9a
    • Nick Zitzmann's avatar
      md5: remove use of CommonCrypto-to-OpenSSL macros for the benefit of Leopard · 230e16dc
      Nick Zitzmann authored
      For some reason, OS X 10.5's GCC suddenly stopped working correctly with
      macros that change MD5_Init etc. in the code to CC_MD5_Init etc., so I
      worked around this by removing use of the macros and inserting static
      functions that just call CommonCrypto's implementations of the functions
      instead.
      230e16dc
  5. Aug 05, 2013
    • Guenter Knauf's avatar
      Simplify check for trusted certificates. · 0ce410a6
      Guenter Knauf authored
      This changes the previous check for untrusted certs to a check for
      certs explicitely marked as trusted.
      The change is backward-compatible (tested with certdata.txt v1.80).
      0ce410a6
  6. Aug 04, 2013
  7. Aug 03, 2013
  8. Jul 31, 2013
  9. Jul 29, 2013
  10. Jul 26, 2013
  11. Jul 24, 2013
  12. Jul 23, 2013
  13. Jul 21, 2013
    • Daniel Stenberg's avatar
      curl_multi_wait: fix revents · 513e587c
      Daniel Stenberg authored
      Commit 6d30f8eb didn't work properly. First, it used the wrong
      array index, but this fix also:
      
      1 - only does the copying if indeed there was any activity
      
      2 - makes sure to properly translate between internal and external
      bitfields, which are not guaranteed to match
      
      Reported-by: Evgeny Turnaev
      513e587c
  14. Jul 19, 2013