- Mar 08, 2012
-
-
Daniel Stenberg authored
The check for Winsock definition was a bit too broad Bug: http://curl.haxx.se/mail/lib-2012-03/0046.html
-
Dave Reisner authored
In line with the manpage, curl-config --libs should only provide the necessary library flags for the linker in order to compile software with libcurl. Also with this change, we match what the pkg-config file provides.
-
- Mar 05, 2012
-
-
Daniel Stenberg authored
-
- Feb 25, 2012
-
-
Daniel Stenberg authored
Correct some inconsistencies in which version some things were added. Bug: http://curl.haxx.se/bug/view.cgi?id=3494091 Reported by: "curlybugs"
-
- Feb 24, 2012
-
-
Daniel Stenberg authored
Commit 466150bc fixed the Host: header with CONNECT, but I then forgot the preceeding request-line. Now this too uses [brackets] properly if a ipv6 numerical address was given. Bug: http://curl.haxx.se/bug/view.cgi?id=3493129 Reported by: "Blacat"
-
- Feb 23, 2012
-
-
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.
-
Daniel Stenberg authored
With Colin Hogben's recent work, --libcurl now also works with -F and more. Remove the previous caveat.
-
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.
-
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.
-
Colin Hogben authored
These tests check the output of the --libcurl option of curl, including the improved option handling added in a related patch.
-
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.
-
- Feb 21, 2012
-
-
Steve Holme authored
Fixed a problem in smtp_done() when writing out the postdata as Curl_write() would periodically return zero bytes written.
-
Daniel Stenberg authored
Brought in commit 0cf0ab6f
-
Daniel Stenberg authored
With commit 035ef06b applied, the test pop3 server needs to send ".\r\n" as the body terminating sequence and there needs to be a final CRLF in the actual body in the test data file.
-
- Feb 19, 2012
-
-
Steve Holme authored
Curl_pop3_write() would drop the final CRLF of a message as it was considered part of the EOB as opposed to part of the message. Whilst the EOB sequence needs to be searched for by the function only the final 3 characters should be removed as per RFC-1939 section 3. Reported by: Rich Gray Bug: http://curl.haxx.se/mail/lib-2012-02/0051.html
-
- Feb 17, 2012
-
-
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.
-
Daniel Stenberg authored
Make sure it is mentioned once and with the correct description
-
- Feb 16, 2012
-
-
Daniel Stenberg authored
-
Steve Holme authored
-
Steve Holme authored
Added an extra command-line argument to support the optional AUTH parameter in SMTPs MAIL FROM command.
-
Kamil Dudka authored
-
- Feb 15, 2012
-
-
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.
-
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.
-
- Feb 14, 2012
-
-
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.
-
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
-
Daniel Stenberg authored
I accidentally left the lowest bits 01 before
-
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.
-
- Feb 13, 2012
-
-
Daniel Stenberg authored
We will go straight to 7.25.0 due to the new additions
-
Daniel Stenberg authored
and updated the end year in the generic copyright string
-
Daniel Stenberg authored
9 bug fixes, 4 changes and numerous contributors Bumped release version and option counters
-
Colin Hogben authored
-
Alessandro Ghedini authored
Fix the str2num() function to not check if the input string starts with a digit, since strtol() supports numbers prepended with '-' (and '+') too. This makes the --max-redirs option work as documented.
-
- Feb 10, 2012
-
-
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.
-
Daniel Stenberg authored
The proxy parser function strips off trailing slashes off the proxy name which could lead to a mistaken zero length proxy name which would be treated as no proxy at all by subsequent functions! This is now detected and an error is returned. Verified by the new test 1329. Reported by: Chandrakant Bagul Bug: http://curl.haxx.se/mail/lib-2012-02/0000.html
-
- Feb 09, 2012
-
-
Kamil Dudka authored
... and fix some typos from the 62d15f15 commit.
-
Rob Ward authored
-
Daniel Stenberg authored
This new option tells curl to not work around a security flaw in the SSL3 and TLS1.0 protocols. It uses the new libcurl option CURLOPT_SSL_OPTIONS with the CURLSSLOPT_ALLOW_BEAST bit set.
-
Daniel Stenberg authored
Allow an appliction to set libcurl specific SSL options. The first and only options supported right now is CURLSSLOPT_ALLOW_BEAST. It will make libcurl to disable any work-arounds the underlying SSL library may have to address a known security flaw in the SSL3 and TLS1.0 protocol versions. This is a reaction to us unconditionally removing that behavior after this security advisory: http://curl.haxx.se/docs/adv_20120124B.html ... it did however cause a lot of programs to fail because of old servers not liking this work-around. Now programs can opt to decrease the security in order to interoperate with old servers better.
-
Dave Reisner authored
Use the new library CURLOPT_TCP_KEEPALIVE rather than disabling this via the sockopt callback. If --keepalive-time is used, apply the value to CURLOPT_TCP_KEEPIDLE and CURLOPT_TCP_KEEPINTVL.
-
Dave Reisner authored
This adds three new options to control the behavior of TCP keepalives: - CURLOPT_TCP_KEEPALIVE: enable/disable probes - CURLOPT_TCP_KEEPIDLE: idle time before sending first probe - CURLOPT_TCP_KEEPINTVL: delay between successive probes While not all operating systems support the TCP_KEEPIDLE and TCP_KEEPINTVL knobs, the library will still allow these options to be set by clients, silently ignoring the values.
-