Skip to content
  1. Jan 23, 2013
  2. Jan 22, 2013
  3. Jan 21, 2013
    • Yang Tse's avatar
      xc-cc-check.m4: re-evaluate exporting and AC_SUBST'ing vars · efe46566
      Yang Tse authored
      Notes:
      
      When running a configure script that has nested packages (for example
      libcurl's configure with --enable-ares and c-ares sources embedded in
      curl tree) and AC_CONFIG_SUBDIRS([nested-subdir]) machinery is used to
      automatically run the nested configure script from within the parent
      configure script, it happens that the nested _shell_ script will
      inherit shell variables exported from the parent _shell_ script.
      
      If for example parent configure script sets and exports LDFLAGS and LIBS
      variables with proper values in order to link either a parent library or
      program with a library which will be configured and built by a nested
      package; It will happen that when the nested configure script runs, the
      nested library does not exist yet and _any_ link-test done in the nested
      configure will fail, such as those that autoconf macros perform in order
      to detect existing compiler and its characteristics, the result is that
      the nested configure script will fail with errors such as:
      
      configure: error: C compiler cannot create executables
      
      For now, we no longer export variables previously exported here.
      
      On the other hand, AC_SUBST'ing them is appropriate and even with nested
      packages each package's config.status gets its own package values.
      
      So we reinstate AC_SUBST'ing previously AC_SUBST'ed variables.
      efe46566
    • Daniel Stenberg's avatar
      FAQ: 3.22 curl -X gives me HTTP problems · 0ed4a092
      Daniel Stenberg authored
      0ed4a092
    • Yang Tse's avatar
  4. Jan 20, 2013
  5. Jan 19, 2013
  6. Jan 18, 2013
  7. Jan 17, 2013
  8. Jan 16, 2013
    • Yves Arrouye's avatar
      --libcurl: fix for non-zero default options · 4ed6b07d
      Yves Arrouye authored
      If the default value for an option taking a long as its value is non
      zero, and it is set by zero by a command line option, then that command
      line option is not reflected in --libcurl's output. This is because line
      520-521 of tool_setopt.c look like:
      
      if(!lval)
          skip = TRUE;
      
      An example of a command-line option doing so is the -k option that sets
      CURLOPT_SLL_VERIFYPEER and CURLOPT_SSL_VERIFYHOST to 0L, when the
      defaults are non-zero.
      4ed6b07d
  9. Jan 15, 2013
  10. Jan 14, 2013
  11. Jan 13, 2013
  12. Jan 12, 2013
  13. Jan 11, 2013
    • Kamil Dudka's avatar
      nss: clear session cache if a client cert from file is used · b36f1d26
      Kamil Dudka authored
      This commit fixes a regression introduced in 052a08ff.
      
      NSS caches certs/keys returned by the SSL_GetClientAuthDataHook callback
      and if we connect second time to the same server, the cached cert/key
      pair is used.  If we use multiple client certificates for different
      paths on the same server, we need to clear the session cache to force
      NSS to call the hook again.  The commit 052a08ff prevented the session
      cache from being cleared if a client certificate from file was used.
      
      The condition is now fixed to cover both cases: consssl->client_nickname
      is not NULL if a client certificate from the NSS database is used and
      connssl->obj_clicert is not NULL if a client certificate from file is
      used.
      
      Review by: Kai Engert
      b36f1d26