1. 24 Jan, 2013 6 commits
    • Yang Tse's avatar
      zz40-xc-ovr.m4: parentheses balancing of 'case' statements · 2bfb8b60
      Yang Tse authored
      m4 quadrigraph shell comment technique allows proper autoconf
      parentheses balancing in shell 'case' statements. The presence
      of unbalanced parentheses may otherwise trigger expansion bugs.
      2bfb8b60
    • Steve Holme's avatar
      smtp.c: Corrected RFC references · fda0f14f
      Steve Holme authored
      The most recent version of the SMTP RFC is RFC5321 and not RFC2821 as
      previously documented.
      
      Added RFC1870 and re-ordered list numerically.
      fda0f14f
    • Steve Holme's avatar
      smtp.c: Fixed failure detection during TLS upgrade · f8ba1273
      Steve Holme authored
      smtp_state_upgrade_tls() would attempt to incorrectly complete the
      upgrade to smtps and start the EHLO command if
      Curl_ssl_connect_nonblocking() returned a failure code and if ssldone
      was set to TRUE. This would only happen when a non-blocking API hadn't
      been provided by the SSL implementation and curlssl_connect() was
      called underneath.
      f8ba1273
    • Steve Holme's avatar
      pop3.c: Fixed failure detection during TLS upgrade · 8b275718
      Steve Holme authored
      pop3_state_upgrade_tls() would attempt to incorrectly complete the
      upgrade to pop3s and start the CAPA command if
      Curl_ssl_connect_nonblocking() returned a failure code and if ssldone
      was set to TRUE. This would only happen when a non-blocking API hadn't
      been provided by the SSL implementation and curlssl_connect() was
      called underneath.
      8b275718
    • Steve Holme's avatar
      imap.c: Fixed failure detection during TLS upgrade · 379d63ec
      Steve Holme authored
      imap_state_upgrade_tls() would attempt to incorrectly complete the
      upgrade to imaps and start the CAPABILITY command if
      Curl_ssl_connect_nonblocking() returned a failure code and if ssldone
      was set to TRUE. This would only happen when a non-blocking API hadn't
      been provided by the SSL implementation and curlssl_connect() was
      called underneath.
      379d63ec
    • Yang Tse's avatar
      zz40-xc-ovr.m4: internals overhauling · b1826d81
      Yang Tse authored
      - Update comments
      - Execute commands in subshells
      - Faster path separator check
      - Fix missing 'test' command
      - Rename private macros
      - Minimize AC_REQUIRE usage
      b1826d81
  2. 23 Jan, 2013 7 commits
  3. 22 Jan, 2013 4 commits
  4. 21 Jan, 2013 3 commits
    • 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
      a3e65b1a
  5. 20 Jan, 2013 4 commits
  6. 19 Jan, 2013 4 commits
  7. 18 Jan, 2013 4 commits
  8. 17 Jan, 2013 3 commits
  9. 16 Jan, 2013 1 commit
    • 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
  10. 15 Jan, 2013 4 commits
    • Daniel Stenberg's avatar
      533c31b7
    • Yang Tse's avatar
      commit bc682cbd follow-up · 7ab3ae0b
      Yang Tse authored
      7ab3ae0b
    • Yang Tse's avatar
      build: use per-target '_CPPFLAGS' for those currently using default · 4b401b2d
      Yang Tse authored
      Automake documents that doing this will make it choose a different name
      for intermediate object files even when sharing source files across
      targets of same Makefile.am.
      
      Up to automake 1.13.1 target's intermediate object files were placed
      in the build subdirectory of the target. We depended on this, probably
      undocumented behavior, to achieve same behavior as if a per-target flag
      had been specified when building targets that actually belong to
      different Makefile.am files.
      
      It seems automake 1.13.2 is going to break behavior mentioned above.
      
      So, lets use a documented behavior in order to achieve same purpose,
      across automake versions, no matter where automake wishes to place
      intermediate object files.
      
      Our build targets that already were using a per-target '_CFLAGS' or
      '_CPPFLAGS' need no 'fixing', these were already 'fixed'. The only
      Makefile.am or Makefile.in files in libcurl's source tree touched by
      this 'fix' are tests/libtest/Makefile.inc and tests/unit/Makefile.inc.
      4b401b2d
    • Yang Tse's avatar
      tests/libtest/Makefile.inc: sort build targets · d7f2c3af
      Yang Tse authored
      d7f2c3af