- 10 Apr, 2012 3 commits
-
-
Yang Tse authored
Undefine CURL_HIDDEN_SYMBOLS libcurl private preprocessor macro that might leak from lib/setup.h into source files where this should not be defined.
-
Yang Tse authored
Undefine CURL_HIDDEN_SYMBOLS libcurl private preprocessor macro that might leak from lib/setup.h into source files where this should not be defined.
-
Yang Tse authored
-
- 09 Apr, 2012 2 commits
- 08 Apr, 2012 1 commit
-
-
Yang Tse authored
-
- 06 Apr, 2012 4 commits
-
-
Yang Tse authored
amigaos.[ch] now integrates nicely with any libcurl build
-
Yang Tse authored
Configuration files such as curl_config.h and all config-*.h no longer exist nor are generated/copied into 'src' directory, now these only exist in 'lib' directory from where curl tool sources uses them. Additionally old src/setup.h has been refactored into src/tool_setup.h which now pulls lib/setup.h The possibility of a makefile needing an include path adjustment exists.
-
Daniel Stenberg authored
When a server certificate matches one in the given CRL file, the code now returns CURLE_SSL_CACERT as test case 313 expects and verifies.
-
Daniel Stenberg authored
Previously it would say PolarSSL only, now it says PolarSSL/1.1.0 in the same style other libs and components do.
-
- 05 Apr, 2012 4 commits
-
-
Daniel Stenberg authored
-
Daniel Stenberg authored
-
Andrei Cipu authored
As it turns out, some people do want that after all.
-
Daniel Stenberg authored
Verify that cookies are sent back even after a 407 response has been received
-
- 04 Apr, 2012 7 commits
-
-
Dag Ekengren authored
-
Tim Heckman authored
This reverts commit f7e2ab62. This change caused fetching of the certificates to become unreliable. Bug: http://curl.haxx.se/mail/lib-2012-03/0238.html Reported by: Tim Heckman
-
Andrei Cipu authored
Commit 97b66ebe was copying a smaller buffer, thus duplicating the last character.
-
Daniel Stenberg authored
... as it seems to hard for some people
-
Yang Tse authored
-
Yang Tse authored
-
Yang Tse authored
-
- 03 Apr, 2012 2 commits
-
-
Daniel Stenberg authored
Don't set the "has_openssl" variable if yassl or polarssl is found as they will simply not work as 100% drop-in replacements for some of the stuff the "OpenSSL" feature is used for. I spotted this problem when doing test runs with PolarSSL builds.
-
Lijo Antony authored
Curl_socket returns CURLE_COULDNT_CONNECT when the opensocket callback returns CURL_SOCKET_BAD. Previous return value CURLE_FAILED_INIT conveys incorrect information to the user.
-
- 02 Apr, 2012 1 commit
-
-
Steve Holme authored
Reworked the command sending from two specific LIST and RETR command functions into a single command based function as well as the two associated response handlers into a generic command handler.
-
- 01 Apr, 2012 4 commits
-
-
Dave Reisner authored
By modifying the parameter list for ourWriteOut() and passing the OutStruct that collects data in tool_operate, we get access to the remote name that we're writing to. Shell scripters should find this useful when used in conjuntion with the --remote-header-name option.
-
Steve Holme authored
-
Armel Asselin authored
If an empty string is passed to CURLOPT_SSH_PUBLIC_KEYFILE, libcurl will pass no public key to libssh2 which then tries to compute it from the private key. This is known to work when libssh2 1.4.0+ is linked against OpenSSL.
-
Tatsuhiro Tsujikawa authored
This change replaces RFC 2818 based hostname check in OpenSSL build with RFC 6125 [1] based one. The hostname check in RFC 2818 is ambiguous and each project implements it in the their own way and they are slightly different. I check curl, gnutls, Firefox and Chrome and they are all different. I don't think there is a bug in current implementation of hostname check. But it is not as strict as the modern browsers do. Currently, curl allows multiple wildcard character '*' and it matches '.'. (as described in the comment in ssluse.c). Firefox implementation is also based on RFC 2818 but it only allows at most one wildcard character and it must be in the left-most label in the pattern and the wildcard must not be followed by any character in the label.[2] Chromium implementation is based on RFC 6125 as my patch does. Firefox and Chromium both require wildcard in the left-most label in the presented identifier. This patch is more strict than the current implementation, so there may be some cases where old curl works but new one does not. But at the same time I think it is good practice to follow the modern browsers do and follow the newer RFC. [1] http://tools.ietf.org/html/rfc6125#section-6.4.3 [2] https://bugzilla.mozilla.org/show_bug.cgi?id=159483
-
- 31 Mar, 2012 7 commits
-
-
Daniel Stenberg authored
With FOLLOWLOCATION enabled. When a 3xx page is downloaded and the download size was known (like with a Content-Length header), but the subsequent URL (transfered after the 3xx page) was chunked encoded, then the previous "known download size" would linger and cause the progress meter to get incorrect information, ie the former value would remain being sent in. This could easily result in downloads that were WAY larger than "expected" and would cause >100% outputs with the curl command line tool. Test case 599 was created and it was used to repeat the bug and then verify the fix. Bug: http://curl.haxx.se/bug/view.cgi?id=3510057 Reported by: Michael Wallner
-
Gökhan Şengün authored
-
Gökhan Şengün authored
Replaced the hard coded md5 digest length (16) with a preprocessor constant
-
Gökhan Şengün authored
It is now possible to calculate the md5 sum as the stream of buffers becomes known where as previously it was only possible to calculate the md5 sum of a pre-prepared buffer.
-
Daniel Stenberg authored
This reverts commit 9f0e1689. It turned out that "improvement" instead made the fetching of the certificates unreliable Bug: http://curl.haxx.se/mail/lib-2012-03/0238.html Reported by: Tim Heckman
-
Steve Holme authored
-
Steve Holme authored
This feature allows the user to specify and use additional POP3 commands such as UIDL and DELE via libcurl's CURLOPT_CUSTOMREQUEST or curl's -X command line option.
-
- 30 Mar, 2012 1 commit
-
-
- 29 Mar, 2012 1 commit
-
-
- 28 Mar, 2012 2 commits
-
-
Steve Holme authored
-
Yang Tse authored
Take in account that h_errno might be a modifiable lvalue not defined as a C preprocessor macro
-
- 27 Mar, 2012 1 commit
-
-
Steve Holme authored
-