Skip to content
  1. Apr 10, 2011
    • Daniel Stenberg's avatar
      OpenSSL: no-sslv2 aware · c66b0b32
      Daniel Stenberg authored
      Allow openSSL without SSL2 to be used. This fix is inspired by the fix
      provided by Cristian Rodrguez.
      
      Reported by: Cristian Rodrguez
      c66b0b32
  2. Apr 08, 2011
  3. Apr 07, 2011
    • Daniel Stenberg's avatar
      mk-ca-bundle.pl: show full URL in output · 23544f35
      Daniel Stenberg authored
      When I decided to search for a potential error with the cacert bundle it
      struck me I wanted to see the full source URL in the output...
      23544f35
    • Gisle Vanem's avatar
      lib/Makefile.b32: updates · 89fa3b3e
      Gisle Vanem authored
      * Rename the object object directory from 'objs' to 'BCC_obj'. I feel
       it should be named properly. Ref. Makefile.Watcom where it's called
       'WC_Win32.obj'.
      
      * Turn off these warnings to keep the build totally silent (with CBuilder-6
       that is).
        -w-inl    8026 Functions X are not expanded inline.
        -w-pia   8060 Possibly incorrect assignment
        -w-pin  8061 Initialization is only partially bracketed
      
      I'm sure the warnings could be fixed the "proper" way or with some added
      "#pragma" statements. But that just clutters the sources IMHO.
      
      * $(MKDIR) and $(RMDIR) have been replaced with the shell-commands 'md'
       and 'rd'. When having MingW/Msys programs 'mkdir.exe' and 'rmdir.exe' in
      $PATH, this confuses Borland's make and the result (the cleaning etc.) would
       not be as expected.
      
      * Added a ".path.int = $(OBJDIR)" to tell make where the $(PREPROCESSED)
       files are. Why we need the preprocess step in the fist place is beyond me
      (Yang?). But I'll leave that for now.
      89fa3b3e
    • Chris Smowton's avatar
      HTTP pipelining: Fix handling of zero-length responses · d54668eb
      Chris Smowton authored
      Also add test case 584 for the same
      
      Bug: http://curl.haxx.se/bug/view.cgi?id=3214223
      d54668eb
  4. Apr 06, 2011
  5. Apr 05, 2011
    • Daniel Stenberg's avatar
      return code cleanup: build, init and run-time errors · 01f05d0c
      Daniel Stenberg authored
      Stop the abuse of CURLE_FAILED_INIT as return code for things not being
      init related by introducing two new return codes:
      
      CURLE_NOT_BUILT_IN and CURLE_UNKNOWN_OPTION
      
      CURLE_NOT_BUILT_IN replaces return code 4 that has been obsoleted for
      several years. It is used for returning error when something is
      attempted to be used but the feature/option was not enabled or
      explictitly disabled at build-time. Getting this error mostly means that
      libcurl needs to be rebuilt.
      
      CURLE_FAILED_INIT is now saved and used strictly for init
      failures. Getting this problem means something went seriously wrong,
      like a resource shortage or similar.
      
      CURLE_UNKNOWN_OPTION is the option formerly known as
      CURLE_UNKNOWN_TELNET_OPTION (and the old name is still present,
      separately defined to be removed in a very distant future). This error
      code is meant to be used to return when an option is given to libcurl
      that isn't known. This problem would mostly indicate a problem in the
      program that uses libcurl.
      01f05d0c
    • Daniel Stenberg's avatar
      FTP+proxy: macrofied functions when proxy disabled · 8321a367
      Daniel Stenberg authored
      In my attempts to reduce #ifdefs in code, the SOCKS functions are now
      macros when libcurl is built without proxy support and therefore the FTP
      code could avoid some #ifs.
      8321a367
    • Ben Noordhuis's avatar
    • Ben Noordhuis's avatar
  6. Apr 04, 2011
    • Daniel Stenberg's avatar
      http-proxy: move proxy code to http_proxy.c · 02dbfa21
      Daniel Stenberg authored
      The new http_proxy.* files now host HTTP proxy specific code (500+ lines
      moved out from http.c), and as a consequence there is a macro introduced
      for the Curl_proxyCONNECT() function so that code can use it without
      actually supporting proxy (or HTTP) in builds.
      02dbfa21
    • Daniel Stenberg's avatar
      disable cookies: remove ifdefs, move code · 9d1e914a
      Daniel Stenberg authored
      1 - make sure to #define macros for cookie functions in the cookie
      header when cookies are disabled to avoid having to use #ifdefs in code
      using those functions.
      
      2 - move cookie-specific code to cookie.c and use the functio
      conditionally as mentioned in (1).
      
      net result: 6 #if lines removed, and 9 lines of code less
      9d1e914a
    • Kamil Dudka's avatar
      nss: fix a crash within SSL_AuthCertificate() · d3408d05
      Kamil Dudka authored
      The bug was introduced in 806dbb02 (a wrong value was passed in as the
      first argument to the default callback in our wrapper).
      d3408d05
  7. Apr 02, 2011
  8. Apr 01, 2011
  9. Mar 29, 2011
  10. Mar 25, 2011
    • Peter Sylvester's avatar
      TSL-SRP: enabled with OpenSSL · 2531cd94
      Peter Sylvester authored
      If a new enough OpenSSL version is used, configure detects the TLS-SRP
      support and enables it.
      2531cd94
    • Daniel Stenberg's avatar
      fix: re-use of bound connections · 11c2db2a
      Daniel Stenberg authored
      When asked to bind the local end of a connection when doing a request,
      the code will now disqualify other existing connections from re-use even
      if they are connected to the correct remote host.
      
      This will also affect which connections that can be used for pipelining,
      so that only connections that aren't bound or bound to the same
      device/port you're asking for will be considered.
      11c2db2a
  11. Mar 23, 2011
    • Daniel Stenberg's avatar
      rtsp: move protocol code to dedicated file · cc9e4321
      Daniel Stenberg authored
      The RTSP-specific function for checking for "dead" connection is better
      located in rtsp.c. The code using this is now written without #ifdefs as
      the function call is instead turned into a macro (in rtsp.h) when RTSP
      is disabled.
      cc9e4321
    • Daniel Stenberg's avatar
      ipv6: only probe once · 67eb6792
      Daniel Stenberg authored
      Move ipv6-functional-probe into a single function that is used from all
      places that need to know.
      
      Make the probe function store the result in a static variable so that
      subsequent invokes just returns the previous result and won't have to
      probe again.
      67eb6792
  12. Mar 22, 2011
  13. Mar 20, 2011
  14. Mar 19, 2011
  15. Mar 18, 2011
  16. Mar 17, 2011
  17. Mar 15, 2011