Skip to content
  1. Nov 26, 2012
  2. Nov 21, 2012
  3. Nov 20, 2012
  4. Nov 18, 2012
  5. Nov 17, 2012
    • Daniel Stenberg's avatar
      mem-include-scan: verify memory #includes · ee588fe0
      Daniel Stenberg authored
      If we use memory functions (malloc, free, strdup etc) in C sources in
      libcurl and we fail to include curl_memory.h or memdebug.h we either
      fail to properly support user-provided memory callbacks or the memory
      leak system of the test suite fails.
      
      After Ajit's report of a failure in the first category in http_proxy.c,
      I spotted a few in the second category as well. These problems are now
      tested for by test 1132 which runs a perl program that scans for and
      attempts to check that we use the correct include files if a memory
      related function is used in the source code.
      
      Reported by: Ajit Dhumale
      Bug: http://curl.haxx.se/mail/lib-2012-11/0125.html
      ee588fe0
  6. Nov 16, 2012
  7. Nov 13, 2012
  8. Nov 12, 2012
  9. Nov 08, 2012
    • Daniel Stenberg's avatar
      hostcheck: only build for the actual users · 0af1a9d2
      Daniel Stenberg authored
      and make local function static
      0af1a9d2
    • Oscar Koeroo's avatar
      SSL: Several SSL-backend related fixes · 1394cad3
      Oscar Koeroo authored
      axTLS:
      
      This will make the axTLS backend perform the RFC2818 checks, honoring
      the VERIFYHOST setting similar to the OpenSSL backend.
      
      Generic for OpenSSL and axTLS:
      
      Move the hostcheck and cert_hostcheck functions from the lib/ssluse.c
      files to make them genericly available for both the OpenSSL, axTLS and
      other SSL backends. They are now in the new lib/hostcheck.c file.
      
      CyaSSL:
      
      CyaSSL now also has the RFC2818 checks enabled by default. There is a
      limitation that the verifyhost can not be enabled exclusively on the
      Subject CN field comparison. This SSL backend will thus behave like the
      NSS and the GnuTLS (meaning: RFC2818 ok, or bust). In other words:
      setting verifyhost to 0 or 1 will disable the Subject Alt Names checks
      too.
      
      Schannel:
      
      Updated the schannel information messages: Split the IP address usage
      message from the verifyhost setting and changed the message about
      disabling SNI (Server Name Indication, used in HTTP virtual hosting)
      into a message stating that the Subject Alternative Names checks are
      being disabled when verifyhost is set to 0 or 1. As a side effect of
      switching off the RFC2818 related servername checks with
      SCH_CRED_NO_SERVERNAME_CHECK
      (http://msdn.microsoft.com/en-us/library/aa923430.aspx) the SNI feature
      is being disabled. This effect is not documented in MSDN, but Wireshark
      output clearly shows the effect (details on the libcurl maillist).
      
      PolarSSL:
      
      Fix the prototype change in PolarSSL of ssl_set_session() and the move
      of the peer_cert from the ssl_context to the ssl_session. Found this
      change in the PolarSSL SVN between r1316 and r1317 where the
      POLARSSL_VERSION_NUMBER was at 0x01010100. But to accommodate the Ubuntu
      PolarSSL version 1.1.4 the check is to discriminate between lower then
      PolarSSL version 1.2.0 and 1.2.0 and higher. Note: The PolarSSL SVN
      trunk jumped from version 1.1.1 to 1.2.0.
      
      Generic:
      
      All the SSL backends are fixed and checked to work with the
      ssl.verifyhost as a boolean, which is an internal API change.
      1394cad3
    • Daniel Stenberg's avatar
      libcurl: VERSIONINFO update · 18c0e9bd
      Daniel Stenberg authored
      Since we added the curl_multi_wait function, the VERSIONINFO needed
      updating.
      
      Reported by: Patrick Monnerat
      18c0e9bd
    • Guenter Knauf's avatar
      Added .def file to output. · c70c1a22
      Guenter Knauf authored
      Requested by Johnny Luong on the libcurl list.
      c70c1a22
    • Daniel Stenberg's avatar
      Curl_readwrite: remove debug output · 7840c4c7
      Daniel Stenberg authored
      The text "additional stuff not fine" text was added for debug purposes a
      while ago, but it isn't really helping anyone and for some reason some
      Linux distributions provide their libcurls built with debug info still
      present and thus (far too many) users get to read this info.
      7840c4c7
  10. Nov 07, 2012
  11. Nov 06, 2012
  12. Nov 05, 2012
  13. Nov 04, 2012
    • Daniel Stenberg's avatar
      FTP: prevent the multi interface from blocking · b2954e66
      Daniel Stenberg authored
      As pointed out in Bug report #3579064, curl_multi_perform() would
      wrongly use a blocking mechanism internally for some commands which
      could lead to for example a very long block if the LIST response never
      showed.
      
      The solution was to make sure to properly continue to use the multi
      interface non-blocking state machine.
      
      The new test 1501 verifies the fix.
      
      Bug: http://curl.haxx.se/bug/view.cgi?id=3579064
      Reported by: Guido Berhoerster
      b2954e66
  14. Oct 23, 2012
  15. Oct 22, 2012
    • Nick Zitzmann's avatar
      metalink/md5: Use CommonCrypto on Apple operating systems · 94891ff2
      Nick Zitzmann authored
      Previously the Metalink code used Apple's CommonCrypto library only if
      curl was built using the --with-darwinssl option. Now we use CommonCrypto
      on all Apple operating systems including Tiger or later, or iOS 5 or
      later, so you don't need to build --with-darwinssl anymore. Also rolled
      out this change to libcurl's md5 code.
      94891ff2
  16. Oct 16, 2012
    • Nick Zitzmann's avatar
      darwinssl: un-broke iOS build, fix error on server disconnect · f1d2e185
      Nick Zitzmann authored
      The iOS build was broken by a reference to a function that only existed
      under OS X; fixed. Also fixed a hard-to-reproduce problem where, if the
      server disconnected before libcurl got the chance to hang up first and
      SecureTransport was in use, then we'd raise an error instead of failing
      gracefully.
      f1d2e185
  17. Oct 15, 2012
  18. Oct 09, 2012
  19. Oct 08, 2012