Skip to content
  1. Mar 10, 2012
  2. Mar 08, 2012
  3. Mar 05, 2012
  4. Feb 25, 2012
  5. Feb 24, 2012
  6. Feb 23, 2012
    • Steve Holme's avatar
      SMTP: Added support for returning SMTP response codes · 54300072
      Steve Holme authored
      Set the conn->data->info.httpcode variable in smtp_statemach_act() to
      allow Curl_getinfo() to return the SMTP response code via the
      CURLINFO_RESPONSE_CODE action.
      54300072
    • Daniel Stenberg's avatar
      curl.1: updated --libcurl · 779fa13e
      Daniel Stenberg authored
      With Colin Hogben's recent work, --libcurl now also works with -F and
      more. Remove the previous caveat.
      779fa13e
    • Daniel Stenberg's avatar
      test: --libcurl fixes · 1a7bba19
      Daniel Stenberg authored
      The line endings broke when I saved the three recent patches (my fault,
      not Colin's) to 'git am' them.
      
      Adjusted the stripping of the test program for comparing to also exclude
      the SSH key file name as that will differ and use a local path name.
      1a7bba19
    • Colin Hogben's avatar
      Add helper script convsrctest.pl to manipulate --libcurl tests. · 21130dab
      Colin Hogben authored
      The intention is to take the output of curl's --libcurl option,
      as exercised in test 14xx, and generate a corresponding test15xx
      in which the generated code is compiled and run.  This will verify
      that the generated code behaves equivalently to the original
      invocation of the curl command.
      
      The script is not yet integrated into the configure / makefile
      machinery.
      21130dab
    • Colin Hogben's avatar
      Add tests for curl's --libcurl output. · c3cae332
      Colin Hogben authored
      These tests check the output of the --libcurl option of curl,
      including the improved option handling added in a related patch.
      c3cae332
    • Colin Hogben's avatar
      Generate lists and use symbols in --libcurl code output. · 99542429
      Colin Hogben authored
      This patch improves the output of curl's --libcurl option by
      generating code which builds curl_httppost and curl_slist lists, and
      uses symbolic names for enum and flag values.  Variants of the
      my_setopt macro in tool_setopt.h are added in order to pass extra type
      information to the code-generation step in tool_setopt.c.
      
      If curl is configured with --disable-libcurl-option then the macros
      call curl_easy_setopt directly.
      99542429
  7. Feb 21, 2012
  8. Feb 19, 2012
  9. Feb 17, 2012
    • Steve Holme's avatar
      smtp.c: Fixed an issue with the EOB checking · 3d98aed5
      Steve Holme authored
      Curl_smtp_escape_eob() would leave off final CRLFs from emails ending
      in multiple blank lines additionally leaving the smtpc->eob variable
      with the character count in, which would cause problems for additional
      emails when sent through multiple calls to curl_easy_perform() after a
      CURLOPT_CONNECT_ONLY.
      3d98aed5
    • Daniel Stenberg's avatar
      CURLE_FTP_PRET_FAILED: listed twice · 4cf742f3
      Daniel Stenberg authored
      Make sure it is mentioned once and with the correct description
      4cf742f3
  10. Feb 16, 2012
  11. Feb 15, 2012
    • Steve Holme's avatar
      DOCS: Added information for CURLOPT_MAIL_AUTH. · 154c0d4b
      Steve Holme authored
      Added information relating to the new CURLOPT_MAIL_AUTH parameter and
      reworked CURLOPT_MAIL_FROM and CURLOPT_MAIL_RCPT to be a clearer.
      
      Fixed inconsistencies of "vocalisation of the abbreviation" versus
      "vocalisation of the first word" for all abbreviations.
      
      Corrected a typo in CURLOPT_NOPROXY.
      154c0d4b
    • Steve Holme's avatar
      smtp.c: Fixed use of angled brackets in AUTH parameter. · b685481d
      Steve Holme authored
      Fixed the use of angled brackets "<>" in the optional AUTH parameter as
      per RFC-2554 section 5. The address should not include them but an
      empty address should be replaced by them.
      b685481d
  12. Feb 14, 2012
    • Steve Holme's avatar
      smtp_mail: Added support to MAIL FROM for the optional AUTH parameter · 0cf0ab6f
      Steve Holme authored
      Added a new CURLOPT_MAIL_AUTH option that allows the calling program to
      set the optional AUTH parameter in the MAIL FROM command.
      
      When this option is specified and an authentication mechanism is used
      to communicate with the mail server then the AUTH parameter will be
      included in the MAIL FROM command. This is particularly useful when the
      calling program is acting as a relay in a trusted environment and
      performing server to server communication, as it allows the relaying
      server to specify the address of the mailbox that was used to
      authenticate and send the original email.
      0cf0ab6f
    • toddouska's avatar
      cyassl: update to CyaSSL 2.0.x API · ee7e4fc1
      toddouska authored
      Modify configure.ac to test for new CyaSSL Init function and remove
      default install path to system.  Change to CyaSSL OpenSSL header and
      proper Init in code as well.
      
      Note that this no longer detects or works with CyaSSL before v2
      ee7e4fc1
    • Daniel Stenberg's avatar
      LIBCURL_VERSION_NUM: 0x071900 · 02012805
      Daniel Stenberg authored
      I accidentally left the lowest bits 01 before
      02012805
    • Steve Holme's avatar
      SMTP: Fixed error when using CURLOPT_CONNECT_ONLY · 69406f0b
      Steve Holme authored
      Fixed incorrect behavior in smtp_done() which would cause the end of
      block data to be sent to the SMTP server if libcurl was operating in
      connect only mode. This would cause the server to return an error as
      data would not be expected which in turn caused libcurl to return
      CURLE_RECV_ERROR.
      69406f0b
  13. Feb 13, 2012
  14. Feb 10, 2012
    • Daniel Stenberg's avatar
      parse_proxy: simply memory handling · 7ed25fcc
      Daniel Stenberg authored
      ... by making sure that the string is always freed after the invoke as
      parse_proxy will always copy the data and this way there's a single
      free() instead of multiple ones.
      7ed25fcc