- May 22, 2012
-
-
Steve Holme authored
Due to the result code being reset to CURLE_OK when smtp_dophase_done() was called, postdata would incorrectly be sent to the server when the MAIL FROM or RCPT command was rejected. As such, libcurl would return the wrong result code from performing the operation and additionally set CURLINFO_RESPONSE_CODE to be that returned by the postdata command. Bug: http://curl.haxx.se/mail/lib-2012-05/0108.html Reported by: Gokhan Sengun
-
Tatsuhiro Tsujikawa authored
In nettle/md5.h, md5_init and md5_update are defined as macros to nettle_md5_init and nettle_md5_update respectively. This causes error when using MD5_params.md5_init and md5_update. This patch renames these members as md5_init_func and md5_update_func to avoid name conflict. For completeness, MD5_params.md5_final was also renamed as md5_final_func. The changes in curl_ntlm_core.c is conversion error and fixed by casting to proper type.
-
Guenter Knauf authored
-
- May 17, 2012
-
-
Steve Holme authored
A dot character at the beginning of a line would not be escaped to a double dot as required by RFC-2821, instead it would be deleted by the mail server. Please see section 4.5.2 of the RFC for more information. Note: This fix also simplifies the detection of repeated CRLF.CRLF combinations, such as CRLF.CRLF.CRLF, a little rather than having to advance the eob counter to 2.
-
- May 02, 2012
-
-
Gokhan Sengun authored
check whether md5 initialization succeeded before updating digest of buffers onto it
-
- Apr 26, 2012
-
-
Guenter Knauf authored
-
- Apr 23, 2012
-
-
Daniel Stenberg authored
Roman Mamedov spotted (in http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=670126) that curl would not complain when given a URL with an IPv6 numerical address without brackets. It would simply cut off the last ":[hex]" part and thus not work correctly. That's a URL using an illegal syntax and now libcurl will instead return a clear error code and error message detailing the error. The above mentioned bug report claims this to be a regression but libcurl does not guarantee functionality when given URLs that aren't following the URL spec (RFC3986 mostly). I consider the fact that it used to handle this differently a mere coincidence.
-
Daniel Stenberg authored
Bug: http://curl.haxx.se/mail/lib-2012-04/0246.html Reported by: Michael Mueller
-
Gokhan Sengun authored
curl needs to be more chatty regarding certificate verification failure during SSL handshake
-
- Apr 22, 2012
-
-
Steve Holme authored
-
Guenter Knauf authored
-
Guenter Knauf authored
-
Steve Holme authored
-
Steve Holme authored
Added version information for Windows SSPI to curl's main version string and removed SSPI from the features string.
-
- Apr 20, 2012
-
-
Daniel Stenberg authored
When doing a chunked-encoded POST with -d (CURLOPT_POSTFIELDS) and the size of the POST was zero length, it made libcurl first send a zero chunk and then the terminating one. This could confuse a receiver and it should rather just send the terminating chunk as it does with this fix. Test case 1333 is added to verify. Bug: http://curl.haxx.se/mail/archive-2012-04/0060.html Reported by: Arnaud Compan
-
Guenter Knauf authored
-
- Apr 19, 2012
-
-
Daniel Stenberg authored
Commit 9109cdec brought this regression (shipped since 7.24.0). The singleipconnect() function must not return an error if Curl_socket() returns an error. It should then simply return OK and pass a SOCKET_BAD back simply because that is how the user of this function expects it to work and something else is not fine. Reported by: Blaise Potard Bug: http://curl.haxx.se/bug/view.cgi?id=3516508
-
Yang Tse authored
MIPSPro compiler detected curl_easy_getinfo() related missing adjustments. SunPro compiler detected curl tool --libcurl option related missing adjustments.
-
- Apr 18, 2012
-
-
Yang Tse authored
Fail with CURLE_NOT_BUILT_IN when none of requested auth methods is supported. Reject CURLAUTH_ONLY bit when given alone or with CURLAUTH_NONE.
-
Yang Tse authored
Data type of internal vars holding CURLAUTH_* bitmasks changed from 'long' to 'unsigned long' for proper handling and operating.
-
- Apr 17, 2012
-
-
Yang Tse authored
-
- Apr 16, 2012
-
-
Yang Tse authored
-
- Apr 14, 2012
-
-
Yang Tse authored
Include stdbool.h only when it is available and configure is capable of detecting a proper 'bool' data type when the header is included. Compilation fix for old or unpatched versions of XL C compiler. Report: http://curl.haxx.se/mail/archive-2012-04/0022.html
-
Yang Tse authored
Usage in other code paths already protected and requiring even newer versions.
-
Jonathan Nieder authored
This protects from attribute names being defined by third party's code. Improvement: http://curl.haxx.se/mail/lib-2012-04/0127.html
-
- Apr 13, 2012
-
-
Yang Tse authored
-
Kamil Dudka authored
-
Kamil Dudka authored
NSS_InitContext() was introduced in NSS 3.12.5 and helps to prevent collisions on NSS initialization/shutdown with other libraries. Bug: https://bugzilla.redhat.com/738456
-
Kamil Dudka authored
This bumps the minimal supported version of NSS to 3.12.x.
-
- Apr 12, 2012
-
-
Guenter Knauf authored
-
Yang Tse authored
-
Guenter Knauf authored
-
Guenter Knauf authored
-
Yang Tse authored
-
- Apr 11, 2012
-
-
Yang Tse authored
configure script now provides conditional definitions for Makefile.am that result in CURL_HIDDEN_SYMBOLS being defined by resulting makefiles when appropriate. Additionally, configure script option for symbol hiding control is now named --enable-symbol-hiding --disable-symbol-hiding. While still valid, old option name --enable-hidden-symbols --disable-hidden-symbols will be deprecated in some future release.
-