etlegacy-libs/curl/CHANGES

5296 lines
166 KiB
Text
Raw Normal View History

2012-06-01 15:23:17 +00:00
_ _ ____ _
___| | | | _ \| |
/ __| | | | |_) | |
| (__| |_| | _ <| |___
\___|\___/|_| \_\_____|
Changelog
Version 7.26.0 (24 May 2012)
2012-06-01 15:23:17 +00:00
Daniel Stenberg (24 May 2012)
- RELEASE-NOTES: synced with ef60fdbd73
2012-06-01 15:23:17 +00:00
Version 7.26.0 (24 May 2012)
2012-06-01 15:23:17 +00:00
2015-01-23 15:30:59 +00:00
Version 7.26.0 (24 May 2012)
Just before 7.26.0 is about to ship
2015-01-23 15:30:59 +00:00
Steve Holme (22 May 2012)
- smtp: Fixed an issue with the multi-interface always sending postdata
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.
2012-06-01 15:23:17 +00:00
Bug: http://curl.haxx.se/mail/lib-2012-05/0108.html
Reported by: Gokhan Sengun
2012-06-01 15:23:17 +00:00
- DOCS: Updated version number for features added in the pending release
2012-06-01 15:23:17 +00:00
Daniel Stenberg (22 May 2012)
- [Tatsuhiro Tsujikawa brought this change]
2012-06-01 15:23:17 +00:00
Fixed compile error with GNUTLS+NETTLE
2012-06-01 15:23:17 +00:00
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.
2015-01-23 15:30:59 +00:00
The changes in curl_ntlm_core.c is conversion error and fixed by
casting to proper type.
2012-06-01 15:23:17 +00:00
- TODO-RELEASE: mention the pending biggies for 7.27.0
2012-06-01 15:23:17 +00:00
- [Jan Ehrhardt brought this change]
2012-06-01 15:23:17 +00:00
winbuild: fix IPv6 enabled build
2012-06-01 15:23:17 +00:00
The existing check was wrong so IPv6 support would never be enabled
2012-06-01 15:23:17 +00:00
- 7.26.0: will be the next release version
2012-06-01 15:23:17 +00:00
- RELEASE-NOTES: synced with 8ae1e657e82a
2012-06-01 15:23:17 +00:00
And mention that this will become 7.26.0
2012-06-01 15:23:17 +00:00
Guenter Knauf (22 May 2012)
- Updated dependency libary versions.
2012-06-01 15:23:17 +00:00
Daniel Stenberg (20 May 2012)
- curl-config.1: fix curl-config usage in example
2012-06-01 15:23:17 +00:00
The curl-config command must be used twice in the single command line to
work properly in some environments.
2012-06-01 15:23:17 +00:00
Bug: http://curl.haxx.se/bug/view.cgi?id=3528241
Reported by: Julian Taylor
2012-06-01 15:23:17 +00:00
Steve Holme (17 May 2012)
- smtp: Fixed non-escaping of dot character at beginning of line
2012-06-01 15:23:17 +00:00
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.
2012-06-01 15:23:17 +00:00
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.
2012-06-01 15:23:17 +00:00
Daniel Stenberg (16 May 2012)
- FAQ: updated 1.10 How many are using curl?
2012-06-01 15:23:17 +00:00
Now linking to http://daniel.haxx.se/blog/2012/05/16/300m-users/
2012-06-01 15:23:17 +00:00
- disable-versioned-symbols: removed superfluous 'fi'
2012-06-01 15:23:17 +00:00
The commit e315927a1a left this in
2012-06-01 15:23:17 +00:00
- MakefileBuild.vc: use the correct IDN variable
2015-01-23 15:30:59 +00:00
The variable that control IDN enablement is called USE_IDN within these
Makefiles
2012-06-01 15:23:17 +00:00
- [Pierre Chapuis brought this change]
2012-06-01 15:23:17 +00:00
autoconf: improve handling of versioned symbols
2012-06-01 15:23:17 +00:00
It checks whether versioned symbols should be enabled before checking
whether it is possible (i.e. the linker supports --version-script) or
not. This avoids a useless warning when building cURL on a platform that
does not use GNU ld.
2012-06-01 15:23:17 +00:00
Moreover, it fixes broken indentation of this chunk of code.
2012-06-01 15:23:17 +00:00
- curl.1: clarify -x usage
2012-06-01 15:23:17 +00:00
1 - fix the syntax in the .IP line
2012-06-01 15:23:17 +00:00
2 - Provided user names and passwords are URL decoded by libcurl
Bug: http://curl.haxx.se/bug/view.cgi?id=3525935
2012-06-01 15:23:17 +00:00
- NTLM: is supported in GnuTLS builds too
2012-06-01 15:23:17 +00:00
... since commit 9a4c887c4a7 introduced in libcurl 7.19.4
2012-06-01 15:23:17 +00:00
- TODO: happy eyeballs is now RFC6555
2012-06-01 15:23:17 +00:00
- my_useragent: shorten user-agent
2012-06-01 15:23:17 +00:00
The built-in user-agent will now only say curl/[version] and nothing
else in an attempt to decrease overhead in HTTP requests.
2012-06-01 15:23:17 +00:00
- CURLOPT_HEADERFUNCTION: works for non-HTTP protocols too
Claes Jakobsson (3 May 2012)
- Add note about default timeout in CURLOPT_TIMEOUT
Daniel Stenberg (2 May 2012)
- [Gokhan Sengun brought this change]
MD5: OOM fix
2012-06-01 15:23:17 +00:00
check whether md5 initialization succeeded before updating digest of
buffers onto it
- REALEASE-NOTES: synced with 64f48e884e3c1
2012-06-01 15:23:17 +00:00
- [Jan Schaumann brought this change]
2012-06-01 15:23:17 +00:00
add newly created manual page
2012-06-01 15:23:17 +00:00
- [Jan Schaumann brought this change]
2012-06-01 15:23:17 +00:00
add a manual page for mk-ca-bundle
2012-06-01 15:23:17 +00:00
Guenter Knauf (26 Apr 2012)
- Updated dependency lib versions.
2012-06-01 15:23:17 +00:00
Daniel Stenberg (23 Apr 2012)
- URL parse: reject numerical IPv6 addresses outside brackets
2012-06-01 15:23:17 +00:00
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.
2012-06-01 15:23:17 +00:00
- Curl_MD5_init: fix OOM memory leak
Bug: http://curl.haxx.se/mail/lib-2012-04/0246.html
Reported by: Michael Mueller
2012-06-01 15:23:17 +00:00
- [Gokhan Sengun brought this change]
2012-06-01 15:23:17 +00:00
OpenSSL cert: provide more details when cert check fails
2012-06-01 15:23:17 +00:00
curl needs to be more chatty regarding certificate verification failure
during SSL handshake
2012-06-01 15:23:17 +00:00
Yang Tse (23 Apr 2012)
- Revert "sspi: Added version information"
This reverts commit 2976de480808119dae08fc6f52c8d75ba1aedb1a.
2012-06-01 15:23:17 +00:00
- Revert "sspi - Small code tidy up"
2012-06-01 15:23:17 +00:00
This reverts commit 46cd5f1daddad3b3e542e6d93eee52e8bb9a8687.
- Revert "Fixed 'extra tokens at end of #endif directive'."
2012-06-01 15:23:17 +00:00
This reverts commit 77172a242fc0c820f97eae39d0e3e0f265222fe6.
2012-06-01 15:23:17 +00:00
- Revert "Fixed 'Trailing whitespace' found by checksrc."
This reverts commit 683bfa60ad0b52505947e59b03515e5f44378523.
2012-06-01 15:23:17 +00:00
- Revert "sspi: Code tidy up to remove unused variable."
This reverts commit 412510f97407d617426d93b80e6b6bf0a8ff11ac.
2012-06-01 15:23:17 +00:00
- Revert "Add -lversion if build with SSPI."
This reverts commit 9ec0b7e0c44d29eca6f45916fe5af3501168fe85.
2012-06-01 15:23:17 +00:00
Guenter Knauf (23 Apr 2012)
- Add -lversion if build with SSPI.
2012-06-01 15:23:17 +00:00
Steve Holme (22 Apr 2012)
- sspi: Code tidy up to remove unused variable.
2015-01-23 15:30:59 +00:00
Guenter Knauf (22 Apr 2012)
- Fixed 'Trailing whitespace' found by checksrc.
2015-01-23 15:30:59 +00:00
- Fixed 'extra tokens at end of #endif directive'.
2015-01-23 15:30:59 +00:00
Steve Holme (22 Apr 2012)
- sspi - Small code tidy up
2015-01-23 15:30:59 +00:00
- sspi: Added version information
2012-06-01 15:23:17 +00:00
Added version information for Windows SSPI to curl's main version
string and removed SSPI from the features string.
2015-01-23 15:30:59 +00:00
Daniel Stenberg (20 Apr 2012)
- HTTP: empty chunked POST ended up in two zero size chunks
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.
2012-06-01 15:23:17 +00:00
Test case 1333 is added to verify.
Bug: http://curl.haxx.se/mail/archive-2012-04/0060.html
Reported by: Arnaud Compan
2012-06-01 15:23:17 +00:00
Guenter Knauf (20 Apr 2012)
- Updated dependency lib versions.
2012-06-01 15:23:17 +00:00
Daniel Stenberg (19 Apr 2012)
- singleipconnect: return OK even when Curl_socket() fails
2012-06-01 15:23:17 +00:00
Commit 9109cdec11ee5a 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
2015-01-23 15:30:59 +00:00
Yang Tse (19 Apr 2012)
- Take in account that CURLAUTH_* bitmasks are now 'unsigned long' - follow-up
2012-06-01 15:23:17 +00:00
MIPSPro compiler detected curl_easy_getinfo() related missing adjustments.
SunPro compiler detected curl tool --libcurl option related missing adjustments.
2015-01-23 15:30:59 +00:00
- url.c: CURLOPT_HTTPAUTH and CURLOPT_PROXYAUTH fixes
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.
2012-06-01 15:23:17 +00:00
- Take in account that CURLAUTH_* bitmasks are now 'unsigned long'
Data type of internal vars holding CURLAUTH_* bitmasks changed from 'long' to
'unsigned long' for proper handling and operating.
2015-01-23 15:30:59 +00:00
- curl.h: CURLAUTH_* bitmasks adjusted to become 'unsigned long' typed
2012-06-01 15:23:17 +00:00
Info: http://curl.haxx.se/mail/lib-2012-04/0170.html
2015-01-23 15:30:59 +00:00
- Some explicit conversion to 'long' of curl_easy_setopt() third argument
2012-06-01 15:23:17 +00:00
Explicit conversion to 'long' of curl_easy_setopt() third argument for options
CURLOPT_HTTPAUTH and CURLOPT_PROXYAUTH given that this is how its bitmasks are
docummented to be used.
- build adjustments: commit 9e24b9c7 follow-up
2015-01-23 15:30:59 +00:00
Daniel Stenberg (17 Apr 2012)
- -# progress meter: avoid superfluous updates and duplicate lines
By comparing if a different "progress point" is reached or not since the
previous update, the progress function callback for this now avoids many
superfluous screen updates. This has the nice side-effect that it fixes
a problem that causes a second progress meter line.
The second line output happened because when we use the -# progress
meter, we force a newline output after the transfer in the main loop in
curl, but when libcurl calls the progress callback from
curl_easy_cleanup() it would then output the progress display
again. Possibly the naive newline output is wrong but this optimization
was suitable anyway...
2012-06-01 15:23:17 +00:00
Reported by: Daniel Theron
Bug: http://curl.haxx.se/bug/view.cgi?id=3517418
2012-06-01 15:23:17 +00:00
Yang Tse (16 Apr 2012)
- nss.c: fix compiler warning
- curl-compilers.m4: -Wno-pedantic-ms-format for Windows gcc 4.5 builds
2012-06-01 15:23:17 +00:00
When building a Windows target with gcc 4.5 or newer and strict compiler
warnings enabled use -Wno-pedantic-ms-format in addition to other flags.
2012-06-01 15:23:17 +00:00
Kamil Dudka (16 Apr 2012)
- tests/valgrind.pm: suppress memleaks of NSS_InitContext()
Bug: https://bugzilla.mozilla.org/show_bug.cgi?id=745224
2012-06-01 15:23:17 +00:00
Yang Tse (14 Apr 2012)
- setup_once.h: tighten requirements for stdbool.h header inclusion
2015-01-23 15:30:59 +00:00
Include stdbool.h only when it is available and configure is capable of
detecting a proper 'bool' data type when the header is included.
2012-06-01 15:23:17 +00:00
Compilation fix for old or unpatched versions of XL C compiler.
2012-06-01 15:23:17 +00:00
Report: http://curl.haxx.se/mail/archive-2012-04/0022.html
- headers: require GCC 2.7 or newer in order to allow attribute GCC'isms usage
2015-01-23 15:30:59 +00:00
Usage in other code paths already protected and requiring even newer versions.
2015-01-23 15:30:59 +00:00
- [Jonathan Nieder brought this change]
2012-06-01 15:23:17 +00:00
headers: surround GCC attribute names with double underscores
This protects from attribute names being defined by third party's code.
2015-01-23 15:30:59 +00:00
Improvement: http://curl.haxx.se/mail/lib-2012-04/0127.html
2012-06-01 15:23:17 +00:00
Guenter Knauf (13 Apr 2012)
- Updated copyright year.
2012-06-01 15:23:17 +00:00
Yang Tse (13 Apr 2012)
- testcurl.pl: build example programs for Android cross-compiles
2012-06-01 15:23:17 +00:00
- nss.c: fix compiler warning
2012-06-01 15:23:17 +00:00
- examples: fix compiler warnings
2012-06-01 15:23:17 +00:00
Kamil Dudka (13 Apr 2012)
- nss: provide human-readable names for NSS errors
- nss: use NSS_InitContext() to initialize NSS if available
NSS_InitContext() was introduced in NSS 3.12.5 and helps to prevent
collisions on NSS initialization/shutdown with other libraries.
2012-06-01 15:23:17 +00:00
Bug: https://bugzilla.redhat.com/738456
2012-06-01 15:23:17 +00:00
- nss: unconditionally require PK11_CreateGenericObject()
This bumps the minimal supported version of NSS to 3.12.x.
2012-06-01 15:23:17 +00:00
Guenter Knauf (13 Apr 2012)
- Set batch mode to 755 to make Cygwin git pulls work.
2012-06-01 15:23:17 +00:00
- Added section for Android configure cross-compile.
2012-06-01 15:23:17 +00:00
- Added NetWare export.
2012-06-01 15:23:17 +00:00
Yang Tse (12 Apr 2012)
- testcurl.pl: build example programs for MinGW cross-compiles
2012-06-01 15:23:17 +00:00
- tool_operate.c: fix compiler warning
2012-06-01 15:23:17 +00:00
- url.c: fix compiler warning
2012-06-01 15:23:17 +00:00
Guenter Knauf (12 Apr 2012)
- Updated dependency lib versions (2nd try).
2012-06-01 15:23:17 +00:00
- Updated dependency lib versions.
2012-06-01 15:23:17 +00:00
Yang Tse (12 Apr 2012)
- tool_formparse.c: rename a couple of vars to avoid declaration shadowing
2012-06-01 15:23:17 +00:00
- OS400/initscript.sh: fix db2_name() module name generation
2012-06-01 15:23:17 +00:00
Allow repeatable file name length reduction on file names with underscore or
dash characters. This is done in order to better support libcurl's existing
source file names and allow OS/400 package to build out of the box again.
2012-06-01 15:23:17 +00:00
- testcurl.pl: log more environment vars that modify configure and build behavior
2012-06-01 15:23:17 +00:00
- configure: NATIVE_WINDOWS no longer defined in config files
2012-06-01 15:23:17 +00:00
- build adjustments: CURL_HIDDEN_SYMBOLS no longer defined in config files
2012-06-01 15:23:17 +00:00
configure script now provides conditional definitions for Makefile.am
that result in CURL_HIDDEN_SYMBOLS being defined by resulting makefiles
when appropriate.
2012-06-01 15:23:17 +00:00
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.
2012-06-01 15:23:17 +00:00
- build adjustments: functionally revert commits 4d3fb91f and bbfe1182
2012-06-01 15:23:17 +00:00
Undefining CURL_HIDDEN_SYMBOLS in source files isn't the proper fix.
2012-06-01 15:23:17 +00:00
- test servers: build adjustment
2012-06-01 15:23:17 +00:00
Undefine CURL_HIDDEN_SYMBOLS libcurl private preprocessor macro that might
leak from lib/setup.h into source files where this should not be defined.
- libtests: build adjustment
2012-06-01 15:23:17 +00:00
Undefine CURL_HIDDEN_SYMBOLS libcurl private preprocessor macro that might
leak from lib/setup.h into source files where this should not be defined.
2012-06-01 15:23:17 +00:00
- curl tool: make setup.h first header included in tool_setup.h again
- curl tool: use configuration files from lib directory - follow-up II
2012-06-01 15:23:17 +00:00
lib/config-win32.h no longer copied to src/config-win32.h
2012-06-01 15:23:17 +00:00
- configure: Windows cross-compilation fixes
2012-06-01 15:23:17 +00:00
BUILDING_LIBCURL and CURL_STATICLIB are no longer defined in curl_config.h,
configure will generate appropriate conditionals so that mentioned symbols
get defined and used in Makefiles at compilation time
- curl tool: make curl.h first header included in tool_setup.h
- curl tool: use configuration files from lib directory - follow-up I
2012-06-01 15:23:17 +00:00
amigaos.[ch] now integrates nicely with any libcurl build
2012-06-01 15:23:17 +00:00
- curl tool: use configuration files from lib directory
2012-06-01 15:23:17 +00:00
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.
2012-06-01 15:23:17 +00:00
Additionally old src/setup.h has been refactored into src/tool_setup.h which
now pulls lib/setup.h
2012-06-01 15:23:17 +00:00
The possibility of a makefile needing an include path adjustment exists.
2012-06-01 15:23:17 +00:00
Daniel Stenberg (6 Apr 2012)
- PolarSSL: correct return code for CRL matches
2012-06-01 15:23:17 +00:00
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.
2012-06-01 15:23:17 +00:00
- PolarSSL: include version number in version string
2012-06-01 15:23:17 +00:00
Previously it would say PolarSSL only, now it says PolarSSL/1.1.0 in the
same style other libs and components do.
2012-06-01 15:23:17 +00:00
- test: added test 1332 that tests --post303
2012-06-01 15:23:17 +00:00
- curl: add --post303 to set the CURL_REDIR_POST_303 option
2012-06-01 15:23:17 +00:00
- [Andrei Cipu brought this change]
2012-06-01 15:23:17 +00:00
CURLOPT_POSTREDIR: also allow 303 to do POST on the redirected URL
As it turns out, some people do want that after all.
2012-06-01 15:23:17 +00:00
- test1331: cookies on a 407 response
2012-06-01 15:23:17 +00:00
Verify that cookies are sent back even after a 407 response has been
received
2012-06-01 15:23:17 +00:00
- [Dag Ekengren brought this change]
2012-06-01 15:23:17 +00:00
PolarSSL: add support for asynchronous connect
2012-06-01 15:23:17 +00:00
- [Tim Heckman brought this change]
Revert "access the CA source file using HTTPS"
This reverts commit f7e2ab6.
2012-06-01 15:23:17 +00:00
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 brought this change]
2012-06-01 15:23:17 +00:00
IPv6 cookie domain: get rid of the first bracket before the second.
2012-06-01 15:23:17 +00:00
Commit 97b66ebe was copying a smaller buffer, thus duplicating the last
character.
2012-06-01 15:23:17 +00:00
- MAIL-ETIQUETTE: Added "How to unsubscribe"
2012-06-01 15:23:17 +00:00
... as it seems to hard for some people
2012-06-01 15:23:17 +00:00
Yang Tse (4 Apr 2012)
- ftp.c: ftplistparser related OOM handling fix
2012-06-01 15:23:17 +00:00
- smtp.c: fix compiler warnings
2012-06-01 15:23:17 +00:00
- lib599.c: fix compiler warning
2012-06-01 15:23:17 +00:00
Daniel Stenberg (4 Apr 2012)
- runtests: yassl and polarssl are not openssl
2012-06-01 15:23:17 +00:00
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.
2012-06-01 15:23:17 +00:00
I spotted this problem when doing test runs with PolarSSL builds.
2012-06-01 15:23:17 +00:00
- [Lijo Antony brought this change]
2012-06-01 15:23:17 +00:00
connect.c: return changed to CURLE_COULDNT_CONNECT when opensocket fails
2012-06-01 15:23:17 +00:00
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.
2012-06-01 15:23:17 +00:00
Steve Holme (2 Apr 2012)
- pop3: Reworked the command sending and handling
2012-06-01 15:23:17 +00:00
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.
2012-06-01 15:23:17 +00:00
Daniel Stenberg (1 Apr 2012)
- [Dave Reisner brought this change]
2012-06-01 15:23:17 +00:00
curl tool: add filename_effective token for --write-out
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.
2012-06-01 15:23:17 +00:00
Steve Holme (1 Apr 2012)
- smtp.c: Code policing and tidy up
2012-06-01 15:23:17 +00:00
Daniel Stenberg (1 Apr 2012)
- [Armel Asselin brought this change]
2012-06-01 15:23:17 +00:00
SSH: public key can now be an empty string
2012-06-01 15:23:17 +00:00
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.
2012-06-01 15:23:17 +00:00
- [Tatsuhiro Tsujikawa brought this change]
2012-06-01 15:23:17 +00:00
OpenSSL: Made cert hostname check conform to RFC 6125
2012-06-01 15:23:17 +00:00
This change replaces RFC 2818 based hostname check in OpenSSL build with
RFC 6125 [1] based one.
2012-06-01 15:23:17 +00:00
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.
2012-06-01 15:23:17 +00:00
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).
2012-06-01 15:23:17 +00:00
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.
2012-06-01 15:23:17 +00:00
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.
2012-06-01 15:23:17 +00:00
[1] http://tools.ietf.org/html/rfc6125#section-6.4.3
[2] https://bugzilla.mozilla.org/show_bug.cgi?id=159483
- HTTP: reset expected DL/UL sizes on redirects
2012-06-01 15:23:17 +00:00
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.
2012-06-01 15:23:17 +00:00
Test case 599 was created and it was used to repeat the bug and then
verify the fix.
2015-01-23 15:30:59 +00:00
Bug: http://curl.haxx.se/bug/view.cgi?id=3510057
Reported by: Michael Wallner
2012-06-01 15:23:17 +00:00
Steve Holme (31 Mar 2012)
- [Gökhan Şengün brought this change]
2012-06-01 15:23:17 +00:00
smtp: Add support for DIGEST-MD5 authentication
2012-06-01 15:23:17 +00:00
- [Gökhan Şengün brought this change]
2012-06-01 15:23:17 +00:00
smtp: Cody tidy up of md5 digest length
2015-01-23 15:30:59 +00:00
Replaced the hard coded md5 digest length (16) with a preprocessor
constant
2012-06-01 15:23:17 +00:00
- [Gökhan Şengün brought this change]
2012-06-01 15:23:17 +00:00
md5: Add support for calculating the md5 sum of buffers incrementally
2012-06-01 15:23:17 +00:00
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.
2015-01-23 15:30:59 +00:00
Daniel Stenberg (31 Mar 2012)
- Revert "mk-ca-bundle.pl: use LWP::UserAgent for https"
2012-06-01 15:23:17 +00:00
This reverts commit 9f0e1689f169b83b8fbdae23e0024cc57dcbc770.
2012-06-01 15:23:17 +00:00
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
2012-06-01 15:23:17 +00:00
Steve Holme (31 Mar 2012)
- DOCS: Added information regarding POP3 commands to CURLOPT_CUSTOMREQUEST
2012-06-01 15:23:17 +00:00
- pop3: Added support for additional pop3 commands
2012-06-01 15:23:17 +00:00
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.
2012-06-01 15:23:17 +00:00
Yang Tse (30 Mar 2012)
- [tetetest tetetest brought this change]
2012-06-01 15:23:17 +00:00
CMakeLists.txt: fix Windows LDAP/LDAPS option handling
bug: http://curl.haxx.se/mail/lib-2012-03/0278.html
2012-06-01 15:23:17 +00:00
- [tetetest tetetest brought this change]
2012-06-01 15:23:17 +00:00
CMakeLists.txt: fix MS Visual Studio x64 unsigned long long literal suffix
2012-06-01 15:23:17 +00:00
bug: http://curl.haxx.se/mail/lib-2012-03/0255.html
2012-06-01 15:23:17 +00:00
Steve Holme (28 Mar 2012)
- TODO: Corrected POP3 section heading
2012-06-01 15:23:17 +00:00
Yang Tse (28 Mar 2012)
- curl-functions.m4: update detection logic of getaddrinfo() thread-safeness
2012-06-01 15:23:17 +00:00
Take in account that h_errno might be a modifiable lvalue not defined as
a C preprocessor macro
2012-06-01 15:23:17 +00:00
Steve Holme (27 Mar 2012)
- TODO: Added SMTP and POP3 specific features
2012-06-01 15:23:17 +00:00
Yang Tse (27 Mar 2012)
- [Olaf Flebbe brought this change]
2012-06-01 15:23:17 +00:00
tool_cb_dbg.c: fix tool_cb_dbg() to behave properly even for size 0
2012-06-01 15:23:17 +00:00
curl segfault in debug callback triggered with CURLINFO_HEADER_OUT and size 0
2015-01-23 15:30:59 +00:00
bug: http://curl.haxx.se/bug/view.cgi?id=3511794
2012-06-01 15:23:17 +00:00
- test #1405: support HTTP disabled builds
2012-06-01 15:23:17 +00:00
Steve Holme (26 Mar 2012)
- test #809: Updated error code to match recent pop3 changes
2012-06-01 15:23:17 +00:00
Yang Tse (25 Mar 2012)
- ssh.c: code cleanup, Curl_safefree() already nullifies pointer
2012-06-01 15:23:17 +00:00
- fix some compiler warnings
2012-06-01 15:23:17 +00:00
Steve Holme (25 Mar 2012)
- pop3.c: Corrected problem with state() introduced in 01690ed2bce5
2012-06-01 15:23:17 +00:00
- pop.c: Small code tidy up
2012-06-01 15:23:17 +00:00
- pop3: Removed the need for the single message LIST command handler
2012-06-01 15:23:17 +00:00
Simplified the code to remove the need for a separate "LIST <msg id>"
command handler and state machine and instead use the LIST command
handler for both operations.
2012-06-01 15:23:17 +00:00
- pop3.c: Code policing and tidy up
2012-06-01 15:23:17 +00:00
Corrected character and line spacing and re-ordered list and retr
functions based on the order of their state machines.
2012-06-01 15:23:17 +00:00
- email: Moved server greeting responses into separate functions
2012-06-01 15:23:17 +00:00
Moved the server greeting response handling code from the statemach_act
functions to separate response functions. This makes the code simpler
to follow and provides consistency with the other responses that are
handled here.
2012-06-01 15:23:17 +00:00
- pop3.c: Fixed body data being written when CURLOPT_NOBODY is specified
2015-01-23 15:30:59 +00:00
Body data would be forwarded to the client application in both the RETR
and LIST commands even if CURLOPT_NOBODY was specified.
2012-06-01 15:23:17 +00:00
Daniel Stenberg (23 Mar 2012)
- [Rodrigo Silva (MestreLion) brought this change]
2012-06-01 15:23:17 +00:00
docs: clarify -z/--time-cond with filename (mention mtime)
2015-01-23 15:30:59 +00:00
Original wording could lead users in thinking it tries to
somehow parse the filename for a date expression (like
news_2012_03_05.html). It never mentions that it actually
reads the mtime of the file in filesystem.
2012-06-01 15:23:17 +00:00
Yang Tse (23 Mar 2012)
- tests #1316 #1319 #1320 #1321: add missing keywords
2012-06-01 15:23:17 +00:00
- test #598: add missing keywords
2012-06-01 15:23:17 +00:00
- version: start working on 7.25.1-DEV
2012-06-01 15:23:17 +00:00
Daniel Stenberg (22 Mar 2012)
- [Benjamin Johnson brought this change]
2012-06-01 15:23:17 +00:00
configure: check for gethostbyname in the watt lib
This allows building of libcurl on DOS using DJGPP 2.04 and Watt-32
sockets. I know there's already Makefile.djgpp, but I find this more
convenient since I'm used to using the ./configure script from other
platforms
2012-06-01 15:23:17 +00:00
- THANKS: 8 new contributors from 7.25.0
2012-06-01 15:23:17 +00:00
Version 7.25.0 (22 Mar 2012)
2012-06-01 15:23:17 +00:00
Daniel Stenberg (22 Mar 2012)
- RELEASE-NOTES: synced with b8b2cf612b2
2012-06-01 15:23:17 +00:00
Yang Tse (22 Mar 2012)
- tests #1400 #1401: add missing keywords
2012-06-01 15:23:17 +00:00
- http_proxy.h: fix builds with proxy or http disabled
2012-06-01 15:23:17 +00:00
- parsedate.c: fix a numeric overflow
2012-06-01 15:23:17 +00:00
Daniel Stenberg (22 Mar 2012)
- [Andrei Cipu brought this change]
2012-06-01 15:23:17 +00:00
cookies: strip the numerical ipv6 host properly
2012-06-01 15:23:17 +00:00
The commit e650dbde86d4 that stripped off [brackets] from ipv6-only host
headers for the sake of cookie parsing wrongly incremented the host
pointer which would cause a bad free() call later on.
2012-06-01 15:23:17 +00:00
Yang Tse (22 Mar 2012)
- test #598: add to Makefile.am
2012-06-01 15:23:17 +00:00
- test #598: OOM handling fixes
2012-06-01 15:23:17 +00:00
- fix several compiler warnings
2012-06-01 15:23:17 +00:00
Daniel Stenberg (22 Mar 2012)
- CONNECT: fix multi interface regression
2015-01-23 15:30:59 +00:00
The refactoring of HTTP CONNECT handling in commit 41b0237834232 that
made it protocol independent broke it for the multi interface. This fix
now introduce a better state handling and moved some logic to the
http_proxy.c source file.
2012-06-01 15:23:17 +00:00
Reported by: Yang Tse
Bug: http://curl.haxx.se/mail/lib-2012-03/0162.html
2012-06-01 15:23:17 +00:00
- SWS: refuse to serve CONNECT unless running as proxy
2012-06-01 15:23:17 +00:00
Yang Tse (21 Mar 2012)
- curl-functions.m4: update detection logic of getaddrinfo() thread-safeness
2012-06-01 15:23:17 +00:00
Take in account that POSIX standard Issue 7 drops h_errno support. Now, we also
consider getaddrinfo() to be thread-safe when (_POSIX_C_SOURCE >= 200809L) or
(_XOPEN_SOURCE >= 700) independently of whether h_errno exists or not.
2012-06-01 15:23:17 +00:00
- fix several compiler warnings
2012-06-01 15:23:17 +00:00
- tests 140X: fix --libcurl generated source file reading mode for MSYS builds
2012-06-01 15:23:17 +00:00
- tool_easysrc.c: fix --libcurl option output file text translation mode
2015-01-23 15:30:59 +00:00
Use fopen() with "w" mode instead of "wt" to fix cygwin builds.
2012-06-01 15:23:17 +00:00
- build: remove tool_cb_skt.[ch] references
2012-06-01 15:23:17 +00:00
Daniel Stenberg (18 Mar 2012)
- RELEASE-NOTES: synced with ad77420ac761b
2015-01-23 15:30:59 +00:00
3 more bugs, 1 more contributor
2012-06-01 15:23:17 +00:00
- lwip: basic checks and macros for compatiblity
2012-06-01 15:23:17 +00:00
Yang Tse (17 Mar 2012)
- tool_setopt.c: more OOM handling fixes
Daniel Stenberg (16 Mar 2012)
- cmake: list_spaces_append_once fails with spaces in filename
2012-06-01 15:23:17 +00:00
Windows standard libraries are located in C:/Program Files/Microsoft
SDKs/[...]. They are already included in the default MSVC
LIBPATH. Hence, find_library(WSOCK32_LIBRARY wsock32) and
find_library(WS2_32_LIBRARY ws2_32) are not needed. They return the full
path to the libraries including spaces. Of course,
list_spaces_append_once will mangle the result and the build fails.
2015-01-23 15:30:59 +00:00
Bug: http://curl.haxx.se/bug/view.cgi?id=3494968
2012-06-01 15:23:17 +00:00
Yang Tse (16 Mar 2012)
- http_proxy.c: fix OOM handling
2012-06-01 15:23:17 +00:00
- tool_setopt.c: fix OOM handling
2012-06-01 15:23:17 +00:00
- fix several compiler warnings
2012-06-01 15:23:17 +00:00
- fix some compiler warnings
2012-06-01 15:23:17 +00:00
Daniel Stenberg (13 Mar 2012)
- [Maxim Prohorov brought this change]
2012-06-01 15:23:17 +00:00
resolve with c-ares: don't resolve IPv6 when not working
2015-01-23 15:30:59 +00:00
If the Curl_ipv6works() function says no, there is no reason to try AAAA
names even if libcurl was built with IPv6 support enabled.
2012-06-01 15:23:17 +00:00
Bug: http://curl.haxx.se/mail/lib-2012-03/0045.html
2015-01-23 15:30:59 +00:00
unknown (10 Mar 2012)
- [Steve Holme brought this change]
2015-01-23 15:30:59 +00:00
smtp.c: Changed the curl error code for EHLO and HELO responses
2012-06-01 15:23:17 +00:00
Changed the returned curl error codes for EHLO and HELO responses from
CURLE_LOGIN_DENIED to CURLE_REMOTE_ACCESS_DENIED as a negative response
from these commands represents no service as opposed to a login error.
2012-06-01 15:23:17 +00:00
Daniel Stenberg (10 Mar 2012)
- RELEASE-NOTES: synced with e650dbde86
New: 12 bugs, 3 changes, 6 contributors and updated counters at the top
2012-06-01 15:23:17 +00:00
- [Andrei Cipu brought this change]
2012-06-01 15:23:17 +00:00
Curl_http: strip off [brackets] from ipv6-only host headers
2015-01-23 15:30:59 +00:00
Since the host name is passed in to the cookie engine it will not work
correctly if the brackets are left in the name.
2012-06-01 15:23:17 +00:00
Bug:http://curl.haxx.se/mail/lib-2012-03/0036.html
2012-06-01 15:23:17 +00:00
- [Armel Asselin brought this change]
2012-06-01 15:23:17 +00:00
CURLSSH_OPT_AUTH: documented it has no effect
2012-06-01 15:23:17 +00:00
- [John Joseph Bachir brought this change]
2012-06-01 15:23:17 +00:00
mk-ca-bundle.pl: use LWP::UserAgent with proper https verify behavior.
An alternative would be:
2012-06-01 15:23:17 +00:00
1. specify HTTPS_CA_DIR and/or HTTPS_CA_FILE
2. ensure that Net::SSL is being used, and IO::Socket::SSL is NOT being
used
This question and answer explain:
http://stackoverflow.com/questions/74358/
- [John Joseph Bachir brought this change]
2015-01-23 15:30:59 +00:00
access the CA source file using HTTPS
2015-01-23 15:30:59 +00:00
- includes: remove inclusion of unused file http_proxy.h
2012-06-01 15:23:17 +00:00
- CONNECT: made generically not per-protocol
Curl_protocol_connect() now does the tunneling through the HTTP proxy if
requested instead of letting each protocol specific connection function
do it.
2012-06-01 15:23:17 +00:00
- ssh_connect: tunnel through HTTP proxy if requested
2015-01-23 15:30:59 +00:00
- LWIP: don't consider HAVE_ERRNO_H to be winsock
2012-06-01 15:23:17 +00:00
The check for Winsock definition was a bit too broad
2012-06-01 15:23:17 +00:00
Bug: http://curl.haxx.se/mail/lib-2012-03/0046.html
2015-01-23 15:30:59 +00:00
- [Dave Reisner brought this change]
2015-01-23 15:30:59 +00:00
curl-config: only provide libraries with --libs
2012-06-01 15:23:17 +00:00
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.
2012-06-01 15:23:17 +00:00
- CONTRIB: Please don't send pull requests
2012-06-01 15:23:17 +00:00
- libcurl docs: version corrections
2012-06-01 15:23:17 +00:00
Correct some inconsistencies in which version some things were added.
2012-06-01 15:23:17 +00:00
Bug: http://curl.haxx.se/bug/view.cgi?id=3494091
Reported by: "curlybugs"
2012-06-01 15:23:17 +00:00
- CONNECT: fix ipv6 address in the Request-Line
2012-06-01 15:23:17 +00:00
Commit 466150bc64d 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"
- [Steve Holme brought this change]
2015-01-23 15:30:59 +00:00
SMTP: Added support for returning SMTP response codes
2012-06-01 15:23:17 +00:00
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.
2012-06-01 15:23:17 +00:00
- curl.1: updated --libcurl
2015-01-23 15:30:59 +00:00
With Colin Hogben's recent work, --libcurl now also works with -F and
more. Remove the previous caveat.
2012-06-01 15:23:17 +00:00
- test: --libcurl fixes
2012-06-01 15:23:17 +00:00
The line endings broke when I saved the three recent patches (my fault,
not Colin's) to 'git am' them.
2012-06-01 15:23:17 +00:00
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.
2012-06-01 15:23:17 +00:00
- [Colin Hogben brought this change]
2012-06-01 15:23:17 +00:00
Add helper script convsrctest.pl to manipulate --libcurl tests.
2012-06-01 15:23:17 +00:00
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.
2012-06-01 15:23:17 +00:00
The script is not yet integrated into the configure / makefile
machinery.
2012-06-01 15:23:17 +00:00
- [Colin Hogben brought this change]
2012-06-01 15:23:17 +00:00
Add tests for curl's --libcurl output.
2012-06-01 15:23:17 +00:00
These tests check the output of the --libcurl option of curl,
including the improved option handling added in a related patch.
2012-06-01 15:23:17 +00:00
- [Colin Hogben brought this change]
2012-06-01 15:23:17 +00:00
Generate lists and use symbols in --libcurl code output.
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.
2012-06-01 15:23:17 +00:00
- [Steve Holme brought this change]
2015-01-23 15:30:59 +00:00
smtp.c: Fixed an issue with writing postdata
2012-06-01 15:23:17 +00:00
Fixed a problem in smtp_done() when writing out the postdata as
Curl_write() would periodically return zero bytes written.
2012-06-01 15:23:17 +00:00
- CURLOPT_MAIL_AUTH: added in 7.25.0
2012-06-01 15:23:17 +00:00
Brought in commit 0cf0ab6f300
2012-06-01 15:23:17 +00:00
- pop3 test server: send terminating ".CRLF" only
2012-06-01 15:23:17 +00:00
With commit 035ef06bda7 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.
- [Steve Holme brought this change]
2012-06-01 15:23:17 +00:00
pop3.c: Fixed drop of final CRLF in EOB checking
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
2012-06-01 15:23:17 +00:00
- [Steve Holme brought this change]
2012-06-01 15:23:17 +00:00
smtp.c: Fixed an issue with the EOB checking
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.
2012-06-01 15:23:17 +00:00
- CURLE_FTP_PRET_FAILED: listed twice
2012-06-01 15:23:17 +00:00
Make sure it is mentioned once and with the correct description
2012-06-01 15:23:17 +00:00
- --mail-auth documented
2012-06-01 15:23:17 +00:00
- [Steve Holme brought this change]
2012-06-01 15:23:17 +00:00
SMTP: Code policing and tidy up
2012-06-01 15:23:17 +00:00
- [Steve Holme brought this change]
curl: Added support for --mail-auth
2012-06-01 15:23:17 +00:00
Added an extra command-line argument to support the optional AUTH
parameter in SMTPs MAIL FROM command.
2012-06-01 15:23:17 +00:00
Kamil Dudka (16 Feb 2012)
- docs: mention that NTLM works with NSS, too
2012-06-01 15:23:17 +00:00
Daniel Stenberg (15 Feb 2012)
- [Steve Holme brought this change]
2012-06-01 15:23:17 +00:00
DOCS: Added information for CURLOPT_MAIL_AUTH.
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.
2012-06-01 15:23:17 +00:00
- [Steve Holme brought this change]
2012-06-01 15:23:17 +00:00
smtp.c: Fixed use of angled brackets in AUTH parameter.
2012-06-01 15:23:17 +00:00
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.
2012-06-01 15:23:17 +00:00
- [Steve Holme brought this change]
2012-06-01 15:23:17 +00:00
smtp_mail: Added support to MAIL FROM for the optional AUTH parameter
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.
2012-06-01 15:23:17 +00:00
- [toddouska brought this change]
2012-06-01 15:23:17 +00:00
cyassl: update to CyaSSL 2.0.x API
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.
2012-06-01 15:23:17 +00:00
Note that this no longer detects or works with CyaSSL before v2
- LIBCURL_VERSION_NUM: 0x071900
2012-06-01 15:23:17 +00:00
I accidentally left the lowest bits 01 before
2012-06-01 15:23:17 +00:00
- [Steve Holme brought this change]
2012-06-01 15:23:17 +00:00
SMTP: Fixed error when using CURLOPT_CONNECT_ONLY
2012-06-01 15:23:17 +00:00
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.
- s/7.24.1/7.25.0
2012-06-01 15:23:17 +00:00
We will go straight to 7.25.0 due to the new additions
2012-06-01 15:23:17 +00:00
- curlver.h: bumped to 7.25.0
and updated the end year in the generic copyright string
2015-01-23 15:30:59 +00:00
- RELEASE-NOTES: synced with 2b26eb985
2012-06-01 15:23:17 +00:00
9 bug fixes, 4 changes and numerous contributors
2012-06-01 15:23:17 +00:00
Bumped release version and option counters
2012-06-01 15:23:17 +00:00
- [Colin Hogben brought this change]
2012-06-01 15:23:17 +00:00
configure: add option disable --libcurl output
2012-06-01 15:23:17 +00:00
- [Alessandro Ghedini brought this change]
2012-06-01 15:23:17 +00:00
curl tool: allow negative numbers as option values
2012-06-01 15:23:17 +00:00
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.
2012-06-01 15:23:17 +00:00
- parse_proxy: simply memory handling
... 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.
2012-06-01 15:23:17 +00:00
- parse_proxy: bail out on zero-length proxy names!
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
2012-06-01 15:23:17 +00:00
Kamil Dudka (9 Feb 2012)
- nss: add support for the CURLSSLOPT_ALLOW_BEAST option
2012-06-01 15:23:17 +00:00
... and fix some typos from the 62d15f1 commit.
Daniel Stenberg (9 Feb 2012)
- [Rob Ward brought this change]
2012-06-01 15:23:17 +00:00
configure: don't modify LD_LIBRARY_PATH for cross compiles
2012-06-01 15:23:17 +00:00
- --ssl-allow-beast added
2012-06-01 15:23:17 +00:00
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.
- CURLOPT_SSL_OPTIONS: added
2012-06-01 15:23:17 +00:00
Allow an appliction to set libcurl specific SSL options. The first and
only options supported right now is CURLSSLOPT_ALLOW_BEAST.
2012-06-01 15:23:17 +00:00
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.
2012-06-01 15:23:17 +00:00
This is a reaction to us unconditionally removing that behavior after
this security advisory:
2012-06-01 15:23:17 +00:00
http://curl.haxx.se/docs/adv_20120124B.html
2012-06-01 15:23:17 +00:00
... 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 brought this change]
curl: use new library-side TCP_KEEPALIVE options
2012-06-01 15:23:17 +00:00
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.
2012-06-01 15:23:17 +00:00
- [Dave Reisner brought this change]
2015-01-23 15:30:59 +00:00
add library support for tuning TCP_KEEPALIVE
2012-06-01 15:23:17 +00:00
This adds three new options to control the behavior of TCP keepalives:
2012-06-01 15:23:17 +00:00
- CURLOPT_TCP_KEEPALIVE: enable/disable probes
- CURLOPT_TCP_KEEPIDLE: idle time before sending first probe
- CURLOPT_TCP_KEEPINTVL: delay between successive probes
2012-06-01 15:23:17 +00:00
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.
2012-06-01 15:23:17 +00:00
- curl_easy_reset: reset the referer string
2012-06-01 15:23:17 +00:00
When CURLOPT_REFERER has been used, curl_easy_reset() did not properly
clear it.
2012-06-01 15:23:17 +00:00
Verified with the new test 598
Bug: http://curl.haxx.se/bug/view.cgi?id=3481551
Reported by: Michael Day
Yang Tse (7 Feb 2012)
- curl tool: allow glob-loops to abort again upon critical errors
This prevents clobbering of non recoverable error return codes while
retaining intended functionality of commit 65103efe
2012-06-01 15:23:17 +00:00
Daniel Stenberg (6 Feb 2012)
- curl tool: don't abort glob-loop due to failures
We want to continue to the next URL to try even on failures returned
from libcurl. This makes -f with ranges still get subsequent URLs even
if occasional ones return error. This was a regression as it used to
work and broke in the 7.23.0 release.
Added test case 1328 to verify the fix.
Bug: http://curl.haxx.se/bug/view.cgi?id=3481223
Reported by: Juan Barreto
2012-06-01 15:23:17 +00:00
- CONNECT: send correct Host: with IPv6 numerical address
2012-06-01 15:23:17 +00:00
When the target host was given as a IPv6 numerical address, it was not
properly put within square brackets for the Host: header in the CONNECT
request. The "normal" request did fine.
2012-06-01 15:23:17 +00:00
Reported by: "zooloo"
Bug: http://curl.haxx.se/bug/view.cgi?id=3482093
2012-06-01 15:23:17 +00:00
- [Martin Storsjo brought this change]
2012-06-01 15:23:17 +00:00
Explicitly link to the nettle/gcrypt libraries
2012-06-01 15:23:17 +00:00
When support for nettle was added in 64f328c787ab, I overlooked
the fact that AC_CHECK_LIB doesn't add the tested lib to LIBS
if the check succeeded, if a custom success code block was present.
(The previous version of the check had an empty block for
successful checks, adding the lib to LIBS implicitly.)
2015-01-23 15:30:59 +00:00
Therefore, explicitly add either nettle or gcrypt to LIBS, after
deciding which one to use. Even if they can be linked in
transitively, it is safer to actually link explicitly to them.
2015-01-23 15:30:59 +00:00
This fixes building with gnutls with linkers that don't allow
linking transitively, such as for windows.
2012-06-01 15:23:17 +00:00
- [Pierre Ynard brought this change]
2012-06-01 15:23:17 +00:00
more resilient connection times among IP addresses
2015-01-23 15:30:59 +00:00
When connecting to a domain with multiple IP addresses, allow different,
decreasing connection timeout values. This should guarantee some
connections attempts with sufficiently long timeouts, while still
providing fallback.
2012-06-01 15:23:17 +00:00
- [Pierre Ynard brought this change]
2012-06-01 15:23:17 +00:00
remove write-only variable
2012-06-01 15:23:17 +00:00
Pierre Joye (26 Jan 2012)
- Merge branch 'master' of github.com:bagder/curl
2012-06-01 15:23:17 +00:00
- - fix IPV6 and IDN options
2012-06-01 15:23:17 +00:00
Yang Tse (25 Jan 2012)
- TODO-RELEASE: added item #308
2012-06-01 15:23:17 +00:00
Daniel Stenberg (25 Jan 2012)
- THANKS: imported contributors from 7.24.0 RELEASE-NOTES
2012-06-01 15:23:17 +00:00
Yang Tse (25 Jan 2012)
- test harness: update stunnel.pem Diffie-Hellman parameters from 512 to 1024 bit
2012-06-01 15:23:17 +00:00
- version: start working on 7.24.1-DEV
2012-06-01 15:23:17 +00:00
Dan Fandrich (24 Jan 2012)
- curl_easy_setopt.3: Fixed SEEKDATA & CLOSESOCKETDATA descriptions
2012-06-01 15:23:17 +00:00
Version 7.24.0 (24 Jan 2012)
2015-01-23 15:30:59 +00:00
Daniel Stenberg (24 Jan 2012)
- RELEASE-NOTES: synced with 70f71bb99f7ed9
2012-06-01 15:23:17 +00:00
Version 7.24.0 (24 Jan 2012)
2012-06-01 15:23:17 +00:00
2015-01-23 15:30:59 +00:00
Version 7.24.0 (24 Jan 2012)
Synced and prepared for 7.24.0 release. Two security problems, one bug fix,
2015-01-23 15:30:59 +00:00
Version 7.24.0 (24 Jan 2012)
two more contributors.
2015-01-23 15:30:59 +00:00
- gnutls: enforced use of SSLv3
With advice from Nikos Mavrogiannopoulos, changed the priority string to
add "actual priorities" and favour ARCFOUR. This makes libcurl work
better when enforcing SSLv3 with GnuTLS. Both in the sense that the
libmicrohttpd test is now working again but also that it mitigates a
weakness in the older SSL/TLS protocols.
Bug: http://curl.haxx.se/mail/lib-2012-01/0225.html
Reported by: Christian Grothoff
2015-01-23 15:30:59 +00:00
- tests: test CRLF in URLs
Related to the security vulnerability: CVE-2012-0036
Bug: http://curl.haxx.se/docs/adv_20120124.html
2015-01-23 15:30:59 +00:00
- URL sanitize: reject URLs containing bad data
2012-06-01 15:23:17 +00:00
Protocols (IMAP, POP3 and SMTP) that use the path part of a URL in a
decoded manner now use the new Curl_urldecode() function to reject URLs
with embedded control codes (anything that is or decodes to a byte value
less than 32).
2012-06-01 15:23:17 +00:00
URLs containing such codes could easily otherwise be used to do harm and
allow users to do unintended actions with otherwise innocent tools and
applications. Like for example using a URL like
pop3://pop3.example.com/1%0d%0aDELE%201 when the app wants a URL to get
a mail and instead this would delete one.
2012-06-01 15:23:17 +00:00
This flaw is considered a security vulnerability: CVE-2012-0036
Security advisory at: http://curl.haxx.se/docs/adv_20120124.html
Reported by: Dan Fandrich
2015-01-23 15:30:59 +00:00
- OpenSSL: don't disable security work-around
OpenSSL added a work-around for a SSL 3.0/TLS 1.0 CBC vulnerability
(http://www.openssl.org/~bodo/tls-cbc.txt). In 0.9.6e they added a bit
to SSL_OP_ALL that _disables_ that work-around despite the fact that
SSL_OP_ALL is documented to do "rather harmless" workarounds.
2012-06-01 15:23:17 +00:00
The libcurl code uses the SSL_OP_ALL define and thus logically always
disables the OpenSSL fix.
2012-06-01 15:23:17 +00:00
In order to keep the secure work-around workding, the
SSL_OP_DONT_INSERT_EMPTY_FRAGMENTS bit must not be set and this change
makes sure of this.
2012-06-01 15:23:17 +00:00
Reported by: product-security at Apple
2012-06-01 15:23:17 +00:00
- RELEASE-NOTES: synced with 6e2fd2c9ea
2012-06-01 15:23:17 +00:00
3 more bugfixes, 3 more contributors
2012-06-01 15:23:17 +00:00
- CURLOPT_ACCEPTTIMEOUT_MS: spellfix
2012-06-01 15:23:17 +00:00
Dan Fandrich (20 Jan 2012)
- examples: updated README with two new example programs
2012-06-01 15:23:17 +00:00
Daniel Stenberg (20 Jan 2012)
- URL parse: user name with ipv6 numerical address
2012-06-01 15:23:17 +00:00
Using a URL with embedded user name and password didn't work if the host
was given as a numerical IPv6 string, like ftp://user:password@[::1]/
2012-06-01 15:23:17 +00:00
Reported by: Brandon Wang
Bug: http://curl.haxx.se/mail/archive-2012-01/0047.html
2012-06-01 15:23:17 +00:00
Yang Tse (20 Jan 2012)
- telnet.c: fix OOM triggered segfault
2015-01-23 15:30:59 +00:00
- testtrace.c: fix compiler warning
2012-06-01 15:23:17 +00:00
- OpenSSL: follow-up for commit a20daf90e3
2012-06-01 15:23:17 +00:00
avoid checking preprocessor definition official value
2012-06-01 15:23:17 +00:00
Pierre Joye (19 Jan 2012)
- - s, use, enable, for options name, avoiding conflicts with the names used in the makefile
2012-06-01 15:23:17 +00:00
Daniel Stenberg (19 Jan 2012)
- curl.1: improve --stderr wording
2012-06-01 15:23:17 +00:00
As is pointed out in this bug report, there can indeed be situation
where --stderr has a point even when the "real" stderr can be
redirected. Remove the superfluous and wrong comment.
2012-06-01 15:23:17 +00:00
bug: http://curl.haxx.se/bug/view.cgi?id=3476020
2012-06-01 15:23:17 +00:00
- KNOWN_BUGS: can't receive zero bytes file properly
2012-06-01 15:23:17 +00:00
http://curl.haxx.se/bug/view.cgi?id=3438362
2012-06-01 15:23:17 +00:00
Yang Tse (18 Jan 2012)
- ssl session caching: fix compiler warnings
2012-06-01 15:23:17 +00:00
Daniel Stenberg (18 Jan 2012)
- polarssl: show cipher suite name correctly with 1.1.0
2015-01-23 15:30:59 +00:00
Apparently ssl_get_ciphersuite() is needed to get the name of the used
cipher suite.
2012-06-01 15:23:17 +00:00
- polarssl: show error code correctly
2012-06-01 15:23:17 +00:00
The value was turned negative when it shouldn't have been
2012-06-01 15:23:17 +00:00
- polarssl: havege_rand is not present in version 1.1.0
2012-06-01 15:23:17 +00:00
... it is now named havege_random!
2012-06-01 15:23:17 +00:00
Reported by: Robert Schumann
Bug: http://curl.haxx.se/mail/lib-2012-01/0178.html
2012-06-01 15:23:17 +00:00
- RELEASE-NOTES: synced with 5d70a61b94604
2012-06-01 15:23:17 +00:00
5 more bug fixes, 1 more contributor
2012-06-01 15:23:17 +00:00
- [Colin Hogben brought this change]
2012-06-01 15:23:17 +00:00
Add two tests for telnet: URLs
2012-06-01 15:23:17 +00:00
Add simple telnet tests which (ab)use the http server.
The second test checks for an input file handling bug.
- [Colin Hogben brought this change]
2012-06-01 15:23:17 +00:00
Remove bogus optimisation of telnet upload.
2012-06-01 15:23:17 +00:00
Remove wrongly implemented optimisation of telnet upload, apparently
intended to allow the library to avoid manually polling for input.
2012-06-01 15:23:17 +00:00
- [Colin Hogben brought this change]
2012-06-01 15:23:17 +00:00
Use correct file descriptor for telnet upload.
Fix a bug where input was read from stdin even when a different FILE *
had been configured via CURLOPT_READDATA
2012-06-01 15:23:17 +00:00
Yang Tse (18 Jan 2012)
- OpenLDAP: fix LDAP connection phase memory leak
2012-06-01 15:23:17 +00:00
bug: http://curl.haxx.se/bug/view.cgi?id=3474308
2015-01-23 15:30:59 +00:00
- [Johannes Bauer brought this change]
2012-06-01 15:23:17 +00:00
OpenSSL: fix PKCS#12 certificate parsing related memory leak
2012-06-01 15:23:17 +00:00
Leak triggered when CURLOPT_SSLCERTTYPE and CURLOPT_SSLKEYTYPE set to P12
and both CURLOPT_SSLCERT and CURLOPT_SSLKEY point to the same PKCS#12 file.
2012-06-01 15:23:17 +00:00
- OpenSSL: SSL_OP_NETSCAPE_REUSE_CIPHER_CHANGE_BUG option is no longer enabled
SSL_OP_NETSCAPE_REUSE_CIPHER_CHANGE_BUG option enabling allowed successfull
interoperability with web server Netscape Enterprise Server 2.0.1 released
back in 1996 more than 15 years ago.
2015-01-23 15:30:59 +00:00
Due to CVE-2010-4180, option SSL_OP_NETSCAPE_REUSE_CIPHER_CHANGE_BUG has
become ineffective as of OpenSSL 0.9.8q and 1.0.0c. In order to mitigate
CVE-2010-4180 when using previous OpenSSL versions we no longer enable
this option regardless of OpenSSL version and SSL_OP_ALL definition.
2012-06-01 15:23:17 +00:00
- tests: enable time tracing on tests 500, 573 and 585
2012-06-01 15:23:17 +00:00
- tests: testtrace.[ch] provides debug callback for libtest usage
2012-06-01 15:23:17 +00:00
Allows tests from the libtest subdir to generate log traces
similar to those of curl with --tracetime and --trace-ascii
options but with output going to stderr.
2012-06-01 15:23:17 +00:00
- sws.c: fix proxy mode secondary connection monitoring condition
2012-06-01 15:23:17 +00:00
- add LF termination to infof() trace string
2012-06-01 15:23:17 +00:00
- sws.c: improve proxy mode torture testing support - followup to 18c6c8a5
2012-06-01 15:23:17 +00:00
Daniel Stenberg (16 Jan 2012)
- url2file: new simple example
2012-06-01 15:23:17 +00:00
Just showing how to download the contents of a given URL into a local
file.
2012-06-01 15:23:17 +00:00
Based on a suggestion and example code by Georg Potthast
- imap.c: a dead simple imap example
2012-06-01 15:23:17 +00:00
Just to show that IMAP is used just like other protocols
2012-06-01 15:23:17 +00:00
Yang Tse (16 Jan 2012)
- sws.c: improve proxy mode torture testing support - followup to c731fc58
2012-06-01 15:23:17 +00:00
- sws.c: improve proxy mode torture testing support - followup to d4bf87dc
- Curl_proxyCONNECT() trace known bug #39
2012-06-01 15:23:17 +00:00
Daniel Stenberg (14 Jan 2012)
- test: verify HTTP response code 308
2015-01-23 15:30:59 +00:00
This newly speced HTTP status code already works as intended in the new
spec:
http://greenbytes.de/tech/webdav/draft-reschke-http-status-308-02.html
2015-01-23 15:30:59 +00:00
Test 1325 is added to verify that the method is kept after the redirect
2012-06-01 15:23:17 +00:00
Yang Tse (13 Jan 2012)
- http_negotiate_sspi.c: fix compiler warning
2012-06-01 15:23:17 +00:00
- ssh.c: fix compiler warning
2012-06-01 15:23:17 +00:00
- sws.c: improve proxy mode torture testing support
2012-06-01 15:23:17 +00:00
Daniel Stenberg (12 Jan 2012)
- RELEASE-NOTES: synced with 9f20379fe4
2012-06-01 15:23:17 +00:00
5 bug fixes, 3 more contributors
2012-06-01 15:23:17 +00:00
- hostip: avoid getaddrinfo when c-ares is used
2012-06-01 15:23:17 +00:00
Some functions using getaddrinfo and gethostbyname were still
mistakingly being used/linked even if c-ares was selected as resolver
backend.
2012-06-01 15:23:17 +00:00
Reported by: Arthur Murray
Bug: http://curl.haxx.se/mail/lib-2012-01/0160.html
2012-06-01 15:23:17 +00:00
Yang Tse (9 Jan 2012)
- sws.c: replace sleep() usage with wait_ms()
2012-06-01 15:23:17 +00:00
Daniel Stenberg (9 Jan 2012)
- [gsengun brought this change]
2012-06-01 15:23:17 +00:00
FTP: CURLE_PARTIAL_FILE should not cause control connection to be closed
2012-06-01 15:23:17 +00:00
Test 161 updated accordingly
2012-06-01 15:23:17 +00:00
Yang Tse (8 Jan 2012)
- sws.c: some compiler warning fixes
2012-06-01 15:23:17 +00:00
- lib/setup.h: portable symbolic names for Winsock shutdown() mode flags
2012-06-01 15:23:17 +00:00
- sws.c: 812fa73057 follow-up
2012-06-01 15:23:17 +00:00
- sws.c: some IPv6 proxy mode peparatory adjustments
2012-06-01 15:23:17 +00:00
Daniel Stenberg (5 Jan 2012)
- curl.h: provide backwards compatible symbols
2012-06-01 15:23:17 +00:00
In commit c834213ad52 we re-used some obsolete error codes, and here are
two defines that makes sure existing source codes that happen to use any
of these deprecated ones will still compile.
2012-06-01 15:23:17 +00:00
As usual, define CURL_NO_OLDIES to avoid getting these "precaution
defines".
2012-06-01 15:23:17 +00:00
- win32-threaded-resolver: stop using a dummy socket
2012-06-01 15:23:17 +00:00
Previously the code would create a dummy socket while resolving just to
have curl_multi_fdset() return something but the non-win32 version
doesn't do it this way and the creation and use of a socket that isn't
made with the common create-socket callback can be confusing to apps
using the multi_socket API etc.
2012-06-01 15:23:17 +00:00
This change removes the dummy socket and thus will cause
curl_multi_fdset() to return with maxfd == -1 more often.
- [Peter Sylvester brought this change]
2015-01-23 15:30:59 +00:00
OpenSSL: remove reference to openssl internal struct
2012-06-01 15:23:17 +00:00
With this change, curl compiles with the new OPENSSL_NO_SSL_INTERN
cflag. This flag might become the default in some distant future.
2012-06-01 15:23:17 +00:00
Yang Tse (4 Jan 2012)
- test1320 test1321: avoid User-Agent comparison
2012-06-01 15:23:17 +00:00
- httpserver.pl: reorder sws command line options
make 'pidfile' and 'logfile' options appear first on command line in order
to ensure that processing of other options which write to logfile do this
to intended file and not the default one.
2012-06-01 15:23:17 +00:00
- sws.c: fix proxy mode segfault
2012-06-01 15:23:17 +00:00
- tool_formparse.c: fix compiler warning: enumerated type mixed with another type
2012-06-01 15:23:17 +00:00
- krb5.c: fix compiler warning: variable set but not used
2015-01-23 15:30:59 +00:00
Daniel Stenberg (4 Jan 2012)
- KNOWN_BUGS: #77 CURLOPT_FORBID_REUSE kills NTLM
2012-06-01 15:23:17 +00:00
- [Steve Holme brought this change]
2012-06-01 15:23:17 +00:00
Fixed use of CURLUSESSL_TRY for POP3 and IMAP based connections.
Fixed a problem in POP3 and IMAP where a connection would fail when
CURLUSESSL_TRY was specified for a server that didn't support
SSL/TLS connections rather than continuing.
- [Steve Holme brought this change]
2012-06-01 15:23:17 +00:00
Fixed incorrect error code being returned in STARTTLS
2012-06-01 15:23:17 +00:00
The STARTTLS response code in SMTP, POP3 and IMAP would return
CURLE_LOGIN_DENIED rather than CURLE_USE_SSL_FAILED when SSL/TLS
was not available on the server.
2012-06-01 15:23:17 +00:00
Reported by: Gokhan Sengun
Bug: http://curl.haxx.se/mail/lib-2012-01/0018.html
2012-06-01 15:23:17 +00:00
- curl_easy_setopt: refer to the most recent URI RFC
2012-06-01 15:23:17 +00:00
- RELEASE-NOTES: synced with 2f4a487a68
Two bugfixes, two more contributors
2012-06-01 15:23:17 +00:00
- tests: test IMAP, POP3 and SMTP over HTTP proxy tunnel
2015-01-23 15:30:59 +00:00
- test proxy supports CONNECT
2012-06-01 15:23:17 +00:00
There's a new 'http-proxy' server for tests that runs on a separate port
and lets clients do HTTP CONNECT to other ports on the same host to
allow us to test HTTP "tunneling" properly.
Test cases now have a <proxy> section in <verify> to check that the
proxy protocol part matches correctly.
Test case 80, 83, 95, 275, 503 and 1078 have been converted. Test 1316
was added.
2012-06-01 15:23:17 +00:00
- curl_easy_strerror.3: minor synopsis edit of the look
2012-06-01 15:23:17 +00:00
Yang Tse (2 Jan 2012)
- hostip.c: fix potential write past the end of string buffer
2012-06-01 15:23:17 +00:00
- hostip.c: fix Curl_loadhostpairs() OOM handling
2012-06-01 15:23:17 +00:00
- runtests.pl: on test failure, don't show trace log files of other tests
2012-06-01 15:23:17 +00:00
Daniel Stenberg (1 Jan 2012)
- Curl_input_negotiate: use the correct buffer for input
2012-06-01 15:23:17 +00:00
Unfortunately we have no test cases for this and I have no SSPI build or
server to verify this with. The change seems simple enough though.
2012-06-01 15:23:17 +00:00
Bug: http://curl.haxx.se/bug/view.cgi?id=3466497
Reported by: Patrice Guerin
2012-06-01 15:23:17 +00:00
- runtests: put trace outputs in log/trace[num] for all tests
2015-01-23 15:30:59 +00:00
- just a stupid typo
2012-06-01 15:23:17 +00:00
- SFTP dir: increase buffer size counter
When the buffer gets realloced to hold the file name in the
SSH_SFTP_READDIR_LINK state, the counter was not bumped accordingly.
Reported by: Armel Asselin
Patch by: Armel Asselin
Bug: http://curl.haxx.se/mail/lib-2011-12/0249.html
2012-06-01 15:23:17 +00:00
- RELEASE-NOTES: synced with 81ebdd9e287
6 more bugfixes, 3 more contributors
2012-06-01 15:23:17 +00:00
- create_hostcache_id: use the key lower cased
... to make sure the DNS cache is properly case insensitive
2015-01-23 15:30:59 +00:00
- changed case: use new host name for subsequent HTTP requests
2012-06-01 15:23:17 +00:00
When a HTTP connection is re-used for a subsequent request without
proxy, it would always re-use the Host: header of the first request. As
host names are case insensitive it would make curl send another host
name case that what the particular request used.
2012-06-01 15:23:17 +00:00
Now it will instead always use the most recent host name to always use
the desired casing.
Added test case 1318 to verify.
2012-06-01 15:23:17 +00:00
Bug: http://curl.haxx.se/mail/lib-2011-12/0314.html
Reported by: Alex Vinnik
- CURLOPT_RESOLVE: avoid adding already present host names
2012-06-01 15:23:17 +00:00
The load host names to DNS cache function was moved to hostip.c and it
now makes sure to not add host names that already are present in the
cache. It would previously lead to memory leaks when for example using
the --resolve and multiple URLs on the command line.
Dan Fandrich (31 Dec 2011)
- runtests.pl: Use logmsg more consistently
Daniel Stenberg (30 Dec 2011)
- [Alessandro Ghedini brought this change]
2012-06-01 15:23:17 +00:00
examples: update README, Makefile.inc and gitignore with pop3s examples
2012-06-01 15:23:17 +00:00
- [Alessandro Ghedini brought this change]
2012-06-01 15:23:17 +00:00
examples: add a couple of simple pop3s examples
2012-06-01 15:23:17 +00:00
These examples show how to fetch a single message (RETR command) and how to
list all the messages in a given mailbox (LIST command), with authentication
via SSL.
2012-06-01 15:23:17 +00:00
They were both based on the https.c example.
2015-01-23 15:30:59 +00:00
Yang Tse (30 Dec 2011)
- removed execute file permission
2012-06-01 15:23:17 +00:00
- removed trailing whitespace
2015-01-23 15:30:59 +00:00
- ftpserver.pl: arbitrary application data splitting among TCP packets [II]
2012-06-01 15:23:17 +00:00
Take in account that 'pingpong' server commands may arrive splitted among
several sockfilt 'DATA' PDU's.
2015-01-23 15:30:59 +00:00
- ftpserver.pl: arbitrary application data splitting among TCP packets [I]
2012-06-01 15:23:17 +00:00
Initial step in order to allow our pingpong server to better support arbitrary
application data splitting among TCP packets. This first commit only addresses
reasembly of data that sockfilter processes reads from soockets and pingpong
server later reads from sockfilters stdout.
2012-06-01 15:23:17 +00:00
- testcurl.pl: 82c344a3 follow-up
2012-06-01 15:23:17 +00:00
- testcurl.pl: log ACLOCAL_FLAGS
2012-06-01 15:23:17 +00:00
- testcurl.pl: third party m4 warnings filtering adjustment
Make testcurl.pl ignore messages pertaining to third party m4 files we don't
care nor use on a file basis policy while retaining all other warnings.
2012-06-01 15:23:17 +00:00
This closes temporary commit e71e226f
Kamil Dudka (25 Dec 2011)
- transfer: avoid unnecessary timeout event when waiting for 100-continue
2012-06-01 15:23:17 +00:00
The commit 9dd85bc unintentionally changed the way we compute the time
spent waiting for 100-continue. In particular, when using a SSL client
certificate, the time spent by SSL handshake was included and could
cause the CURL_TIMEOUT_EXPECT_100 timeout to be mistakenly fired up.
2015-01-23 15:30:59 +00:00
Bug: https://bugzilla.redhat.com/767490
Reported by: Mamoru Tasaka
2015-01-23 15:30:59 +00:00
Yang Tse (25 Dec 2011)
- transfer.c: move a logging statement placement
2012-06-01 15:23:17 +00:00
- hash.c: fix OOM triggered segfault
2015-01-23 15:30:59 +00:00
Daniel Stenberg (24 Dec 2011)
- ftp_do_more: don't return success until all is done
2015-01-23 15:30:59 +00:00
ftp_do_more() returns after accepting the server connect however it
needs to fall through and set "*complete" to TRUE before exit from the
function.
2012-06-01 15:23:17 +00:00
Bug: http://curl.haxx.se/mail/lib-2011-12/0250.html
Reported by: Gokhan Sengun
- Curl_do_more: fix typo logic
2012-06-01 15:23:17 +00:00
In the recent do_more fix the new logic was mistakenly checking the
pointer instead of what it points to.
2015-01-23 15:30:59 +00:00
Reported by: Gokhan Sengun
Bug: http://curl.haxx.se/mail/lib-2011-12/0250.html
2012-06-01 15:23:17 +00:00
- SFTP mkdir: use correct permission
When sending quote command to a SFTP server and 'mkdir' was used, it
would send fixed permissions and not use the CURLOPT_NEW_DIRECTORY_PERMS
as it should.
2012-06-01 15:23:17 +00:00
Reported by: Armel
Patch by: Armel
Bug: http://curl.haxx.se/mail/lib-2011-12/0249.html
2012-06-01 15:23:17 +00:00
Yang Tse (23 Dec 2011)
- buildconf: minor tweaks commit 430527a1 follow-up
2012-06-01 15:23:17 +00:00
Daniel Stenberg (23 Dec 2011)
- [Colin Hogben brought this change]
2012-06-01 15:23:17 +00:00
Require a less ancient version of perl
2012-06-01 15:23:17 +00:00
The INTERNALS document suggested that compatibility should be
maintained with perl version 4, but this was untrue - scripts such as
chksource.pl and runtests.pl use perl5-isms.
2012-06-01 15:23:17 +00:00
- resolve: don't leak pre-populated dns entries
2012-06-01 15:23:17 +00:00
CURLOPT_RESOLVE populates the DNS cache with entries that are marked as
eternally in use. Those entries need to be taken care of when the cache
is killed off.
2012-06-01 15:23:17 +00:00
Bug: http://curl.haxx.se/bug/view.cgi?id=3463121
Reported by: "tw84452852"
2012-06-01 15:23:17 +00:00
- new test: verify --resolve
2012-06-01 15:23:17 +00:00
Test 1317 verifies --resolve (leaked memory)
2012-06-01 15:23:17 +00:00
Bug: http://curl.haxx.se/bug/view.cgi?id=3463121
Reported by: "tw84452852"
2015-01-23 15:30:59 +00:00
Yang Tse (23 Dec 2011)
- testcurl.pl: temporary change
2012-06-01 15:23:17 +00:00
Allow autobuilds to run a couple of days without filtering out aclocal
underquoted definition warnings.
2015-01-23 15:30:59 +00:00
Daniel Stenberg (21 Dec 2011)
- operate: removed a single trailing space
2012-06-01 15:23:17 +00:00
Dan Fandrich (21 Dec 2011)
- --retry: Retry transfers on timeout and DNS errors
2012-06-01 15:23:17 +00:00
Yang Tse (21 Dec 2011)
- buildconf: minor tweaks
2012-06-01 15:23:17 +00:00
- formdata.c: OOM handling fixes
2012-06-01 15:23:17 +00:00
Daniel Stenberg (21 Dec 2011)
- TODO: 1.7 Happy Eyeball dual stack connect
2012-06-01 15:23:17 +00:00
Dan Fandrich (20 Dec 2011)
- runtests.pl: Fixed perl warning when using the -l option
2012-06-01 15:23:17 +00:00
Daniel Stenberg (20 Dec 2011)
- RELEASE-NOTES: added two references
2012-06-01 15:23:17 +00:00
- Curl_socket_check: enlarge poll struct array to 3
2012-06-01 15:23:17 +00:00
This function was introduced in commit 5527417afae0 and as pointed out
by Gokhan Sengun, the array with poll structs must large enough to hold
3 sockets since that is what the function can accept. It could be noted
that he had this fixed in his patch as posted in
http://curl.haxx.se/mail/lib-2011-12/0179.html
2012-06-01 15:23:17 +00:00
Bug: http://curl.haxx.se/mail/lib-2011-12/0228.html
Reported by: Gokhan Sengun
2012-06-01 15:23:17 +00:00
- RELEASE-NOTES: synced with 380bade777
2012-06-01 15:23:17 +00:00
5 new bugfixes, 2 new changes and 4 new contributors
2015-01-23 15:30:59 +00:00
- TODO: remove active FTP from section 2.1
2012-06-01 15:23:17 +00:00
It is no longer done blocking in the multi interface
2012-06-01 15:23:17 +00:00
- libcurl docs: add the new FTP accept option + errors
2012-06-01 15:23:17 +00:00
- timeleft_accept: ack global timeout, moved to ftp.c
2012-06-01 15:23:17 +00:00
First off the timeout for accepting a server connect back must of course
respect a global timeout. Then the timeleft function is only used by ftp
code so it was moved to ftp.c and made static.
2012-06-01 15:23:17 +00:00
- libcurl-tutorial.3: curl doesn't sent pragma no-cache
2012-06-01 15:23:17 +00:00
It did a long time ago
2012-06-01 15:23:17 +00:00
- libcurl-multi.3: active FTP is no longer blocking!
2012-06-01 15:23:17 +00:00
- FTP: move FTP-specific struct field to ftpc_conn
"wait_data_conn" was added to the connectionbits in commit c834213ad5 for
handling active FTP connections but as it is purely FTP specific and now
only ever accessed by ftp.c I moved it into the FTP connection struct.
2012-06-01 15:23:17 +00:00
- non-blocking active FTP: cleanup multi state usage
Backpedaled out the funny double-change of state in the multi state
machine by adding a new argument to the do_more() function to signal
completion. This way it can remain in the DO_MORE state properly until
done. Long term, the entire DO_MORE logic should be moved into the FTP
code and be hidden from the multi code as the logic is only used for
FTP.
2012-06-01 15:23:17 +00:00
- [Gokhan Sengun brought this change]
2012-06-01 15:23:17 +00:00
FTP: perform active connections non-blocking
2015-01-23 15:30:59 +00:00
1- Two new error codes are introduced.
2015-01-23 15:30:59 +00:00
CURLE_FTP_ACCEPT_FAILED to be set whenever ACCEPTing fails because of
FTP server connected.
2012-06-01 15:23:17 +00:00
CURLE_FTP_ACCEPT_TIMEOUT to be set whenever ACCEPTing timeouts.
2012-06-01 15:23:17 +00:00
Neither of these errors are considered fatal and control connection
remains OK because it could just be a firewall blocking server to
connect to the client.
2015-01-23 15:30:59 +00:00
2- One new setopt option was introduced.
2015-01-23 15:30:59 +00:00
CURLOPT_ACCEPTTIMEOUT_MS
2015-01-23 15:30:59 +00:00
It sets the maximum amount of time FTP client is going to wait for a
server to connect. Internal default accept timeout is 60 seconds.
2012-06-01 15:23:17 +00:00
- sockets: new Curl_socket_check() can wait for 3 sockets
2015-01-23 15:30:59 +00:00
This offers an alternative to the existing Curl_socket_ready() API which
only checks one socket for read and one for write.
2012-06-01 15:23:17 +00:00
- [Cédric Deltheil brought this change]
2012-06-01 15:23:17 +00:00
curl.h: add __ANDROID__ macro check
2015-01-23 15:30:59 +00:00
When working with the Android Standalone Toolchain the compiler defines
this macro:
2015-01-23 15:30:59 +00:00
/path/to/arm-linux-androideabi-gcc -E -dM - < /dev/null \
| grep -i android
#define __ANDROID__ 1
We really need to check both ANDROID and __ANDROID__ since I've observed
that:
2012-06-01 15:23:17 +00:00
* if you use Android.mk file(s) and the 'ndk-build' script (aka vanilla
way), ANDROID is predefined (see -DANDROID extra C flag),
2012-06-01 15:23:17 +00:00
* if you use the Android Standalone Toolchain, then __ANDROID__ is
predefined as stated by the compiler
2012-06-01 15:23:17 +00:00
- lib500: verify timers relative each other
As commit ce896875f8 fixed a timer that accidentally had been moved in
code and then returned a bad timer, the lib500.c code (used in test 500
and some others) now verifies 5 timers against each other to verify that
they have the correct relative values. We cannot compare against
absolute values as the timings will vary a lot.
2015-01-23 15:30:59 +00:00
- Curl_pgrsTime: store now in an auto variable
2015-01-23 15:30:59 +00:00
It makes it easier to introduce debug outputs in this function, and
everything in the function is using the value anyway so it might even be
more efficient.
- timer: restore PRETRANSFER timing
2012-06-01 15:23:17 +00:00
Regression introduced in 7.23.0 with commit 9dd85bce. The function in
which the PRETRANSFER time stamp was recorded was moved in time causing
it be stored very quickly after the start timestamp. On most systems
shorter than 1 millisecond and thus it wouldn't even show with -w
"%{time_pretransfer}" using the command line tool.
2015-01-23 15:30:59 +00:00
Bug: http://curl.haxx.se/mail/archive-2011-12/0022.html
Reported by: Toni Moreno
2012-06-01 15:23:17 +00:00
- [Bernhard Reutner-Fischer brought this change]
2012-06-01 15:23:17 +00:00
libcurl.m4: Fix quoting arguments of AC_LANG_PROGRAM
2012-06-01 15:23:17 +00:00
Parameters were underquoted, resulting in
warning: AC_LANG_CONFTEST: no AC_LANG_SOURCE call detected in body
2012-06-01 15:23:17 +00:00
Signed-off-by: Bernhard Reutner-Fischer <rep.dot.nop@gmail.com>
2015-01-23 15:30:59 +00:00
- gitignore: ignore the symbol versioning file
2012-06-01 15:23:17 +00:00
- tutorial: remove CURLM_CALL_MULTI_PERFORM add sharing
2015-01-23 15:30:59 +00:00
The CURLM_CALL_MULTI_PERFORM reference is an old leftover I had to
remove.
2015-01-23 15:30:59 +00:00
I also added some blurb to the previously blank "sharing" section.
2012-06-01 15:23:17 +00:00
- [Alessandro Ghedini brought this change]
2012-06-01 15:23:17 +00:00
configure: add symbols versioning option
2012-06-01 15:23:17 +00:00
Allow, at configure time, the production of versioned symbols. The
symbols will look like "CURL_<FLAVOUR>_<VERSION> <SYMBOL>", where
<FLAVOUR> represents the SSL flavour (e.g. OPENSSL, GNUTLS, NSS, ...),
<VERSION> is the major SONAME version and <SYMBOL> is the actual symbol
name. If no SSL library is enabled the symbols will be just
"CURL_<VERSION> <SYMBOL>".
2012-06-01 15:23:17 +00:00
- [Sven Wegener brought this change]
2015-01-23 15:30:59 +00:00
Use Curl_ssl_connect for non-blocking connect fallback
2012-06-01 15:23:17 +00:00
This gets the appconnect time right for ssl backends, which don't
support non-blocking connects.
2012-06-01 15:23:17 +00:00
Signed-off-by: Sven Wegener <sven.wegener@stealer.net>
- RELEASE-NOTES: synced with af9bc1604c1
2012-06-01 15:23:17 +00:00
One new feature, one bug fix. Introduced references in this file for
mentioned issues after this discussion:
http://curl.haxx.se/mail/lib-2011-12/0187.html
2015-01-23 15:30:59 +00:00
The plan is to let the references get moved over to the changes.html
file at release-time
- curl.1: minor white space cleanup
- [Alessandro Ghedini brought this change]
docs: improve description of the --capath option
2015-01-23 15:30:59 +00:00
Document the possibility of providing multiple values using the ":"
separator, and the fact that the default value will be ignored if the
option is used.
2012-06-01 15:23:17 +00:00
- [Steve Holme brought this change]
2012-06-01 15:23:17 +00:00
DOCS: Added SMTP information to CURLOPT_INFILESIZE
- Curl_proxyCONNECT: use newlines in debug output
- curl -F: fix multiple file upload with custom type
2012-06-01 15:23:17 +00:00
Test case 1315 was added to verify this functionality. When passing in
multiple files to a single -F, the parser would get all confused if one
of the specified files had a custom type= assigned.
2015-01-23 15:30:59 +00:00
Reported by: Colin Hogben
2012-06-01 15:23:17 +00:00
- [Colin Hogben brought this change]
2015-01-23 15:30:59 +00:00
New test for multiple file upload
2012-06-01 15:23:17 +00:00
test 1315 checks correct behaviour when uploading multiple files.
Buggy behaviour has been seen where only two attachments are sent.
2012-06-01 15:23:17 +00:00
Yang Tse (15 Dec 2011)
- configure: libtool 1.5 tweaks
2015-01-23 15:30:59 +00:00
Daniel Stenberg (15 Dec 2011)
- [Colin Hogben brought this change]
2012-06-01 15:23:17 +00:00
Correct substitution var names
2012-06-01 15:23:17 +00:00
Two variable names were wrong in the documentation.
- [Colin Hogben brought this change]
2015-01-23 15:30:59 +00:00
Correct default upload mimetype in manual
2012-06-01 15:23:17 +00:00
The default content-type for file uploads is application/octet-stream,
not text/plain as stated in the MANUAL.
2012-06-01 15:23:17 +00:00
- [Alessandro Ghedini brought this change]
2012-06-01 15:23:17 +00:00
docs: fix typo in curl_easy_setopt manpage
2012-06-01 15:23:17 +00:00
Yang Tse (13 Dec 2011)
- if2ip.[ch]: fix compilation with MinGW
2012-06-01 15:23:17 +00:00
Avoid 'interface' literal that some MinGW versions define as a macro
- connect.c: fix compiler warning 'enumerated type is mixed with another type'
2015-01-23 15:30:59 +00:00
- if2ip.c: fix compiler warning 'unused parameter'
2012-06-01 15:23:17 +00:00
- pop3.c: fix compiler warning variable may be used uninitialized
2015-01-23 15:30:59 +00:00
- if2ip.c: fix compiler warning 'enumerated type is mixed with another type'
Daniel Stenberg (12 Dec 2011)
- [Jason Glasgow brought this change]
CURLOPT_INTERFACE: avoid resolving interfaces names
2012-06-01 15:23:17 +00:00
Do not try to resolve interfaces names via DNS by recognizing interface
names in a few ways. If the interface option argument has a prefix of
"if!" then treat the argument as only an interface. Similarly, if the
interface argument is the name of an interface (even if it does not have
an IP address assigned), treat it as an interface name. Finally, if the
interface argument is prefixed by "host!" treat it as a hostname that
must be resolved by /etc/hosts or DNS.
2012-06-01 15:23:17 +00:00
These changes allow a client using the multi interfaces to avoid
blocking on name resolution if the interface loses its IP address or
disappears.
- RELEASE-NOTES: synced with 1259ccf7474
2012-06-01 15:23:17 +00:00
5 more bugfixes, 5 more contributors
- [Steve Holme brought this change]
ConnectionExists: Fix reuse for TLS upgraded connections
2012-06-01 15:23:17 +00:00
Fixed the connection reuse detection in ConnectionExists() when
comparing a new connection that is non-SSL based against that of a SSL
based connection that has become so by being upgraded via TLS.
2012-06-01 15:23:17 +00:00
- create_conn: don't switch to HTTP protocol if tunneling is enabled
This is a regression since who knows when. When spotting that a HTTP
proxy is used we must not uncondititionally enable the HTTP protocol
since if we do tunneling through the proxy we're still using the target
protocol.
2012-06-01 15:23:17 +00:00
Reported by: Naveen Chandran
2012-06-01 15:23:17 +00:00
- FAQ: add --resolve details to question 3.19
2015-01-23 15:30:59 +00:00
- [Gokhan Sengun brought this change]
2015-01-23 15:30:59 +00:00
Curl_closesocket: clear sock_accepted on close
As a follow-up from commit d5b5f64bce3a8, clear the sock_accepted status
when such a socket is closed to avoid a re-used connection to retain the
state wrongly.
Bug: http://curl.haxx.se/mail/lib-2011-12/0079.html
2015-01-23 15:30:59 +00:00
- static SSL windows builds: add more libs to the link
Starting with some recent OpenSSL versions (1.0.0e was mentioned)
linking with a static openssl requires a set of more libs to be linked
on Windows.
Thanks also to Steve Holme and Martin Storsj<73> for additional feedback.
Bug: http://curl.haxx.se/mail/lib-2011-12/0063.html
Reported by: Ward Willats
2015-01-23 15:30:59 +00:00
- [Gokhan Sengun brought this change]
2015-01-23 15:30:59 +00:00
multi interface: fix block when CONNECT_ONLY option is used
2015-01-23 15:30:59 +00:00
Dan Fandrich (6 Dec 2011)
- Added some include files in a couple of example programs
This improves portability of the examples. This patch was
submitted to the OpenBSD ports collection by naddy.
2012-06-01 15:23:17 +00:00
Daniel Stenberg (6 Dec 2011)
- MakefileBuild: fix the static build
This is a left-over fix from commit b7e242de0e that Tom Wright
suggested.
2012-06-01 15:23:17 +00:00
Reported by: Ward Willats
2015-01-23 15:30:59 +00:00
- OpenSSL: check for the SSLv2 function in configure
If no SSLv2 was detected in OpenSSL by configure, then we enforce the
OPENSSL_NO_SSL2 define as it seems some people report it not being
defined properly in the OpenSSL headers.
2015-01-23 15:30:59 +00:00
- CURLOPT_CONNECTTIMEOUT: default is 300 seconds
If the option is set to 0, the default timeout will be used - which in
modern libcurl versions equals 300 seconds (== 5 minutes).
Bug: http://curl.haxx.se/mail/lib-2011-12/0051.html
Reported by: Vladimir Grishchenko
2015-01-23 15:30:59 +00:00
- [Rob Ward brought this change]
2015-01-23 15:30:59 +00:00
progress function example: include timed interval
Adds a timer based off of CURLINFO_TOTAL_TIME that is used to perform
certain actions after a minimum amount of time has passed using the
progress function. As a consequence the curl handle is now also passed
into the progress function. Progress example now also includes an
example of how to retreive the TOTAL_TIME and print it out.
2015-01-23 15:30:59 +00:00
- RELEASE-NOTES: synced with 347f951c390
8 more bugs, 5 more contributors
2015-01-23 15:30:59 +00:00
- SSH: fix CURLOPT_SSH_HOST_PUBLIC_KEY_MD5
When a 32 digit hex key is given as a hostkey md5 checksum, the code
would still run it against the knownhost check and not properly
acknowledge that the md5 should then be the sole guide for.
The verbose output now includes the evaluated MD5 hostkey checksum.
Some related source code comments were also updated.
2012-06-01 15:23:17 +00:00
Bug: http://curl.haxx.se/bug/view.cgi?id=3451592
Reported by: Reza Arbab
2012-06-01 15:23:17 +00:00
- Curl_resolver_is_resolved: differentiate between host/proxy errors
As there are different return codes for host vs proxy errors, this function
now properly returns the code properly depending on what was attempted to get
resolved.
Bug: http://curl.haxx.se/mail/archive-2011-12/0010.html
Reported by: Jason Liu
2015-01-23 15:30:59 +00:00
- c-ares: return proxy failure for all proxy types
2012-06-01 15:23:17 +00:00
When making a distinction which return code to return, the code previously
only regarded HTTP proxies to be proxies and thus return host-related errors
for failures on other proxy types than HTTP. Now all proxy types will be
considered proxies...
2015-01-23 15:30:59 +00:00
- FTP: close callback fix
2012-06-01 15:23:17 +00:00
Keep track of which sockets that are the result of accept() calls and
refuse to call the closesocket callback for those sockets. Test case 596
now verifies that the open socket callback is called the same number of
times as the closed socket callback for active FTP connections.
Bug: http://curl.haxx.se/mail/lib-2011-12/0018.html
Reported by: Gokhan Sengun
2012-06-01 15:23:17 +00:00
- FTP: call opensocket callback properly
When the new socket is created for an active connection, it is now done
using the open socket callback.
2012-06-01 15:23:17 +00:00
Test case 596 was modified to run fine, although it hides the fact that
the close callback is still called too many times, as it also gets
called for closing sockets that were created with accept().
2012-06-01 15:23:17 +00:00
- Curl_socket: internal replacement for socket()
2012-06-01 15:23:17 +00:00
Moved out into a separate function to work as a "generic" socket()
replacement.
2012-06-01 15:23:17 +00:00
- test: verify the opensocket callback for FTP
test 595: for passive FTP
test 596: for active FTP
2012-06-01 15:23:17 +00:00
- [Jason Glasgow brought this change]
2015-01-23 15:30:59 +00:00
CURLOPT_DNS_SERVERS: set name servers if possible (fix)
2012-06-01 15:23:17 +00:00
Ensure that CURLE_OK is returned if setting the name servers is successfull.
2012-06-01 15:23:17 +00:00
- multi interface: only use non-NULL function pointer!
2012-06-01 15:23:17 +00:00
If the socket callback function pointer hasn't been set, we must not
attempt to use it. Commit adc88ca20 made it more likely to occur.
2012-06-01 15:23:17 +00:00
- [Jason Glasgow brought this change]
2012-06-01 15:23:17 +00:00
multi: handle timeouts on DNS servers by checking for new sockets
2012-06-01 15:23:17 +00:00
If the first name server is not available, the multi interface does
not invoke the socket_cb when the DNS request to the first name server
timesout. Ensure that the list of sockets are always updated after
calling Curl_resolver_is_resolved.
2012-06-01 15:23:17 +00:00
This bug can be reproduced if Curl is complied with --enable_ares and
your code uses the multi socket interfaces and the
CURLMOPT_SOCKETFUNCTION option. To test try:
iptables -I INPUT \
-s $(sed -n -e '/name/{s/.* //p;q}' /etc/resolv.conf)/32 \
-j REJECT
and then run a program which uses the multi-interface.
2012-06-01 15:23:17 +00:00
- test 815: verify POP3 dot-first-on-line unescaping
2012-06-01 15:23:17 +00:00
- [Steve Holme brought this change]
2012-06-01 15:23:17 +00:00
POP3: fixed escaped dot not being striped out
2012-06-01 15:23:17 +00:00
Changed the eob detection to work across the whole of the buffer so that
lines that begin with a dot (which the server will have escaped) are
passed to the client application correctly.
2012-06-01 15:23:17 +00:00
Yang Tse (30 Nov 2011)
- buildconf: follow-up for commit 7e02f7fd
2012-06-01 15:23:17 +00:00
- buildconf: fix libtool 1.5.x warnings triggered with autoconf 2.6x or later
Using libtool 1.5.x (x < 26) with autoconf 2.6x or later generates warnings
due to some libtool variables not following naming convention for variables
that will be cached.
This is addressed renaming a couple of variables to make these follow expected
naming convention.
2012-06-01 15:23:17 +00:00
Daniel Stenberg (30 Nov 2011)
- RELEASE-NOTES: synced with 1038d0aa1
2012-06-01 15:23:17 +00:00
5 bugfixes and 1 new contributor
2012-06-01 15:23:17 +00:00
Yang Tse (29 Nov 2011)
- pop3.c: fix compiler warning
2012-06-01 15:23:17 +00:00
- configure: avoid usage of macro PKG_CHECK_MODULES
2012-06-01 15:23:17 +00:00
libidn option adjusted in order to use pkg-config info when available
in a similar way as we already do for other libraries.
2012-06-01 15:23:17 +00:00
Daniel Stenberg (29 Nov 2011)
- POP3: detect when LIST returns no mails
2012-06-01 15:23:17 +00:00
By making sure the function can detect an "end of body" sequence
immediately on the first line, test 811 is now enabled.
2012-06-01 15:23:17 +00:00
- ftpserver: output CRLF in logs
2012-06-01 15:23:17 +00:00
Previously the log function would just filter out all CR and LF
occurances from the log to make it more readable. This had the downside
that it made it very hard to see CR LFs when they actually matters.
Now, they're instead converted to "[CR]" and "[LR]" in the log to become
apparent to readers.
2012-06-01 15:23:17 +00:00
- POP3: fix end of body detection
Curl_pop3_write() now has a state machine that scans for the end of a
POP3 body so that the CR LF '.' CR LF sequence can come in everything
from one up to five subsequent packets.
2012-06-01 15:23:17 +00:00
Test case 810 is modified to use SLOWDOWN which makes the server pause
between each single byte and thus makes the POP3 body get sent to curl
basically one byte at a time.
2015-01-23 15:30:59 +00:00
- test: added POP3 test with dot-prefixed line
Test 815 is disabled for now since libcurl currently doesn't unescape
such lines the way it should. See mail:
http://curl.haxx.se/mail/lib-2011-11/0324.html
2012-06-01 15:23:17 +00:00
- configure: fix to make older pkg-config play well
2012-06-01 15:23:17 +00:00
configure.ac:1349: error: possibly undefined macro: PKG_CONFIG_LIBDIR
2012-06-01 15:23:17 +00:00
Obviously this is not a problem with pkg-config 0.26 but older versions
seem to show this.
2012-06-01 15:23:17 +00:00
Fix suggested by: Kamil Dudka
Reported by: Guenter
Bug: http://curl.haxx.se/mail/lib-2011-11/0298.html
2012-06-01 15:23:17 +00:00
- test 1211: FTP test to repeat bug #3429299
2012-06-01 15:23:17 +00:00
"Active FTP hangs if server does not open data connection"
2012-06-01 15:23:17 +00:00
The server first sends a 150 and then when libcurl waits for the data
transfer, the server sends a 425.
2012-06-01 15:23:17 +00:00
- [Mark Brand brought this change]
2012-06-01 15:23:17 +00:00
configure: add support for pkg-config detection of libidn
2012-06-01 15:23:17 +00:00
- FTP tests 1206 - 1209: don't expect QUIT
The protocol parts for these tests do not include QUIT simply because
the error is CURLE_OPERATION_TIMEDOUT (28) which is a generic timeout
error without specificly saying for which connection it concerns, and
for timeouts libcurl marks the control channel as "invalid". As this
test case times out for the data connection it could still use the
control channel.
2012-06-01 15:23:17 +00:00
Yang Tse (25 Nov 2011)
- CyaSSL 2.0+ library initialization adjustment
2012-06-01 15:23:17 +00:00
Daniel Stenberg (25 Nov 2011)
- [Jonas Schnelli brought this change]
2012-06-01 15:23:17 +00:00
rectify comment
2012-06-01 15:23:17 +00:00
- SSLSESSION_SHARED: new macro to check if session is shared
2012-06-01 15:23:17 +00:00
Added convenience macro to use to check if a handle is using a shared
SSL session, and fixed so that Curl_ssl_close_all() doesn't lock when
the session isn't shared.
2012-06-01 15:23:17 +00:00
Yang Tse (25 Nov 2011)
- telnet.c: fix MSVC compiler warning
2012-06-01 15:23:17 +00:00
- tvdiff_secs(): sub-zero time difference adjustment
2012-06-01 15:23:17 +00:00
Skip a floating point addition operation when integral part of time difference
is zero. This avoids potential floating point addition rounding problems while
preserving decimal part value.
2015-01-23 15:30:59 +00:00
Daniel Stenberg (25 Nov 2011)
- telnet: fix macros to allow proper semicolon use
2012-06-01 15:23:17 +00:00
Macros that look like function calls need to be made so that we can use
semicolons properly for indentation and for reducing the risk for
mistakes when using them.
2012-06-01 15:23:17 +00:00
- [Laurent Rabret brought this change]
2012-06-01 15:23:17 +00:00
TELNET: improved treatment of options
2015-01-23 15:30:59 +00:00
1) enables the Window Size option
2) allows the server to enable the echo mode
3) allows an app using libcurl to disable the default binary mode
Signed-off-by: Laurent Rabret
- RELEASE-NOTES: synced with 2c905fd1f82
2012-06-01 15:23:17 +00:00
- [Jonas Schnelli brought this change]
query-part: ignore the URI part for given protocols
2012-06-01 15:23:17 +00:00
By setting PROTOPT_NOURLQUERY in the protocol handler struct, the
protocol will get the "query part" of the URL cut off before the data is
handled by the protocol-specific code. This makes libcurl adhere to
RFC3986 section 2.2.
2012-06-01 15:23:17 +00:00
Test 1220 is added to verify a file:// URL with query-part.
2012-06-01 15:23:17 +00:00
- symbols.pl: provide LIBCURL_HAS macro for apps
2012-06-01 15:23:17 +00:00
Experience has shown that the symbols-in-versions file is very useful to
applications that want to build with a wide range of libcurl versions.
It is however easy to get it wrong and the source gets a bit messy with
all the fixed numerical comparisions.
2012-06-01 15:23:17 +00:00
The point of this script is to provide an easy-to-use macro for libcurl-
using applications to do preprocessor checks for specific libcurl
defines, and yet make the code clearly show what the macro is used for.
2012-06-01 15:23:17 +00:00
Yang Tse (24 Nov 2011)
- lib573.c: fix double data type variable comparison with zero
2012-06-01 15:23:17 +00:00
- getinfo.c: reset app connect time when clearing session-info time variables
2012-06-01 15:23:17 +00:00
- Fix unreleased regression when using windows gnutls versions older than 2.8
2012-06-01 15:23:17 +00:00
Daniel Stenberg (23 Nov 2011)
- [Mark Brand brought this change]
2012-06-01 15:23:17 +00:00
gnutls: only translate winsock errors for old versions
2012-06-01 15:23:17 +00:00
Bugfix: https handshake fails using gnutls 3 on windows
http://sourceforge.net/tracker/index.php?func=detail&aid=3441084&group_id=976&atid=100976
2012-06-01 15:23:17 +00:00
New gnutls versions have an error handler that knows about Winsock
errors, which is why gnutls_transport_set_global_errno() was deprecated
and then removed.
2012-06-01 15:23:17 +00:00
This is a correction of commit f5bb370 (blame me) which meant to
reimplement gnutls_transport_set_global_errno(), which is not necessary.
2012-06-01 15:23:17 +00:00
- protocol_connect: show verbose connect and set connect time
2012-06-01 15:23:17 +00:00
Regression: commit b998d95b (shipped first in release 7.22.0) made the
condition always equal false that should reset the TIMER_CONNECT timer
and call the Curl_verboseconnect() function.
Reported by: "Captain Basil"
Bug: http://curl.haxx.se/mail/archive-2011-11/0035.html
2012-06-01 15:23:17 +00:00
- -J -O: use -O name if no Content-Disposition header comes!
A regression between 7.22.0 and 7.23.0 -- downloading a file with the
flags -O and -J results in the content being written to stdout if and
only if there was no Content-Disposition header in the http response. If
there is a C-D header with a filename attribute, the output is correctly
written.
2012-06-01 15:23:17 +00:00
Reported by: Dave Reisner
Bug: http://curl.haxx.se/mail/archive-2011-11/0030.html
2012-06-01 15:23:17 +00:00
- [Martin Storsjo brought this change]
2012-06-01 15:23:17 +00:00
Add support for using nettle instead of gcrypt as gnutls backend
2012-06-01 15:23:17 +00:00
- [Jonas Schnelli brought this change]
test: SFTP quote commands with * prefix
2012-06-01 15:23:17 +00:00
Related to the f64812ca63 commit
2012-06-01 15:23:17 +00:00
- CURLOPT_QUOTE: SFTP supports the '*'-prefix now
2012-06-01 15:23:17 +00:00
- [Jonas Schnelli brought this change]
2012-06-01 15:23:17 +00:00
SFTP: support '*' prefix for quote operations
2012-06-01 15:23:17 +00:00
prefixing a command with '*' means it is allowed to fail without
aborting the chain actions
- getsessionid: don't ever return while locked
2012-06-01 15:23:17 +00:00
Also, check for the session sharing bit instead of comparing pointers
2012-06-01 15:23:17 +00:00
- Curl_ssl_getsessionid: increase the value, not the pointer
2012-06-01 15:23:17 +00:00
- THANKS: one new contributor in 7.23.1
2012-06-01 15:23:17 +00:00
- [Alejandro Alvarez Ayllon brought this change]
SSL session share: move the age counter to the share object
2015-01-23 15:30:59 +00:00
Previously the age counter would be counted individually in each easy
handle that shared SSL sessions!
2012-06-01 15:23:17 +00:00
- [Alejandro Alvarez Ayllon brought this change]
2012-06-01 15:23:17 +00:00
libtest build: add the missing lib586
2012-06-01 15:23:17 +00:00
- [Jason Glasgow brought this change]
2012-06-01 15:23:17 +00:00
CURLOPT_DNS_SERVERS: set name servers if possible
2012-06-01 15:23:17 +00:00
- RELEASE-NOTES: correct the release and contributor numbers
2012-06-01 15:23:17 +00:00
Version 7.23.1 (17 Nov 2011)
Daniel Stenberg (17 Nov 2011)
- FindWin32CACert: return OK even if CA cert isn't found
Version 7.23.1 (17 Nov 2011)
2015-01-23 15:30:59 +00:00
2012-06-01 15:23:17 +00:00
Version 7.23.1 (17 Nov 2011)
Bug: http://curl.haxx.se/mail/lib-2011-11/0180.html
2012-06-01 15:23:17 +00:00
Version 7.23.1 (17 Nov 2011)
Reported by: Mark Brand
2012-06-01 15:23:17 +00:00
Dan Fandrich (16 Nov 2011)
- curl has been built on many Android versions
Daniel Stenberg (15 Nov 2011)
- 7.24.0: start the work
2012-06-01 15:23:17 +00:00
- THANKS: added 18 new contributors from 7.23.0
2012-06-01 15:23:17 +00:00
Version 7.23.0 (14 Nov 2011)
Dan Fandrich (14 Nov 2011)
- curl_easy_setopt arguments should be of type long in the examples
Daniel Stenberg (12 Nov 2011)
- RELEASE-NOTES: synced with 10120e6a
2012-06-01 15:23:17 +00:00
one more bug fix and contributor
- progress_cb: avoid buffer overflow
2012-06-01 15:23:17 +00:00
The progress bar output function would blindly use the terminal width
without bounds checking. When using a very wide terminal that caused a
buffer overflow and segfault.
2012-06-01 15:23:17 +00:00
We now limit the max bar with to 255 columns, and I simplified the code
to avoid an extra snprintf and buffer.
2012-06-01 15:23:17 +00:00
Bug: http://curl.haxx.se/bug/view.cgi?id=3435710
Reported by: Alexey Zakhlestin
2012-06-01 15:23:17 +00:00
Yang Tse (11 Nov 2011)
- Active mode FTP test cases with server not establishing data connection
2012-06-01 15:23:17 +00:00
591 -> FTP multi PORT and 425 on upload
592 -> FTP multi PORT and 421 on upload
593 -> FTP multi PORT upload, no data conn and no transient neg. reply
594 -> FTP multi PORT upload, no data conn and no positive prelim. reply
2012-06-01 15:23:17 +00:00
1206 -> FTP PORT and 425 on download
1207 -> FTP PORT and 421 on download
1208 -> FTP PORT download, no data conn and no transient negative reply
1209 -> FTP PORT download, no data conn and no positive preliminary reply
Guenter Knauf (8 Nov 2011)
- Fix to skip untrusted certs.
Daniel Stenberg (6 Nov 2011)
- RELEASE-NOTES: synced with e3166df1bb3
2012-06-01 15:23:17 +00:00
4 new bugfixes, 2 more contributors
- ftp PORT: don't hang if bind() fails
2012-06-01 15:23:17 +00:00
When the user requests PORT with a specific port or port range, the code
could lock up in an endless loop. There's now an extra conditional that
makes sure to special treat the error and try the local address only
once so a second failure will abort the loop correctly.
2012-06-01 15:23:17 +00:00
Bug: http://curl.haxx.se/bug/view.cgi?id=3433968
Reported by: Gokhan Sengun
- pingpong: change two comments wrongly referring "FTP"
2015-01-23 15:30:59 +00:00
Just a sign of where the code originally was ripped out from. Now it is
generic "pingpong".
- test 590: verify the bug fix in 4851dafcf1
2012-06-01 15:23:17 +00:00
This test is created to verify Rene Bernhardt's patch which makes sure
libcurl properly _not_ deals with Negotiate if not asked to even if the
proxy says it can serve it.
2012-06-01 15:23:17 +00:00
- [Rene Bernhardt brought this change]
2012-06-01 15:23:17 +00:00
HTTP auth: fix proxy Negotiate bug
2012-06-01 15:23:17 +00:00
If a proxy offers several Authentication schemes where NTLM and
Negotiate are offered by the proxy and you tell libcurl not to use the
Negotiate scheme then the request never returns when the proxy answers
with its HTTP 407 reply.
2012-06-01 15:23:17 +00:00
It is reproducible by the following steps:
2012-06-01 15:23:17 +00:00
- Use a proxy that offers NTLM and Negotiate ( CURLOPT_PROXY and
CURLOPT_PROXYPORT )
2012-06-01 15:23:17 +00:00
- Tell libcurl NOT to use Negotiate CURL_EASY_SETOPT(CURLOPT_PROXYAUTH,
CURLAUTH_BASIC | CURLAUTH_DIGEST | CURLAUTH_NTLM )
2012-06-01 15:23:17 +00:00
- Start the request
2012-06-01 15:23:17 +00:00
The call to CURL_EASY_PERFORM never returns. If you switch on debug
logging you can see that libcurl issues a new request As soon as it
received the 407 reply. Instead it should return and set the response
code to 407.
Bug: http://curl.haxx.se/mail/lib-2011-10/0323.html
2015-01-23 15:30:59 +00:00
Yang Tse (4 Nov 2011)
- ssluse.c: fix calling of OpenSSL's ERR_remove_state(0)
2012-06-01 15:23:17 +00:00
Move calling of ERR_remove_state(0) a.k.a ERR_remove_thread_state(NULL)
from Curl_ossl_close_all() to Curl_ossl_cleanup().
2012-06-01 15:23:17 +00:00
In this way ERR_remove_state(0) is now only called in libcurl by
curl_global_cleanup(). Previously it would get called by functions
curl_easy_cleanup(), curl_multi_cleanup and potentially each time a
connection was removed from a connection cache leading to premature
destruction of OpenSSL's thread local state hash.
2015-01-23 15:30:59 +00:00
Multi-threaded apps using OpenSSL enabled libcurl should still call
function ERR_remove_state(0) or ERR_remove_thread_state(NULL) at the
very end end of threads that do not call curl_global_cleanup().
2012-06-01 15:23:17 +00:00
- tool_cb_wrt.c: disambiguate warning message
- tool_cfgable.c: pending check done
- url.c and file.c: fix OOM triggered segfault
2012-06-01 15:23:17 +00:00
Daniel Stenberg (3 Nov 2011)
- rename ftp_ssl: the struct field is used for many protocols
2015-01-23 15:30:59 +00:00
Now called 'use_ssl' instead, which better matches the current CURLOPT
name and since the option is used for all pingpong protocols (at least)
it makes sense to not use 'ftp' in the name.
2012-06-01 15:23:17 +00:00
Yang Tse (2 Nov 2011)
- [Daniel Stenberg brought this change]
gtls_connect_step1: remove use of deprecated functions
2012-06-01 15:23:17 +00:00
Use gnutls_priority_set_direct() instead of gnutls_protocol_set_priority().
2012-06-01 15:23:17 +00:00
Remove the gnutls_certificate_type_set_priority() use since x509 is the
default certificate type anyway.
2012-06-01 15:23:17 +00:00
Reported by: Vincent Torri
- url.c and transfer.c: nullify connection pointer when free()'ed
2012-06-01 15:23:17 +00:00
- FTP test server: NODATACONN commands follow-up
Make NODATACONN425 and NODATACONN421 return a 150 positive preliminary reply
before 425 or 421.
2012-06-01 15:23:17 +00:00
New NODATACONN150 returns 150 without further positive nor negative reply
Now NODATACONN doesn't reply anything at all.
2012-06-01 15:23:17 +00:00
- multi.c: OOM handling fix
2012-06-01 15:23:17 +00:00
- FTP test server: NODATACONN commands follow-up
2012-06-01 15:23:17 +00:00
Make NODATACONN custom commands apply to both active and passive FTP,
and ensure 425 and 421 are not returned unless data channel usage is
attempted.
- tool_cb_see.h: fix compiler warning
2012-06-01 15:23:17 +00:00
- setup.h: fix compiler warning
2012-06-01 15:23:17 +00:00
- FTP test server: NODATACONN commands commit c761fcb0 follow-up
2012-06-01 15:23:17 +00:00
Adjustments that make NODATACONN custom commands fully usable.
2012-06-01 15:23:17 +00:00
Daniel Stenberg (30 Oct 2011)
- [Dave Reisner brought this change]
2012-06-01 15:23:17 +00:00
doc/curl.1: fix sentence with ending for -# option
2012-06-01 15:23:17 +00:00
Try to be a little more descriptive about the effect of this flag,
rather than parroting what was said in the paragraph just above.
2012-06-01 15:23:17 +00:00
Yang Tse (30 Oct 2011)
- FTP test server: fix server unresponsiveness
Some torture tests left FTP test server in an unresponsive state, resulting
in torture tests that actually completed following unexpected code paths.
2012-06-01 15:23:17 +00:00
Changes in this commit solely address this issue and some adjustments for
ftpserver.pl logging relative to data channel establishment and tear down.
Pending NODATACONN relative adjustments reserved for a further commit.
2012-06-01 15:23:17 +00:00
- runtests.pl: running server checks - commit 4464583a follow-up
Ensure verification takes place with no server commands file.
Ignore verbose setting for running server precheck.
Tweak unresponsive server message, to allow detection by haxx.se scripts.
2012-06-01 15:23:17 +00:00
- gtls.c: gnutls_transport_set_global_errno() deprecated in version 2.12.3
2012-06-01 15:23:17 +00:00
- runtests.pl: running server checks - commit 3676ec96 follow-up
2012-06-01 15:23:17 +00:00
Fix called sub when checking TFTP server, and adjust message.
2012-06-01 15:23:17 +00:00
- runtests.pl: running server checks - commit 4464583a follow-up
2012-06-01 15:23:17 +00:00
Extended server checks to others in addition to pingpong when torture testing.
- lib589.c: add CURLOPT_READDATA missing stuff
2012-06-01 15:23:17 +00:00
- ftpserver.pl: three new custom FTP server commands to disable data channel
2012-06-01 15:23:17 +00:00
NODATACONN421: applies only to active FTP mode, instructs server to not
establish data connection back to client and reply with FTP 421.
2012-06-01 15:23:17 +00:00
NODATACONN425: applies only to active FTP mode, instructs server to not
establish data connection back to client and reply with FTP 425.
NODATACONN: applies to both active and passive FTP modes, instructs server
to not establish nor accept a data channel and fool client into believing
that the data channel connection is possible.
Some polishing probably required.
2012-06-01 15:23:17 +00:00
- multi.c: OOM handling fix
2012-06-01 15:23:17 +00:00
Fix curl_multi_cleanup() segfault when using weird cleanup sequence.
2012-06-01 15:23:17 +00:00
Daniel Stenberg (27 Oct 2011)
- multi: start ftp state machine when switching to DO_MORE
2012-06-01 15:23:17 +00:00
This extends the fix from commit d7934b8bd491
2012-06-01 15:23:17 +00:00
When the multi state is changed within the multi_runsingle from DOING to
DO_MORE, we didn't immediately start the FTP state machine again. That
then left the FTP state in FTP_STOP. When curl_multi_fdset() was
subsequently called, the ftp_domore_getsock() function would return the
wrong fd info.
2012-06-01 15:23:17 +00:00
Reported by: Gokhan Sengun
2012-06-01 15:23:17 +00:00
- libcurl-multi.3: update the list of areas still blocking
2012-06-01 15:23:17 +00:00
Yang Tse (26 Oct 2011)
- test 589: active FTP upload using multi timeout and EPRT disabled server
2012-06-01 15:23:17 +00:00
- multi tests: OOM handling fixes - commit 629d2e34 follow-up
2012-06-01 15:23:17 +00:00
Patrick Monnerat (26 Oct 2011)
- - Prepare the ILE/RPG binding and OS400 documentation for the upcoming release
2012-06-01 15:23:17 +00:00
Daniel Stenberg (25 Oct 2011)
- RELEASE-NOTES: synced with 4464583a6ed
2012-06-01 15:23:17 +00:00
5 more bug fixes, 4 additional contributors
2012-06-01 15:23:17 +00:00
Yang Tse (25 Oct 2011)
- runtests.pl: running server checks
2012-06-01 15:23:17 +00:00
When running torture tests, verify before each test case that required
pingpong servers which are supposed to be alive are actually responsive.
If found not responsive then restart them.
2012-06-01 15:23:17 +00:00
Daniel Stenberg (24 Oct 2011)
- dist: add test 587
2012-06-01 15:23:17 +00:00
I created test 587 in commit 840eff44f2b but forgot to add the file to
the tarball. Added now.
2012-06-01 15:23:17 +00:00
- test 588: verify active FTP with multi interface without EPRT
This is using the verbatim 525 test code but it disables EPRT in the
server and this should work just as well anyway.
2012-06-01 15:23:17 +00:00
- FTP server: allow EPRT by default
2012-06-01 15:23:17 +00:00
EPRT is now supported by default by the server. To disable it, use the
generic REPLY instruction in the <servercmd> tag. Test 116 now has it
disabled. All other existing active FTP port tests strip out the port
commands from the logs already so the change of the server isn't that
noticable.
2012-06-01 15:23:17 +00:00
Yang Tse (24 Oct 2011)
- ftp.c: some OOM handling fixes
2012-06-01 15:23:17 +00:00
- ftpserver.pl: ensure integral number usage for passive mode string
2012-06-01 15:23:17 +00:00
Daniel Stenberg (24 Oct 2011)
- large headers: have curl accept >16K headers
2012-06-01 15:23:17 +00:00
As commit 5850cc4808ab clarifies, libcurl can deliver header lines that
are longer than CURL_MAX_WRITE_SIZE, only body data is limited to that
size. The curl tool has check (when built debug-enabled) that made the
wrong checks and this new test 1205 verifies that larger headers work.
2012-06-01 15:23:17 +00:00
- curl_easy_setopt.3: headers can be CURL_MAX_HTTP_HEADER bytes
2012-06-01 15:23:17 +00:00
Mention this maximum header size for the header callback cases
2012-06-01 15:23:17 +00:00
- Merge pull request #25 from trtom/master
2012-06-01 15:23:17 +00:00
make sure the static build uses the static build option!
2012-06-01 15:23:17 +00:00
- curl_easy_setopt.3: fix typo
shoot, Dan Fandrich already had this pointed out...
2012-06-01 15:23:17 +00:00
- [Steve Holme brought this change]
2012-06-01 15:23:17 +00:00
curl_easy_setopt: Added pop3 to CURLOPT_URL.
Added pop3 username and password example as well as an explanation of
how path part of the URL is used under pop3.
2012-06-01 15:23:17 +00:00
Additionally have corrected a couple of typos.
2012-06-01 15:23:17 +00:00
Yang Tse (22 Oct 2011)
- tool_operate.c: OOM handling fix
2012-06-01 15:23:17 +00:00
Move curl_easy_perform source code geneartion out of curl_easy_perform's loop
for proper OOM handling and source code geneartion.
2015-01-23 15:30:59 +00:00
Daniel Stenberg (21 Oct 2011)
- curl_multi_fdset: correct fdset with FTP PORT use
2012-06-01 15:23:17 +00:00
After a PORT has been issued, and the multi handle would switch to the
CURLM_STATE_DO_MORE state (which is unique for FTP), libcurl would
return the wrong fdset to wait for when curl_multi_fdset() is
called. The code would blindly assume that it was waiting for a connect
of the second connection, while that isn't true immediately after the
PORT command.
2012-06-01 15:23:17 +00:00
Also, the function multi.c:domore_getsock() was highly FTP-centric and
therefore ugly to keep in protocol-agnostic code. I solved this problem
by introducing a new function pointer in the Curl_handler struct called
domore_getsock() which is only called during the DOMORE state for
protocols that set that pointer.
2012-06-01 15:23:17 +00:00
The new ftp.c:ftp_domore_getsock() function now returns fdset info about
the control connection's command/response handling while such a state is
in use, and goes over to waiting for a writable second connection first
once the commands are done.
2012-06-01 15:23:17 +00:00
The original problem could be seen by running test 525 and checking the
time stamps in the FTP server log. I can verify that this fix at least
fixes this problem.
Bug: http://curl.haxx.se/mail/lib-2011-10/0250.html
Reported by: Gokhan Sengun
2012-06-01 15:23:17 +00:00
Dan Fandrich (21 Oct 2011)
- Added some missing test case XML tags and keywords
2015-01-23 15:30:59 +00:00
Yang Tse (21 Oct 2011)
- file.c: OOM handling fix
2012-06-01 15:23:17 +00:00
file_disconnect() free's resources for multi API
2012-06-01 15:23:17 +00:00
- multi.c: fix segfault
2012-06-01 15:23:17 +00:00
- runtests.pl: fix printing of multivalued error codes
2012-06-01 15:23:17 +00:00
- multi tests: OOM handling fixes
Additionally, improved error checking and logging.
2012-06-01 15:23:17 +00:00
Dan Fandrich (20 Oct 2011)
- Fixed compilation when HTTP or cookies are disabled
2012-06-01 15:23:17 +00:00
Daniel Stenberg (20 Oct 2011)
- KNOWN_BUGS: #74 fixed
2012-06-01 15:23:17 +00:00
Multiple auths in the same WWW-Authenticate header
2012-06-01 15:23:17 +00:00
Fixed in commit 7d81e3f7193b8c
2012-06-01 15:23:17 +00:00
- Curl_http_input_auth: handle multiple auths in WWW-Authenticate
2012-06-01 15:23:17 +00:00
The fix is pretty much the one Nick Zitzmann provided, just edited to do
the right indent levels and with test case 1204 added to verify the fix.
2012-06-01 15:23:17 +00:00
Bug: http://curl.haxx.se/mail/lib-2011-10/0190.html
Reported by: Nick Zitzmann
2012-06-01 15:23:17 +00:00
- Curl_smtp_escape_eob: first byte is index 0...
Fix a bug with with commit 2621dd42a4d that happened due to my last
second pre-commit cleanup of the change without proper testing
afterwards!
2015-01-23 15:30:59 +00:00
- CURLM_CALL_MULTI_PERFORM: remove mention
2012-06-01 15:23:17 +00:00
This return code has not been used since 7.20.0 so we can stop
mentioning it for current libcurl.
2012-06-01 15:23:17 +00:00
Dan Fandrich (19 Oct 2011)
- Silenced a compiler warning about an unused variable
2012-06-01 15:23:17 +00:00
Daniel Stenberg (20 Oct 2011)
- [Tim Harder brought this change]
2012-06-01 15:23:17 +00:00
gtls: only call gnutls_transport_set_lowat with <gnutls-2.12.0
2012-06-01 15:23:17 +00:00
The default lowat level for gnutls-2.12* is set to zero to avoid
unnecessary system calls and the gnutls_transport_set_lowat function has
been totally removed in >=gnutls-3 which causes build failures.
2012-06-01 15:23:17 +00:00
Therefore, the function shouldn't be used except for versions that
require it, <gnutls-2.12.0.
2012-06-01 15:23:17 +00:00
- Curl_smtp_escape_eob: fix EOB escaping
2012-06-01 15:23:17 +00:00
As the EOB string can come byte by byte over a series of writes we must
match byte-wise.
2012-06-01 15:23:17 +00:00
Bug: http://curl.haxx.se/mail/lib-2011-10/0172.html
2012-06-01 15:23:17 +00:00
- RELEASE-NOTES: synced with ecbb08cea3cd6
2012-06-01 15:23:17 +00:00
- singleipconnect: unstick the ipv6-connection boolean
2012-06-01 15:23:17 +00:00
Previously the bit was set before the connection was found working so if
it would first fail to an ipv6 address and then connect fine to a IPv4
address the variable would still be TRUE.
Reported by: Thomas L. Shinnick
Bug: http://curl.haxx.se/bug/view.cgi?id=3421912
2012-06-01 15:23:17 +00:00
Kamil Dudka (17 Oct 2011)
- nss: avoid a SIGSEGV with immature version of NSS
2012-06-01 15:23:17 +00:00
Bug: https://bugzilla.redhat.com/733685
2012-06-01 15:23:17 +00:00
- nss: big cleanup in nss_load_cert() and cert_stuff()
2012-06-01 15:23:17 +00:00
- nss: refactor fmt_nickname() -> dup_nickname()
2012-06-01 15:23:17 +00:00
Do not use artificial nicknames for certificates from files.
2012-06-01 15:23:17 +00:00
- nss: select client certificates by DER
2012-06-01 15:23:17 +00:00
... instead of nicknames, which are not unique.
2012-06-01 15:23:17 +00:00
Daniel Stenberg (17 Oct 2011)
- --epsv: fix typo
2012-06-01 15:23:17 +00:00
Reported by: Thomas L. Shinnick
2012-06-01 15:23:17 +00:00
- --show-error: position indepdenent
Previously we required that -S/--show-error was used _after_
-s/--silent. This was slightly confusing since we strive to make
arguments as position independent as possible.
2012-06-01 15:23:17 +00:00
Now, you can use them in any order and the result should still be the
same.
Bug: http://curl.haxx.se/bug/view.cgi?id=3424286
Reported by: Andreas Olsson
2015-01-23 15:30:59 +00:00
- curl_multi_fdset: clarify the max_fd == -1 case
Elaborate what max_fd == -1 means
2012-06-01 15:23:17 +00:00
Remove the reference to CURLM_CALL_MULTI_PERFORM as modern libcurl
versions don't ever return that.
2015-01-23 15:30:59 +00:00
- formdata: ack read callback abort
When doing a multipart formpost with a read callback, and that callback
returns CURL_READFUNC_ABORT, that return code must be properly
propagated back and handled accordingly. Previously it would be handled
as a zero byte read which would cause a hang!
2012-06-01 15:23:17 +00:00
Added test case 587 to verify. It uses the lib554.c source code with a
small ifdef.
Reported by: Anton Bychkov
Bug: http://curl.haxx.se/mail/lib-2011-10/0097.html
2012-06-01 15:23:17 +00:00
- TODO: have form functions use CURL handle argument
2012-06-01 15:23:17 +00:00
- [Dave Reisner brought this change]
2012-06-01 15:23:17 +00:00
typecheck: allow NULL to unset CURLOPT_ERRORBUFFER
There might be situations where a user would want to unset this option.
Avoid forcing him/her to cast the NULL argument to (char *) in order to
get past the compile time typecheck.
2012-06-01 15:23:17 +00:00
- singleipconnect: don't clobber errno
2012-06-01 15:23:17 +00:00
Save the errno value immediately after a connect() failure so that it
won't get reset to something else before we read it.
2012-06-01 15:23:17 +00:00
Bug: http://curl.haxx.se/mail/lib-2011-10/0066.html
Reported by: Frank Van Uffelen and Fabian Hiernaux
2012-06-01 15:23:17 +00:00
- [Michal Marek brought this change]
2015-01-23 15:30:59 +00:00
docs: --xattr
2015-01-23 15:30:59 +00:00
Yang Tse (14 Oct 2011)
- file.c: fix compiler warning
2012-06-01 15:23:17 +00:00
- url.c: fix endless loop upon transport connection timeout
2012-06-01 15:23:17 +00:00
Jerry Wu detected and provided detailed info about this issue.
- sws.c: HTTP and GOPHER test server-side connection closing adjustment
2012-06-01 15:23:17 +00:00
When, for a given test, server is instructed to close connection after
server reply we now wait a very small amount of time (50ms) before doing
so. This is done to allow client to, at least partially, read server
reply before getting an ECONNRESET.
2015-01-23 15:30:59 +00:00
The above is required to make test cases 1070, 1200, 1201 and 1202 pass
with Cygwin 1.5.X on W2K.
2012-06-01 15:23:17 +00:00
GOPHER test server closes connection after _every_ server-reply, as such,
at some point it could require a bigger time or using shutdown() before
a server-side initiated disconnection.
2012-06-01 15:23:17 +00:00
- curl_gethostname.c: fix signed/unsigned comparison and avoid a double copy
2015-01-23 15:30:59 +00:00
both introduced in 42be24af
2012-06-01 15:23:17 +00:00
- curl_ntlm_msgs.c: fix variable shadowing declaration introduced in 185ed340
- [Marcin Adamski brought this change]
2012-06-01 15:23:17 +00:00
tftp.c: TFTP timeout and unexpected block adjustments
2012-06-01 15:23:17 +00:00
Set ACK timeout to 5 seconds.
2012-06-01 15:23:17 +00:00
If we are waiting for block X and receive block Y that is the expected one, we
should send ACK and increase X (which is already implemented). Otherwise drop
the packet and don't increase retry counter.
2012-06-01 15:23:17 +00:00
- multi.c: OOM handling fixes
2012-06-01 15:23:17 +00:00
Prevent modification of easy handle being added with curl_multi_add_handle()
unless this function actually suceeds.
2012-06-01 15:23:17 +00:00
Run Curl_posttransfer() to allow restoring of SIGPIPE handler when
Curl_connect() fails early in multi_runsingle().
2012-06-01 15:23:17 +00:00
- url.c: make line shorter than 80 chars
2012-06-01 15:23:17 +00:00
- OOM handling/cleanup slight adjustments
2012-06-01 15:23:17 +00:00
- OOM handling/cleanup slight adjustments
2012-06-01 15:23:17 +00:00
- lib540.c: OOM handling fixes making test 540 pass torture testing
2012-06-01 15:23:17 +00:00
Dan Fandrich (8 Oct 2011)
- RELEASE-NOTES: Fixed a couple of typos
2012-06-01 15:23:17 +00:00
Yang Tse (8 Oct 2011)
- telnet.c: fix compiler warning
2012-06-01 15:23:17 +00:00
- libcurl: some OOM handling fixes
2012-06-01 15:23:17 +00:00
- multi.c: OOM handling fixes making torture tests 560 580 581 pass
2012-06-01 15:23:17 +00:00
- test harness: non-stunnel https server integration overhaul
2012-06-01 15:23:17 +00:00
- curl tool: reviewed code moved to tool_*.[ch] files
2012-06-01 15:23:17 +00:00
- buildconf: warn about autoconf 2.67 and 2.68 generating bad/unusable scripts
2012-06-01 15:23:17 +00:00
- curl tool: fix compiler warning
2012-06-01 15:23:17 +00:00
- curl tool: OOM handling fixes
2012-06-01 15:23:17 +00:00
- curl tool: reviewed code moved to tool_*.[ch] files
2012-06-01 15:23:17 +00:00
- curl tool: OOM handling fixes
2012-06-01 15:23:17 +00:00
- curl tool: OOM handling fixes
2012-06-01 15:23:17 +00:00
- curl tool: OOM handling fixes
2012-06-01 15:23:17 +00:00
- curl tool: header inclusion adjustment
2012-06-01 15:23:17 +00:00
- curl tool: symbol check adjustment
- curl tool: header inclusion adjustment
- curl tool: code moved to tool_*.[ch] files
Daniel Stenberg (4 Oct 2011)
- curl_share_cleanup: avoid compiler warning
2012-06-01 15:23:17 +00:00
Move the variable declaration to within the #ifdef
- struct Curl_share: provide sslsession unconditionally
2012-06-01 15:23:17 +00:00
It makes much nicer and less convuluted code everywhere if this struct
member is always present even when libcurl is built without SSL support.
2012-06-01 15:23:17 +00:00
This reverts parts of commit 15e3e451702396e
2015-01-23 15:30:59 +00:00
- ftp: improved the failed PORT host name resolved error message
2015-01-23 15:30:59 +00:00
- codepolicing
- sspi build fix
2012-06-01 15:23:17 +00:00
define away Curl_ntlm_sspi_cleanup() when no windows SSPI build
2012-06-01 15:23:17 +00:00
- [Steve Holme brought this change]
2012-06-01 15:23:17 +00:00
smtp: Added support for NTLM authentication
Modified smtp_endofresp() to detect NTLM from the server specified list
of supported authentication mechanisms.
Modified smtp_authenticate() to start the sending of the NTLM data.
2012-06-01 15:23:17 +00:00
Added smtp_auth_ntlm_type1_message() which creates a NTLM type-1
message. This function is used by authenticate() to start the sending
of data and by smtp_state_auth_ntlm_resp() when the AUTH command
doesn't contain the type-1 message as part of the initial response.
This lack of initial response can happen if an OOM error occurs or the
type-1 message is longer than 504 characters. As the main AUTH command
is limited to 512 character the data has to be transmitted in two
parts; one containing the AUTH NTLM and the second containing the
type-1 message.
2012-06-01 15:23:17 +00:00
Added smtp_state_auth_ntlm_type2msg_resp() which handles the incoming
type-2 message and sends an outgoing type-3 message. This type-2
message is sent by the server in response to our type-1 message.
2015-01-23 15:30:59 +00:00
Modified smtp_state_auth_resp() to handle the response to: the AUTH
NTLM without the initial response and the type-2 response.
Modified smtp_disconnect() to cleanup the NTLM SSPI stack.
2012-06-01 15:23:17 +00:00
- [Steve Holme brought this change]
2012-06-01 15:23:17 +00:00
Curl_ntlm_create_typeX_message: Added the outlen parameter
Added the output message length as a parameter to both
Curl_ntlm_create_type1_message() and Curl_ntlm_create_type3_message()
for use by future functions that require it.
2012-06-01 15:23:17 +00:00
Updated curl_ntlm.c to cater for the extra parameter on these two
functions.
2015-01-23 15:30:59 +00:00
- [Steve Holme brought this change]
smtp: General tidy up ready for adding NTLM support
Changed the name of variable l, in several functions, which represents
the length of strings being sent to the server, to len which is more
meaningful and consistent with other code in smtp.c and elsewhere.
2012-06-01 15:23:17 +00:00
Reworked smtp_authenticate() to be simpler and easier to follow.
Variables and now initialised in their definitions and if no username
and password are specified the function sets the state to SMTP_STOP and
returns immediately, rather than being part of a huge if statement.
2012-06-01 15:23:17 +00:00
Yang Tse (3 Oct 2011)
- curl tool: reviewed code moved to tool_*.[ch] files
2012-06-01 15:23:17 +00:00
Daniel Stenberg (3 Oct 2011)
- [Steve Holme brought this change]
2012-06-01 15:23:17 +00:00
smtp_mail: fixed another memory leak
2012-06-01 15:23:17 +00:00
... introduced in 7f304ab84f560c
2012-06-01 15:23:17 +00:00
- [Dominique Leuenberger brought this change]
2012-06-01 15:23:17 +00:00
m4: Use x in order to avoid variable 'x' set but not used [-Werror=unused-but-set-variable]
This error could be caused by configure scripts being run with -Werror
-Wall, which would lead to libcurl being detected as unusable.
2012-06-01 15:23:17 +00:00
- share: don't use SSL unless enabled
Don't even declare the struct members for disabled features
Introducing the CURLSHE_NOT_BUILT_IN return code for the share interface
when trying to set a sharing option that has been disabled (or not
enabled) in the library.
2012-06-01 15:23:17 +00:00
- multi: progress function abort must close connection
2012-06-01 15:23:17 +00:00
When the progress function returns to cancel the request, we must mark
the connection to get closed and it must do to the DONE state.
2012-06-01 15:23:17 +00:00
do_init() must be called as early as possible so that state variables
for new connections are reset early. We could otherwise see that the old
values were still there when a connection was to be disconnected very
early and it would make it behave wrongly.
2012-06-01 15:23:17 +00:00
Bug: http://curl.haxx.se/mail/lib-2011-10/0006.html
Reported by: Vladimir Grishchenko
2012-06-01 15:23:17 +00:00
- tutorial: clarify the handle sharing when treaded
Previously there was wording that made people uncertain of the exact
rules.
Feedback by: Julien Royer and Georg Lippitsch
URL: http://curl.haxx.se/mail/lib-2011-09/0357.html
2012-06-01 15:23:17 +00:00
- multi_runsingle: change state on callback abort
Reported by: Marcin Adamski
Bug: http://curl.haxx.se/mail/lib-2011-09/0329.html
2012-06-01 15:23:17 +00:00
Yang Tse (30 Sep 2011)
- curl tool: fix some more OOM handling
2012-06-01 15:23:17 +00:00
- Fix SSL disabled builds broken with 'SSL session sharing' commit 5793bc37
2012-06-01 15:23:17 +00:00
Daniel Stenberg (29 Sep 2011)
- smtp_mail: fix memory leak
2012-06-01 15:23:17 +00:00
... introduced in 7f304ab84f560c
2012-06-01 15:23:17 +00:00
- [Steve Holme brought this change]
2012-06-01 15:23:17 +00:00
smtp_mail: Added support to MAIL FROM for the optional SIZE parameter
The size of the email can now be set via CURLOPT_INFILESIZE. This
allows the email to be rejected by the server, if supported, and the
maximum size has been configured on the server.
2012-06-01 15:23:17 +00:00
- curlverh.h: next release will be 7.23.0
2012-06-01 15:23:17 +00:00
- RELEASE-NOTES: synced with 5898a6a09b211fc7e2
Bumped next release version to become 7.23.0 for the changes
2012-06-01 15:23:17 +00:00
Dan Fandrich (28 Sep 2011)
- curl_easy_setopt: Added scp and sftp to the URL section
2012-06-01 15:23:17 +00:00
Daniel Stenberg (28 Sep 2011)
- [Steve Holme brought this change]
2012-06-01 15:23:17 +00:00
curl_easy_setopt: A brief tidy up
2012-06-01 15:23:17 +00:00
Slight rewording of the CURLOPT_URL SMTP sub-section.
2012-06-01 15:23:17 +00:00
Corrected the incorrect use of hyphens on the three uses of
"zero-terminated" with "zero terminated" to match the rest of the
document.
2012-06-01 15:23:17 +00:00
Corrected the use of an out of place hyphen in CURLOPT_NOPROXY section.
- configure openssl version check: handle lack of L suffix
2012-06-01 15:23:17 +00:00
It seems some versions of the OpenSSL version defines don't come with L
appended to the number, so let's deal with that nicely.
2012-06-01 15:23:17 +00:00
- [Alejandro Alvarez brought this change]
2012-06-01 15:23:17 +00:00
SSL session sharing support added
2015-01-23 15:30:59 +00:00
With locking, plus test, plus documentation
Yang Tse (28 Sep 2011)
- curl tool: adjust header callback single call write limit warning
2012-06-01 15:23:17 +00:00
Maximum amount of data a header callback is supposed to get in
a single call from libcurl is limited by the lowest value of
CURL_MAX_WRITE_SIZE and CURL_MAX_HTTP_HEADER.
2012-06-01 15:23:17 +00:00
Daniel Stenberg (28 Sep 2011)
- multi docs: extended the multi_socket API description
2012-06-01 15:23:17 +00:00
- tests/README: extended and reformatted
2012-06-01 15:23:17 +00:00
Yang Tse (27 Sep 2011)
- [Albert Chin brought this change]
2012-06-01 15:23:17 +00:00
configure - m4: make CURL_CHECK_DEF ignore leading whitespace on symbol def
2012-06-01 15:23:17 +00:00
When using Sun C compiler the preprocessor somehow inserts an extra space
in front of replaced symbol, breaking CURL_CHECK_DEF macro. To workaround
this, macro CURL_CHECK_DEF now ignores all leading whitespace in front of
symbol substitution result.
2012-06-01 15:23:17 +00:00
Guenter Knauf (27 Sep 2011)
- Added SPNEGO to NetWare build.
2012-06-01 15:23:17 +00:00
Yang Tse (26 Sep 2011)
- curl tool: fix a compiler warning
2012-06-01 15:23:17 +00:00
- curl tool: fix some OOM handling - f4853db5 follow-up
2012-06-01 15:23:17 +00:00
- curl tool: fix some OOM handling
2012-06-01 15:23:17 +00:00
- remove short-lived CURL_WRITEFUNC_OUT_OF_MEMORY
2012-06-01 15:23:17 +00:00
Guenter Knauf (26 Sep 2011)
- Added unsigned char* to _curl_is_debug_cb.
2012-06-01 15:23:17 +00:00
Daniel Stenberg (26 Sep 2011)
- [Steve Holme brought this change]
2012-06-01 15:23:17 +00:00
smtp_connect: use defined buffer length for hostname
2012-06-01 15:23:17 +00:00
- [Steve Holme brought this change]
Curl_ntlm_create_type3_message: Tidied up the use of Curl_gethostname.
2012-06-01 15:23:17 +00:00
Removed the code that striped off the domain name when Curl_gethostname
returned the fully qualified domain name as the function has been
updated to return the un-qualified host name.
2012-06-01 15:23:17 +00:00
Replaced the use of HOSTNAME_MAX as the size of the buffer in the call
to Curl_gethostname with sizeof(host) as this is safer should the buffer
size ever be changed.
2012-06-01 15:23:17 +00:00
- [Steve Holme brought this change]
2012-06-01 15:23:17 +00:00
HOSTNAME_MAX: Moved to curl_gethostname.h
2012-06-01 15:23:17 +00:00
Moved HOSTNAME_MAX #define into curl_gethostname.h rather than being
locally defined in curl_gethostname.c, curl_ntlm_msgs.c and smtp.c.
2012-06-01 15:23:17 +00:00
- RELEASE-NOTES: synced with d2a47021c0a6
2012-06-01 15:23:17 +00:00
Yang Tse (25 Sep 2011)
- Q&D fix header inclusion order
2012-06-01 15:23:17 +00:00
- allow write callbacks to indicate OOM to libcurl
2012-06-01 15:23:17 +00:00
Allow (*curl_write_callback) write callbacks to return
CURL_WRITEFUNC_OUT_OF_MEMORY to properly indicate libcurl of OOM conditions
inside the callback itself.
2015-01-23 15:30:59 +00:00
Guenter Knauf (25 Sep 2011)
- Changed some main makefile targets.
2015-01-23 15:30:59 +00:00
Daniel Stenberg (25 Sep 2011)
- curl_multi_fdset: avoid FD_SET out of bounds
If a socket is larger than FD_SETSIZE, avoid using FD_SET() on the
platforms where this is possible.
2012-06-01 15:23:17 +00:00
Bug: http://curl.haxx.se/bug/view.cgi?id=3413274
Reported by: Tim Starling
2012-06-01 15:23:17 +00:00
Guenter Knauf (25 Sep 2011)
- Fixed MinGW examples makefile.
2012-06-01 15:23:17 +00:00
- NetWare makefile tweaks to select different builds.
2012-06-01 15:23:17 +00:00
Daniel Stenberg (25 Sep 2011)
- POST: always set postfieldsize
When we use binary posts and regular ones intermixed on a single command
line, we cannot do strlen() etc on the data to figure out the length
(when inserting '&' and more). We must therefore keep track of the post
data length. Then we also end up setting the libcurl option with the
known size, so that we don't risk that libcurl will do strlen() on the
data.
This has the minor side-effect that --libcurl source codes now always
will use CURLOPT_POSTFIELDSIZE but I don't consider that terribly
damaging.
2012-06-01 15:23:17 +00:00
Bug: http://curl.haxx.se/bug/view.cgi?id=3413181
Reported by: Taneli V<>h<EFBFBD>kangas
2012-06-01 15:23:17 +00:00
Yang Tse (24 Sep 2011)
- curl tool: fix a compiler warning
2012-06-01 15:23:17 +00:00
- curl tool: reviewed code moved to tool_*.[ch] files
2012-06-01 15:23:17 +00:00
Guenter Knauf (24 Sep 2011)
- Added header to be included by dist script.
2012-06-01 15:23:17 +00:00
Probably the wrong place, but I dont know better.
2012-06-01 15:23:17 +00:00
Yang Tse (24 Sep 2011)
- curl tool: fix some OOM handling issues
2012-06-01 15:23:17 +00:00
Daniel Stenberg (24 Sep 2011)
- http header: allow Content-Length to be replaced
2012-06-01 15:23:17 +00:00
In some cases Content-Length: couldn't be replaced by an application
2012-06-01 15:23:17 +00:00
Also, indented some code properly
2012-06-01 15:23:17 +00:00
Guenter Knauf (23 Sep 2011)
- MinGW64 has this prototype already.
2012-06-01 15:23:17 +00:00
- Fixed scanf format for WORD = unsigned short.
2012-06-01 15:23:17 +00:00
- Added Win32-only samples.
2012-06-01 15:23:17 +00:00
- Added a workaround for printing size_t.
2012-06-01 15:23:17 +00:00
Daniel Stenberg (22 Sep 2011)
- Curl_pgrsStartNow: keep HEADERS_OUT set
2012-06-01 15:23:17 +00:00
To avoid that the progress meter headers get output between each
transfer, make sure the bits gets kept when (re-)inited.
2012-06-01 15:23:17 +00:00
Reported by: Christopher Stone
2015-01-23 15:30:59 +00:00
Yang Tse (22 Sep 2011)
- curl tool: fix some OOM handling issues
2012-06-01 15:23:17 +00:00
- curl tool: reviewed code moved to tool_*.[ch] files
2015-01-23 15:30:59 +00:00
my_setopt and my_setopt_str no longer ignores curl_easy_setopt result.
2012-06-01 15:23:17 +00:00
Fixed some OOM handling issues.
2012-06-01 15:23:17 +00:00
Guenter Knauf (22 Sep 2011)
- Added NetWare examples makefile.
2012-06-01 15:23:17 +00:00
Yang Tse (22 Sep 2011)
- NTLM_WB: fix disabling of NTLM_WB when NTLM is disabled
2012-06-01 15:23:17 +00:00
Daniel Stenberg (21 Sep 2011)
- test 814: smtp without --mail-from
2015-01-23 15:30:59 +00:00
Verifies the fix from commit 322f3d5af7093
2012-06-01 15:23:17 +00:00
- [Gisle Vanem brought this change]
2015-01-23 15:30:59 +00:00
smtp: without a MAIL_FROM, send blank MAIL FROM
2012-06-01 15:23:17 +00:00
I think curl should ignore this case and smtp.c should test for this.
Since RFC-2821 seems to allow a "null reverse-path". Ref. "MAIL
FROM:<>" in section 3.7, page 25.
2012-06-01 15:23:17 +00:00
- [Dave Reisner brought this change]
2012-06-01 15:23:17 +00:00
lib/http: add missing whitespace in verbose output
2015-01-23 15:30:59 +00:00
Example:
* upload completely sent off: 35out of 35 bytes
2012-06-01 15:23:17 +00:00
Should be:
* upload completely sent off: 35 out of 35 bytes
2012-06-01 15:23:17 +00:00
Guenter Knauf (21 Sep 2011)
- Another MinGW example makefile tweak.
2012-06-01 15:23:17 +00:00
- Fixed sample to compile for Windows platform.
2012-06-01 15:23:17 +00:00
Yang Tse (21 Sep 2011)
- curl tool: make my_setopt ignore curl_easy_setopt result again.
2012-06-01 15:23:17 +00:00
Related code not ready yet for this kind of checks.
2012-06-01 15:23:17 +00:00
Guenter Knauf (21 Sep 2011)
- Changed suffix rules to pattern rules.
2012-06-01 15:23:17 +00:00
Suffix rules cannot have any prerequisites of their own.
2012-06-01 15:23:17 +00:00
- Added dependency so that curlbuild.h is created.
2012-06-01 15:23:17 +00:00
- Some more MinGW build tweaks.
2012-06-01 15:23:17 +00:00
Added envvars to specify OpenSSL include, libpath and lib.
Added rule to create curlbuild.h from curlbuild.h.dist.
Yang Tse (21 Sep 2011)
- curl tool: reviewed code moved to tool_*.[ch] files
2012-06-01 15:23:17 +00:00
my_setopt and my_setopt_str no longer ignores curl_easy_setopt result.
2015-01-23 15:30:59 +00:00
Fixed some OOM handling issues.
2012-06-01 15:23:17 +00:00
- curl tool: reviewed code moved to tool_*.[ch] files
2015-01-23 15:30:59 +00:00
Overhauled FindWin32CACert()
2012-06-01 15:23:17 +00:00
Guenter Knauf (20 Sep 2011)
- A bunch of MinGW build tweaks.
2015-01-23 15:30:59 +00:00
All paths to dependencies now quoted; synced examples makefile.
2012-06-01 15:23:17 +00:00
- Changed Windows 64bit OS define to x86_64.
2015-01-23 15:30:59 +00:00
Also added check for __x86_64__ define since MinGW64 seems to define
the _M_X64 macro through a header not available for config-win32.h.
2012-06-01 15:23:17 +00:00
- Also skip certs masked as CKT_NSS_TRUST_UNKNOWN.
2015-01-23 15:30:59 +00:00
Fix posted by Tomas Hoger <thoger redhat com>.
2012-06-01 15:23:17 +00:00
- Added _WIN32_WINNT define for IPv6 builds.
2012-06-01 15:23:17 +00:00
Daniel Stenberg (20 Sep 2011)
- Curl_follow: handle redirects to "//hostname/path"
2012-06-01 15:23:17 +00:00
Yang Tse (19 Sep 2011)
- curl tool: truly fix compiler warning
2012-06-01 15:23:17 +00:00
- curl tool: fix compiler warning
- curl tool: reviewed code moved to tool_*.[ch] files
Daniel Stenberg (18 Sep 2011)
- CURLOPT_URL docs: no need to mention function names
- [Steve Holme brought this change]
CURLOPT_URL: Expanded URL description
2012-06-01 15:23:17 +00:00
Expanded the section about CURLOPT_URL to include the format of the URL
and detailed information and examples relating to specific protocols.
2012-06-01 15:23:17 +00:00
- [Steve Holme brought this change]
2012-06-01 15:23:17 +00:00
Curl_gethostname: return un-qualified machine name
2015-01-23 15:30:59 +00:00
Fixed Curl_gethostname() so that it always returns the un-qualified
machine name rather than being dependent on the socket provider.
2012-06-01 15:23:17 +00:00
Note: The return of getenv("CURL_GETHOSTNAME") is also parsed in case
the developer / test harness provided a fully qualified domain name as
it's value as well.
2012-06-01 15:23:17 +00:00
Yang Tse (18 Sep 2011)
- curl tool: create tool_myfunc.[ch] which later on will hold my_* functions
Additionally function my_useragent() now provides default User-Agent string
2012-06-01 15:23:17 +00:00
- curl tool: reorder free_config_fields() field handling
Reorder handling of fields to match same order as the one given by current
definition order of 'Configurable' struct fields. Fields currently not handled
marked for further inspection.
2012-06-01 15:23:17 +00:00
Guenter Knauf (17 Sep 2011)
- Fixed MinGW WinIDN lib dependency.
2012-06-01 15:23:17 +00:00
Yang Tse (17 Sep 2011)
- tool_convert.c: fix no newline at end of file
2012-06-01 15:23:17 +00:00
- curl tool: add new files to Symbian's .mmp project file
2012-06-01 15:23:17 +00:00
- curl tool: move 'Configurable' and free_config_fields() to tool_cfgable.[ch]
2015-01-23 15:30:59 +00:00
Reviewing fields being free'd in free_config_fields() still pending
2012-06-01 15:23:17 +00:00
- src/setup.h: add conditional include of assert.h
2015-01-23 15:30:59 +00:00
- curl tool: move so called 'multi_files' stuff into tool_mfiles.[ch]
2012-06-01 15:23:17 +00:00
Additionally some code reorganization and direct OOM handling fixes,
just another step towards fixing curl tool issues uncovered 2011-09-15
2012-06-01 15:23:17 +00:00
- curl tool: move convert_* functions into tool_convert.[ch]
2015-01-23 15:30:59 +00:00
Additionally fix data type of result vars for iconv() calls
- main.c: convert GetStr() into a macro to ease leak debugging
2012-06-01 15:23:17 +00:00
- main.c: de-obfuscate a couple for-loop exit conditions
2012-06-01 15:23:17 +00:00
- curl tool: fix a bunch of double free's uncovered 2011-09-15
2012-06-01 15:23:17 +00:00
Re-enabling MemoryTracking capability on 'src' subdirectory files and torture
tests have uncovered many issues which were going unnoticed in curl tool. So
here we go fixing some of them. Others still remain and should be addressed
ASAP, given that curl tool is used in our test harness also for test server
start verification purposes. There are even non-socket file descriptor leaks.
2012-06-01 15:23:17 +00:00
- Make Curl_safefree() macro assign NULL to given pointer when free'd
2012-06-01 15:23:17 +00:00
- curl MSVC project files: adjust resource compiler include path
2012-06-01 15:23:17 +00:00
- src/Makefile.vc6: adjust resource compiler include path
2012-06-01 15:23:17 +00:00
- curl tool: re-enable MemoryTracking capability on 'src' subdirectory files.
2012-06-01 15:23:17 +00:00
Use same preprocessor logic for curl tool MemoryTracking activation in source
files located in 'src' subdirectory as the one used for libcurl sources.
2012-06-01 15:23:17 +00:00
- ftp.c: add a couple of failure messages
2012-06-01 15:23:17 +00:00
Dan Fandrich (13 Sep 2011)
- [warp kawada brought this change]
2012-06-01 15:23:17 +00:00
Curl_add_custom_headers: support headers with no data
2012-06-01 15:23:17 +00:00
A custom HTTP header ending in a semicolon instead of a colon
will be treated as a header to be added without any data
portion.
2012-06-01 15:23:17 +00:00
Daniel Stenberg (13 Sep 2011)
- progressfunc: a simple CURLOPT_PROGRESSFUNCTION example
2012-06-01 15:23:17 +00:00
- 7.22.1: start working
2012-06-01 15:23:17 +00:00
- THANKS: 16 new contributors from 7.22.0
2012-06-01 15:23:17 +00:00
Version 7.22.0 (13 Sep 2011)
2012-06-01 15:23:17 +00:00
Daniel Stenberg (13 Sep 2011)
- RELEASE-NOTES: ready for 7.22.0
2012-06-01 15:23:17 +00:00
- codestyle: minor whitespace fix
2012-06-01 15:23:17 +00:00
- [Jeff Pohlmeyer brought this change]
2012-06-01 15:23:17 +00:00
polarssl: build with PolarSSL-1.0.0
2012-06-01 15:23:17 +00:00
With this fix, it should work for PolarSSL-1.0.0 (and SVN-1091 trunk)
and retain compatibility with earlier versions. (Tested with 0.14.1)
2012-06-01 15:23:17 +00:00
PolarSSL still doesn't play nicely with curl's CA bundle (we discussed
this before) but I was at least able to retrieve the
https://www.gmail.com/ login page using a modified ca-certificates.crt
file with all 3 versions of PolarSSL.
2012-06-01 15:23:17 +00:00
- BUGS: spellfixed, slightly reformatted for web looks
2012-06-01 15:23:17 +00:00
Reported by: Jeff Pohlmeyer
2012-06-01 15:23:17 +00:00
Dan Fandrich (12 Sep 2011)
- Document NTLM winbind options (and caveats)
2012-06-01 15:23:17 +00:00
Daniel Stenberg (12 Sep 2011)
- BUGS: renumbered to look better in the web version
- BUGS: revamped bug report documentation
Yang Tse (12 Sep 2011)
- Mention that BSD-style lwIP TCP/IP stack support on Windows is experimental.
- ftp.c: fix socket leak torture tests detected 2011-08-30
2012-06-01 15:23:17 +00:00
Also fix inappropriate error handling when sending ftp EPRT or PORT commands.
Daniel Stenberg (11 Sep 2011)
- TODO: remove 4 entries, add one new
2012-06-01 15:23:17 +00:00
Zero-copy and "Avoid having to remove/readd handles" are not really
features we think are worthwhile to add. Removed.
2012-06-01 15:23:17 +00:00
SRP features have been added already, removed.
2015-01-23 15:30:59 +00:00
11.9 IPv6 addresses with globbing added
2012-06-01 15:23:17 +00:00
- spell-checked comments
2012-06-01 15:23:17 +00:00
- TODO-RELEASE: postpone the remainders
2012-06-01 15:23:17 +00:00
There's three pending bug fixes but there's no time left so let's
try to get them fixed for next release...
2012-06-01 15:23:17 +00:00
Guenter Knauf (11 Sep 2011)
- Updated makefiles to latest libssh2.
2012-06-01 15:23:17 +00:00
Yang Tse (10 Sep 2011)
- urlglob.c: fix OOM handling
2012-06-01 15:23:17 +00:00
- ftp.c: fix ftp active connects which got broken with commit fdf157abdf
2012-06-01 15:23:17 +00:00
- runtests.pl: replace TAB with spaces
2012-06-01 15:23:17 +00:00
- test harness: revert needless commit 0a5bbb2ac1
https, ftps and ssh servers allowed start up time back to previous values
2012-06-01 15:23:17 +00:00
- ssh.c: revert needless commit 7b7c45879e
2012-06-01 15:23:17 +00:00
Daniel Stenberg (9 Sep 2011)
- RELEASE-NOTES: synced with 303c90074d4c
2012-06-01 15:23:17 +00:00
Five more bugfixes, one more contributor
- tcpnodelay: rename variable
2012-06-01 15:23:17 +00:00
Renamed the variable from 'proto' to 'level' simply because it is not
protocol you set but level and that is the name of the argument used in
man pages and the POSIX documentation of the setsockopt function.
2012-06-01 15:23:17 +00:00
Guenter Knauf (8 Sep 2011)
- Avoid ftruncate() static define with MinGW64.
2012-06-01 15:23:17 +00:00
Yang Tse (8 Sep 2011)
- libssh2: use calloc as alloc function for libssh2 versions older than 1.3
2012-06-01 15:23:17 +00:00
This workarounds old libssh2 versions not properly initializing
some ssh session variables, which would trigger memory debuggers
warnings on memory being used without having been initialized.
2012-06-01 15:23:17 +00:00
Daniel Stenberg (8 Sep 2011)
- [Adriano Meirelles brought this change]
2012-06-01 15:23:17 +00:00
Curl_speedcheck: don't mistakenly clear Curl_expire()
2015-01-23 15:30:59 +00:00
The current version of speedcheck.c may disable timeout by setting zero
to Curl_expire. Which is fine using the curl_multi_perform, because it
recheck all timeout internals, but when using custom event poller (like
hiperfifo.c) it may keep stalle connection forever.
2012-06-01 15:23:17 +00:00
Yang Tse (8 Sep 2011)
- lib582.c: fix segfault triggered when torture testing test case 582
2012-06-01 15:23:17 +00:00
Daniel Stenberg (7 Sep 2011)
- ftp_state_use_port: minor code indent fix
2012-06-01 15:23:17 +00:00
- checksrc: detect "}else" uses as well
2012-06-01 15:23:17 +00:00
- getinmemory.c: use better argument names for write callback
2012-06-01 15:23:17 +00:00
Yang Tse (7 Sep 2011)
- ssh.c: fix memory leaks triggered upon OOM or other failures
2012-06-01 15:23:17 +00:00
- test case 583: ensure that test failures don't go unnoticed - follow-up
- test suite: libtest header inclusion cleanup - follow-up
2015-01-23 15:30:59 +00:00
Adjust tests/libtest/Makefile.inc and remove a couple of unused headers from
tests/libtest/lib583.c
2012-06-01 15:23:17 +00:00
- test case 583: ensure that test failures don't go unnoticed
2012-06-01 15:23:17 +00:00
- test suite: libtest header inclusion cleanup
2015-01-23 15:30:59 +00:00
Added missing memoryTracking to test cases 560 and 583. If this triggers
leak detection on these, it only means that previously it was going unnoticed.
2012-06-01 15:23:17 +00:00
- fix bool variables checking and assignment
2012-06-01 15:23:17 +00:00
- pingpong.c: avoid a memmove call in function Curl_pp_vsendf
2012-06-01 15:23:17 +00:00
- fix bool variables checking and assignment
2012-06-01 15:23:17 +00:00
- test suite: use test case specific netrc file names
Guenter Knauf (4 Sep 2011)
- Fixed final message output.
Daniel Stenberg (4 Sep 2011)
- TODO-RELEASE: deleteing five issues due to no response
2015-01-23 15:30:59 +00:00
No feedback and no updates, removing these issues
2012-06-01 15:23:17 +00:00
Yang Tse (4 Sep 2011)
- setup_once.h cleanup and sync
2012-06-01 15:23:17 +00:00
Guenter Knauf (4 Sep 2011)
- Fix to skip untrusted certs.
2012-06-01 15:23:17 +00:00
- Added SPNEGO to MinGW makefiles.
2012-06-01 15:23:17 +00:00
Yang Tse (4 Sep 2011)
- NTLM WB: fix file descriptor leak upon OOM condition
2012-06-01 15:23:17 +00:00
- revert changes not intended to be pushed with commit 6b75d2c2
- fix a bunch of MSVC compiler warnings
2012-06-01 15:23:17 +00:00
Guenter Knauf (3 Sep 2011)
- Updated dependecies versions.
2012-06-01 15:23:17 +00:00
- Some MinGW makefile tweaks for MinGW64.
2012-06-01 15:23:17 +00:00
- Changed MinGW to use own winidn prototypes.
2012-06-01 15:23:17 +00:00
Dan Fandrich (2 Sep 2011)
- Fix NTLM winbind support to pass the torture tests
Calling sclose() both in the child and the parent fools the
socket leak detector into thinking it's been closed twice.
Calling close() in the child instead overcomes this problem. It's
not as portable as the sclose() macro, but this code is highly
POSIX-specific, anyway.
2012-06-01 15:23:17 +00:00
Yang Tse (2 Sep 2011)
- MemoryTracking: fix logging of free() calls done where Curl_safefree is called
2012-06-01 15:23:17 +00:00
Just internal stuff...
2012-06-01 15:23:17 +00:00
Curl_safefree is now a macro defined in memdebug.h instead of a function
prototyped in url.h and implemented in url.c, so inclusion of url.h is no
longer required in order to simply use Curl_safefree.
2012-06-01 15:23:17 +00:00
Provide definition of macro WHILE_FALSE in setup_once.h in order to allow
other macros such as DEBUGF and DEBUGASSERT, and code using it, to compile
without 'conditional expression is constant' warnings.
2012-06-01 15:23:17 +00:00
The WHILE_FALSE stuff fixes 150+ MSVC compiler warnings.
2012-06-01 15:23:17 +00:00
- transfer.c: fix parentheses/braces placement for vi/emacs delimiter matching
2012-06-01 15:23:17 +00:00
- transfer.c: fix loadhostpairs() OOM handling
2012-06-01 15:23:17 +00:00
- test harness: https, ftps and ssh servers allowed start up time increased 33%
2012-06-01 15:23:17 +00:00
- hostip.c: return immediately from Curl_resolv_timeout() upon expired timeout.
2012-06-01 15:23:17 +00:00
Ensure existing logic in Curl_resolv_timeout() is not subverted upon getting a
negative timeout from resolve_server(). The timeout in resolve_server() could
be checked to avoid calling Curl_resolv_timeout() with an expired timeout, but
fixing this in this way allows existing logic in resolve_server() to be kept
unchanged.
2012-06-01 15:23:17 +00:00
- ftp.c: fix some leaks torture tests detected 2011-08-30 - follow-up
2015-01-23 15:30:59 +00:00
follow-up for commit d20408e8
2012-06-01 15:23:17 +00:00
- test harness: fix detection of test harness client knownhosts file
2012-06-01 15:23:17 +00:00
Regenerate curl's tests client knownhosts file also when, somehow,
this file is empty.
2012-06-01 15:23:17 +00:00
- test harness: fix detection of test harness host and client key files
Regenerate curl's tests host and client key files also when, somehow,
any of these files are empty.
2012-06-01 15:23:17 +00:00
- ssh.c: fix realloc() OOM handling
2012-06-01 15:23:17 +00:00
- ftp.c: fix some leaks torture tests detected 2011-08-30 - follow-up
2015-01-23 15:30:59 +00:00
follow-up for commit c06de200
2012-06-01 15:23:17 +00:00
- fix some leaks torture tests detected 2011-08-30
2012-06-01 15:23:17 +00:00
- fix some leaks torture tests detected 2011-08-30
2012-06-01 15:23:17 +00:00
Daniel Stenberg (29 Aug 2011)
- RELEASE-NOTES: synced with 3445fa2e3f
2012-06-01 15:23:17 +00:00
Kamil Dudka (29 Aug 2011)
- tests: break busy loops in tests 502, 555, and 573
2012-06-01 15:23:17 +00:00
Yang Tse (29 Aug 2011)
- pingpong.c: fix Curl_pp_vsendf() arbitrary restrictions on command length
2012-06-01 15:23:17 +00:00
This removes command length restrictions on calling functions.
2015-01-23 15:30:59 +00:00
- NTLM: header inclusion cleanup follow-up
- NTLM: header inclusion cleanup
- NTLM: END of refactoring/splitting/moving
2012-06-01 15:23:17 +00:00
First:
2012-06-01 15:23:17 +00:00
File curl_ntlm.h renamed curl_ntlm_msgs.h
File curl_ntlm.c renamed curl_ntlm_msgs.c
2012-06-01 15:23:17 +00:00
Afterwards:
File http_ntlm.c renamed curl_ntlm.c
File http_ntlm.h renamed curl_ntlm.h
2012-06-01 15:23:17 +00:00
- NTLM: move NTLM core specifics into curl_ntlm_core.[ch]
2012-06-01 15:23:17 +00:00
- NTLM_WB: move NTLM_WB specifics into curl_ntlm_wb.[ch]
2012-06-01 15:23:17 +00:00
- NTLM_WB: final congruency naming adjustments
2012-06-01 15:23:17 +00:00
Configure script option --enable-wb-ntlm-auth renamed to --enable-ntlm-wb
Configure script option --disable-wb-ntlm-auth renamed to --disable-ntlm-wb
2012-06-01 15:23:17 +00:00
Preprocessor symbol WINBIND_NTLM_AUTH_ENABLED renamed to NTLM_WB_ENABLED
Preprocessor symbol WINBIND_NTLM_AUTH_FILE renamed to NTLM_WB_FILE
2012-06-01 15:23:17 +00:00
Test harness env var CURL_NTLM_AUTH renamed to CURL_NTLM_WB_FILE
2015-01-23 15:30:59 +00:00
Static function wb_ntlm_close renamed to ntlm_wb_cleanup
Static function wb_ntlm_initiate renamed to ntlm_wb_init
Static function wb_ntlm_response renamed to ntlm_wb_response
2012-06-01 15:23:17 +00:00
- NTLM single-sign on adjustments (XI)
2015-01-23 15:30:59 +00:00
Feature string literal NTLM_SSO renamed to NTLM_WB.
Preprocessor symbol USE_NTLM_SSO renamed to WINBIND_NTLM_AUTH_ENABLED.
curl's 'long' option 'ntlm-sso' renamed to 'ntlm-wb'.
Fix some comments to make clear that this is actually a NTLM delegation.
Daniel Stenberg (26 Aug 2011)
- --cookie-jar: activates the cookie engine
- Curl_read_plain: indent code
Yang Tse (26 Aug 2011)
- NTLM single-sign on adjustments (X)
2012-06-01 15:23:17 +00:00
Functions renamed:
2012-06-01 15:23:17 +00:00
Curl_output_ntlm_sso -> Curl_output_ntlm_wb
sso_ntlm_close -> wb_ntlm_close
sso_ntlm_response -> wb_ntlm_response
sso_ntlm_initiate -> wb_ntlm_initiate
2012-06-01 15:23:17 +00:00
Preprocessor symbols renamed:
2012-06-01 15:23:17 +00:00
CURLAUTH_NTLM_SSO -> CURLAUTH_NTLM_WB
CURL_VERSION_NTLM_SSO -> CURL_VERSION_NTLM_WB
2012-06-01 15:23:17 +00:00
Daniel Stenberg (25 Aug 2011)
- TODO: progress callback without doubles
2012-06-01 15:23:17 +00:00
Yang Tse (25 Aug 2011)
- [Steve Holme brought this change]
2012-06-01 15:23:17 +00:00
http NTLM: refactoring followup
2012-06-01 15:23:17 +00:00
Output of Curl_ntlm_create_type1_message() and Curl_ntlm_create_type3_message()
functions is now already base64 encoded.
2012-06-01 15:23:17 +00:00
Kamil Dudka (24 Aug 2011)
- docs: the next release is going to be 7.22.0
2012-06-01 15:23:17 +00:00
Yang Tse (24 Aug 2011)
- include limits.h for INT_MAX
2012-06-01 15:23:17 +00:00
- add missing semicolons
2012-06-01 15:23:17 +00:00
Daniel Stenberg (24 Aug 2011)
- add missing semicolons
2012-06-01 15:23:17 +00:00
- safefree use: fix compiler warning
include the prototype header
2015-01-23 15:30:59 +00:00
Yang Tse (24 Aug 2011)
- [Steve Holme brought this change]
2012-06-01 15:23:17 +00:00
SMTP authentication: fix ordering of preferred authentication method
2012-06-01 15:23:17 +00:00
Fixed the order of the preferred SMTP authentication method to:
AUTH CRAM-MD5, AUTH LOGIN then AUTH PLAIN.
2012-06-01 15:23:17 +00:00
AUTH PLAIN should be the last as it slightly more insecure than AUTH LOGIN
as the username and password are sent together - there is no handshaking
between the client and server like there is with AUTH LOGIN.
2015-01-23 15:30:59 +00:00
- base64: fix Curl_base64_encode and Curl_base64_decode interfaces
Previous interfaces for these libcurl internal functions did not allow to tell
apart a legitimate zero size result from an error condition. These functions
now return a CURLcode indicating function success or otherwise specific error.
Output size is returned using a pointer argument.
All usage of these two functions, and others closely related, has been adapted
to the new interfaces. Relative error and OOM handling adapted or added where
missing. Unit test 1302 also adapted.
2012-06-01 15:23:17 +00:00
Daniel Stenberg (23 Aug 2011)
- resolve.c: new example showing off CURLOPT_RESOLVE
2012-06-01 15:23:17 +00:00
- externalsocket.c: new example
2012-06-01 15:23:17 +00:00
Yang Tse (22 Aug 2011)
- [Steve Holme brought this change]
2012-06-01 15:23:17 +00:00
http NTLM: remaining bits from 0001-Moved-ntlm-[...]-curl_ntlm-mod_3.patch
2012-06-01 15:23:17 +00:00
* Added function comments:
- Curl_ntlm_decode_type2_message
- Curl_ntlm_create_type1_message
- Curl_ntlm_create_type3_message
2012-06-01 15:23:17 +00:00
* Modification of ntlm processing state to NTLMSTATE_TYPE2 is now done
only when Curl_ntlm_decode_type2_message() has fully succeeded.
2012-06-01 15:23:17 +00:00
- runtests.pl: option -gw for single test windowed debugging (where possible)
2012-06-01 15:23:17 +00:00
- zlib: ensure user provided memory functions are used by zlib, when given
2012-06-01 15:23:17 +00:00
As a bonus, this lets our MemoryTracking subsystem track zlib operations.
And also fixes a shortcut some zlib 1.2.x versions took using malloc()
instead of calloc(), which would trigger memory debuggers warnings on
memory being used without having been initialized.
2015-01-23 15:30:59 +00:00
Daniel Stenberg (21 Aug 2011)
- main: fix segfault
2012-06-01 15:23:17 +00:00
Follow-up to commit 5eb2396cd as that wasn't complete.
2012-06-01 15:23:17 +00:00
At times HEADERFUNCTION+HEADERDATA was set only to have only HEADERDATA
set in the subsequent loop which could cause a NULL to get sent as
userdata to 'header_callback' which wasn't made to handle that.
2012-06-01 15:23:17 +00:00
Now HEADERFUNCTION is explicitly set to NULL if it isn't set to the
callback.
2012-06-01 15:23:17 +00:00
Yang Tse (21 Aug 2011)
- MemoryTracking: adjust initialization calling - followup
2012-06-01 15:23:17 +00:00
Fix macro definition
2012-06-01 15:23:17 +00:00
- MemoryTracking: adjust initialization calling
2012-06-01 15:23:17 +00:00
Calling of curl_memdebug() was still done with a pending free()
2012-06-01 15:23:17 +00:00
Daniel Stenberg (19 Aug 2011)
- tcpconnect: follow-up commit after b998d95b
2012-06-01 15:23:17 +00:00
As I modified conn->bits.tcpconnect to become an array that holds one
bool for each potential connection all uses of that struct field must
index it correctly.
2012-06-01 15:23:17 +00:00
Yang Tse (19 Aug 2011)
- ssh.c: add PATH_MAX definition for WIN32
2012-06-01 15:23:17 +00:00
Daniel Stenberg (19 Aug 2011)
- connect: set TIMER_CONNECT
2015-01-23 15:30:59 +00:00
When connecting, make sure TIMER_CONNECT is set.
2012-06-01 15:23:17 +00:00
- test573: fix the keywords
2012-06-01 15:23:17 +00:00
- FTP: fix proxy connect race condition
2012-06-01 15:23:17 +00:00
When using the multi interface, a SOCKS proxy, and a connection that
wouldn't immediately consider itself connected (which my Linux tests do
by default), libcurl would be tricked into doing _two_ connects to the
SOCKS proxy when it setup the data connection and then of course the
second attempt would fail miserably and cause error.
2012-06-01 15:23:17 +00:00
This problem is a regression that was introduced by commit
4a42e5cdaa344755 that was introduced in the 7.21.7 release.
2012-06-01 15:23:17 +00:00
Bug: http://curl.haxx.se/mail/lib-2011-08/0199.html
Reported by: Fabian Keil
2012-06-01 15:23:17 +00:00
- Curl_SOCKS4: minor code compression
2012-06-01 15:23:17 +00:00
Yang Tse (18 Aug 2011)
- zlib: enforce full initialization of our data space z_stream structs
2012-06-01 15:23:17 +00:00
Daniel Stenberg (17 Aug 2011)
- VC makefiles: fixed variable name mistake
2012-06-01 15:23:17 +00:00
Yang Tse (17 Aug 2011)
- MemoryTracking: adjust curl_domalloc() and curl_dofree() memory filling
2012-06-01 15:23:17 +00:00
Until 2011-08-17 libcurl's Memory Tracking feature also performed
automatic malloc and free filling operations using 0xA5 and 0x13
values. Our own preinitialization of dynamically allocated memory
might be useful when not using third party memory debuggers, but
on the other hand this would fool memory debuggers into thinking
that all dynamically allocated memory is properly initialized.
2012-06-01 15:23:17 +00:00
As a default setting, libcurl's Memory Tracking feature no longer
performs preinitialization of dynamically allocated memory on its
own. If you know what you are doing, and really want to retain old
behavior, you can achieve this compiling with preprocessor symbols
CURL_MT_MALLOC_FILL and CURL_MT_FREE_FILL defined with appropriate
values.
2012-06-01 15:23:17 +00:00
- MemoryTracking: make curl_docalloc() call calloc() avoiding our zero fill
2015-01-23 15:30:59 +00:00
Daniel Stenberg (15 Aug 2011)
- MSVC makefiles: provide SSH build targets
"release-ssl-ssh2-zlib" and "debug-ssl-ssh2-zlib" are two new makefile
targets that build libcurl with MSVC and link with libssh2
2012-06-01 15:23:17 +00:00
Bug: http://curl.haxx.se/bug/view.cgi?id=3388920
Reported by: "kdekker"
2012-06-01 15:23:17 +00:00
- test572: fixed
2015-01-23 15:30:59 +00:00
Two problems were fixed:
2012-06-01 15:23:17 +00:00
GET_PARAMETER responses that have no body must be 204 response or
properly set length to 0.
2015-01-23 15:30:59 +00:00
One of the <data> sections had the wrong content-length for its
GET_PARAMETER response.
2012-06-01 15:23:17 +00:00
Enabled test 572 again.
2012-06-01 15:23:17 +00:00
- Curl_pgrsStartNow: clear all flags but HIDE
2012-06-01 15:23:17 +00:00
As bug 3385258 pointed out but I missed up the fix for. This is another
take at a fix.
2012-06-01 15:23:17 +00:00
Bug: http://curl.haxx.se/bug/view.cgi?id=3392101
Reported by: Wu Yongzheng
2015-01-23 15:30:59 +00:00
Yang Tse (15 Aug 2011)
- unittests: disable unit tests for some autobuild configurations
IRIX 6.5.24 gcc 3.3 autobuilds fail unittests library compilation due to a
problem related with OpenSSL headers and library versions not matching.
All AIX autobuilds fails unit tests linking against unittests library due to
unittests library being built with no symbols or members. Libtool ?
2015-01-23 15:30:59 +00:00
Kamil Dudka (15 Aug 2011)
- nss: start with no database if the selected database is broken
2012-06-01 15:23:17 +00:00
Bug: https://bugzilla.redhat.com/728562
2015-01-23 15:30:59 +00:00
Yang Tse (15 Aug 2011)
- http NTLM: reinstate "nssg.h" "curl_sspi.h" header inclusions
2015-01-23 15:30:59 +00:00
- tests: disable #572
Daniel Stenberg (14 Aug 2011)
- TODO-RELEASE: synced
2012-06-01 15:23:17 +00:00
Added comments to some remaining issues
2015-01-23 15:30:59 +00:00
- telnet: allow programatic use on Windows
Summary of the issue can be found at:
http://curl.haxx.se/mail/lib-2010-04/0367.html
2012-06-01 15:23:17 +00:00
That patch only updated the unix sockets code - the winsock code was not
updated and no longer works the same was as the unix code. This change
updates the windows code accordingly.
2012-06-01 15:23:17 +00:00
Bug: http://curl.haxx.se/bug/view.cgi?id=3163118
2012-06-01 15:23:17 +00:00
- TODO-RELEASE: fixed issue #291
2012-06-01 15:23:17 +00:00
291 - bug 3383692 "GET PARAMETER request and body in response"
2012-06-01 15:23:17 +00:00
Yang Tse (14 Aug 2011)
- http NTLM: reinstate "memdebug.h" header inclusion
Inclusion of header "memdebug.h" in http_ntlm.c got lost in commit 98fb0ef7.
2015-01-23 15:30:59 +00:00
Daniel Stenberg (14 Aug 2011)
- RTSP: GET_PARAMETER requests have a body
2012-06-01 15:23:17 +00:00
Bug: http://curl.haxx.se/bug/view.cgi?id=3383692
2015-01-23 15:30:59 +00:00
- Curl_output_ntlm: remove unused variable
2012-06-01 15:23:17 +00:00
Yang Tse (14 Aug 2011)
- http NTLM: add curl_ntlm.c to Symbian's libcurl.mmp
2015-01-23 15:30:59 +00:00
- http NTLM: fix 8 compiler warnings
Strict splitting of http_ntlm.[ch] may trigger 8 compiler warnings when
building with some compilers and strict compiler warnings enabled, depending
on other specific configuration options some could get triggered or not.
2012-06-01 15:23:17 +00:00
Seven are related with 'unused function parameters' and another one with
'var may be used before its value is set'.
2012-06-01 15:23:17 +00:00
- http NTLM: split http_ntlm.[ch] between http_ntlm.[ch] and curl_ntlm.[ch]
2015-01-23 15:30:59 +00:00
For modularity purposes, huge chunks of NTLM existing code is transformed into
functions to allow future internal code reuse.
2012-06-01 15:23:17 +00:00
Resulting three new libcurl private functions:
2015-01-23 15:30:59 +00:00
- Curl_ntlm_create_type1_message()
- Curl_ntlm_create_type3_message()
- Curl_ntlm_decode_type2_message()
2012-06-01 15:23:17 +00:00
Changing static ntlm_sspi_cleanup() into non-static Curl_ntlm_sspi_cleanup()
2012-06-01 15:23:17 +00:00
This 'refactoring' has been prepared by previous commits to allow that this
specific one does not introduce any change to existing code. All existing
goodness and badness previous to this commit should remain the same once it is
applied, the only difference should be that existing code is moved into
functions.
2012-06-01 15:23:17 +00:00
Given the quite big portions of code being moved around, and the importance of
change traceability, this commit has been done in such a way that it is
possible to perform a three-way diff from initial http_ntlm.[ch] to resulting
http_ntlm.[ch] and curl_ntlm.[ch] to actually verify that no functional change
is introduced here.
2012-06-01 15:23:17 +00:00
Notice that Steve Holme has provided several patches, but these included this
refactoring along with 'extra' fixes. I really wanted this 'clean' refactoring
done first, in order to allow discussion or committing of 'extra' fixes on a
case by case basis, so, I had to bite the bullet ;-)
2012-06-01 15:23:17 +00:00
Comments, line adjustments, compiler warning fixes, whatever, may follow
afterwards.
- http_negotiate_sspi.c: fix compiler warning
2012-06-01 15:23:17 +00:00
warning C4706: assignment within conditional expression
2012-06-01 15:23:17 +00:00
- http NTLM: change return type of Curl_input_ntlm() to CURLcode
Remove CURLntlm enum, no longer required.
2012-06-01 15:23:17 +00:00
Daniel Stenberg (13 Aug 2011)
- RELEASE-NOTES: synced with a30ede868ab64
2015-01-23 15:30:59 +00:00
Three more bugs fixed, three more contributors mentioned
- VC6 makefiles: added embedded documentation
2015-01-23 15:30:59 +00:00
Just a note about the fact that all VC[6/8/9/10] makefiles are generated
from the VC6 one as source.
2012-06-01 15:23:17 +00:00
- cmake: find winsock when building on windows
2012-06-01 15:23:17 +00:00
When building on Windows, with CMake and mingw, curl fails to compile
because the CMake build system is not properly looking for the Winsock
libraries
2012-06-01 15:23:17 +00:00
Patch by: Pau Garcia i Quiles
Bug: http://curl.haxx.se/bug/view.cgi?id=3389231
2015-01-23 15:30:59 +00:00
- Curl_retry_request: check return code!
2012-06-01 15:23:17 +00:00
Curl_readrewind() was called without checking its return code, which
could lead to badness.
2012-06-01 15:23:17 +00:00
Bug: http://curl.haxx.se/bug/view.cgi?id=3349227
2012-06-01 15:23:17 +00:00
- ignore rtsp
2012-06-01 15:23:17 +00:00
Yang Tse (13 Aug 2011)
- http NTLM: update NTLM type-* message structure descriptions - followup
2012-06-01 15:23:17 +00:00
Daniel Stenberg (12 Aug 2011)
- docs: --delegation
2012-06-01 15:23:17 +00:00
- added --delegation
2012-06-01 15:23:17 +00:00
Using this option with an argument being set to one of
none/policy/always instructs libcurl how to deal with GSS
credentials. Or rather how it tells the server that delegation is fine
or not.
2012-06-01 15:23:17 +00:00
Yang Tse (12 Aug 2011)
- http NTLM: fix inclusion of curl_ntlm.h
2012-06-01 15:23:17 +00:00
- http NTLM: update NTLM message structure notes
- [Steve Holme brought this change]
http NTLM: move portions of http_ntlm.h into new curl_ntlm.h
- http NTLM: more adjustments in preparation of code refactoring
2012-06-01 15:23:17 +00:00
Use preprocessor symbol NTLM_BUFSIZE to define private NTLM buffer fixed size.
2012-06-01 15:23:17 +00:00
Use a SessionHandle 'data' pointer variable to ease refactoring.
2012-06-01 15:23:17 +00:00
Update NTLM type-* message structure descriptions.
2012-06-01 15:23:17 +00:00
Fix some more spacing and typos (Steve Holme).
2012-06-01 15:23:17 +00:00
Daniel Stenberg (11 Aug 2011)
- curl_easy_cleanup: clarify the callback situation
2012-06-01 15:23:17 +00:00
Yang Tse (11 Aug 2011)
- http NTLM: fix compiler warning
2015-01-23 15:30:59 +00:00
- [Steve Holme brought this change]
2012-06-01 15:23:17 +00:00
http NTLM: Tidied up more inconsistent spacing.
2012-06-01 15:23:17 +00:00
Moved NTLMSSP_SIGNATURE, HOSTNAME_MAX, SHORTPAIR and LONGQUARTET definitions in ready for move to curl_ntlm.c.
2012-06-01 15:23:17 +00:00
Used separate variables for Windows SSPI and native code to ease moving of code to curl_ntlm.c.
2012-06-01 15:23:17 +00:00
Fixed typographical erros where SPPI should be SSPI.
Fixed compilation warnings on 64-bit builds when calling Windows SSPI functions.
2012-06-01 15:23:17 +00:00
Daniel Stenberg (10 Aug 2011)
- rtsp.c: converted to C
2012-06-01 15:23:17 +00:00
Trimmed the newlines to be LF-only. Converted the source to plain C, to
use curl style indents, to compile warning-free with picky options and
fixed the minor fprintf() bug on line 245. Added to makefile.
2015-01-23 15:30:59 +00:00
- [Jim Hollinger brought this change]
2012-06-01 15:23:17 +00:00
rtsp.c: new example
2012-06-01 15:23:17 +00:00
Code from
http://code.google.com/p/rtsprequest/source/browse/trunk/rtsprequest.cpp
- TODO: remove curl_formpost in a future version
2012-06-01 15:23:17 +00:00
15.8 remove 'curl_httppost' from public
2012-06-01 15:23:17 +00:00
Yang Tse (9 Aug 2011)
- http NTLM: Further tiding up to libcurl standards
2015-01-23 15:30:59 +00:00
- [Steve Holme brought this change]
2015-01-23 15:30:59 +00:00
http NTLM: Tidied up http_ntlm prior to splitting the ntlm specific code
Daniel Stenberg (9 Aug 2011)
- TODO-RELEASE: issue #289 is fixed
2012-06-01 15:23:17 +00:00
289 - bug 3349227 "secure attribute in cookie does not work with equals sign"
2015-01-23 15:30:59 +00:00
- cookie parser: handle 'secure='
There are two keywords in cookie headers that don't follow the regular
name=value style: secure and httponly. Still we must support that they
are written like 'secure=' and then treat them as if they were written
'secure'. Test case 31 was much extended by Rob Ward to test this.
Bug: http://curl.haxx.se/bug/view.cgi?id=3349227
Reported by: "gnombat"
2012-06-01 15:23:17 +00:00
- curl.h: mark deprecated CURLOPT_ options on same line
2015-01-23 15:30:59 +00:00
This is to aid easier machine parsing and to make sure nobody who reads
these header lines can miss the info.
- RELEASE-NOTES: recounted and updated some numbers
2012-06-01 15:23:17 +00:00
- proxy protocol docs: rephrased and updated
2012-06-01 15:23:17 +00:00
- RELEASE-NOTES: synced with 45d883d88df7
2012-06-01 15:23:17 +00:00
Mention 5 bugixes and 1 change more
2015-01-23 15:30:59 +00:00
- CURLFORM_BUFFER: insert filename as documented
A regression where CURLFORM_BUFFER stopped to properly insert the file
name part in the formpart. Bug introduced in commit f851f768578dc096.
Added CURLFORM_BUFFER use to test 554 to verify this.
2012-06-01 15:23:17 +00:00
Bug: http://curl.haxx.se/mail/lib-2011-07/0176.html
Reported by: Henry Ludemann
2012-06-01 15:23:17 +00:00
Yang Tse (8 Aug 2011)
- curl-compilers.m4: serial number bump
2012-06-01 15:23:17 +00:00
- curl-compilers.m4: CURL_CONVERT_INCLUDE_TO_ISYSTEM adjustments:
2012-06-01 15:23:17 +00:00
Add CURL_CHECK_COMPILER as a requirement.
2015-01-23 15:30:59 +00:00
Ensure macro does nothing unless GNU_C or CLANG compiler is used.
2012-06-01 15:23:17 +00:00
This should allow usage of this macro in unforeseen placements.
2012-06-01 15:23:17 +00:00
Daniel Stenberg (8 Aug 2011)
- SOCKS: fix the connect timeout
2012-06-01 15:23:17 +00:00
The connect timeout logic when using SOCKS was done wrong
2012-06-01 15:23:17 +00:00
Bug: http://curl.haxx.se/mail/lib-2011-07/0177.html
Reported by: "Spoon Man"
2012-06-01 15:23:17 +00:00
- ftp_doing: bail out on error properly
When a failure has been detected we must abort immdiately.
2012-06-01 15:23:17 +00:00
Bug: http://curl.haxx.se/mail/lib-2011-07/0177.html
Reported by: "Spoon Man"
2012-06-01 15:23:17 +00:00
- s/7.21.8/7.22.0
2012-06-01 15:23:17 +00:00
- version bump: next release is 7.22.0
2012-06-01 15:23:17 +00:00
- VERSIONS: clarify our versioning concept
2012-06-01 15:23:17 +00:00
Drop the pre-release part from this text as we don't use that in
practise since many years.
2012-06-01 15:23:17 +00:00
Update the phrasing to reflect our more strict interpretation:
http://curl.haxx.se/mail/lib-2011-08/0064.html
- [Cristian Rodríguez brought this change]
2012-06-01 15:23:17 +00:00
OpenSSL: Use SSL_MODE_RELEASE_BUFFERS if available, reduces memory use
2015-01-23 15:30:59 +00:00
See also :
http://www.openssl.org/docs/ssl/SSL_CTX_set_mode.html
http://www.imperialviolet.org/2010/06/25/overclocking-ssl.html
Signed-off-by: Cristian Rodríguez <crrodriguez@opensuse.org>
2012-06-01 15:23:17 +00:00
- TODO-RELEASE: close issue #292
Fixed:
292 - bug 3385258 "Addendum to 3370895"
2015-01-23 15:30:59 +00:00
Basically brushing up commit 27b8814017a19
2012-06-01 15:23:17 +00:00
- Curl_pgrsStartNow: clear all bits except HIDE
Bug: http://curl.haxx.se/bug/view.cgi?id=3385258
Reported by: Ben Winslow
2012-06-01 15:23:17 +00:00
- readwrite_data: improved C-E decoding error message
2012-06-01 15:23:17 +00:00
Yang Tse (7 Aug 2011)
- BSD-style lwIP TCP/IP stack support - followup
2012-06-01 15:23:17 +00:00
lwIP library initialization.
2015-01-23 15:30:59 +00:00
- NTLM single-sign on adjustments (IX)
2012-06-01 15:23:17 +00:00
Use swrite/sread instead of write/read to avoid SIGPIPE
2012-06-01 15:23:17 +00:00
- config-win32.h: comments adjustments
2012-06-01 15:23:17 +00:00
Daniel Stenberg (6 Aug 2011)
- TODO-RELEASE: committed issue #304
304 - "Async-DNS-resolve-thread gets started even when a dotted IP is
provided" by Christian H<E4>gele
http://curl.haxx.se/mail/lib-2011-08/0009.html
2012-06-01 15:23:17 +00:00
- [Christian Hägele brought this change]
2012-06-01 15:23:17 +00:00
asyn-thread: check for dotted addresses before thread starts
2012-06-01 15:23:17 +00:00
- TODO-RELEASE: Add #307 two issues by "Spoon Man"
2012-06-01 15:23:17 +00:00
Yang Tse (5 Aug 2011)
- checksrc.pl: add quotes to var
2012-06-01 15:23:17 +00:00
- keep a single copy of config-win32.h in version control repository - followup
2012-06-01 15:23:17 +00:00
Allow configure builds to generate src/config-win32.h
2012-06-01 15:23:17 +00:00
Skip checksrc on src/config-win32.h contents already checked at lib/config-win32.h
2012-06-01 15:23:17 +00:00
Allow multiple -W in checksrc.pl
2012-06-01 15:23:17 +00:00
- BSD-style lwIP TCP/IP stack support - docs/INSTALL blurb
2012-06-01 15:23:17 +00:00
- BSD-style lwIP TCP/IP stack support - followup
2012-06-01 15:23:17 +00:00
- git ignore src/config-win32.h
2012-06-01 15:23:17 +00:00
- keep a single copy of config-win32.h in version control repository.
2012-06-01 15:23:17 +00:00
maketgz and buildconf.bat updated to reflect this.
2015-01-23 15:30:59 +00:00
Daniel Stenberg (5 Aug 2011)
- RELEASE-NOTES: synced with afe88d85f40e1
- test710: verify that --proxy socks5://hostname works
- create_conn: mark non-HTTP proxies accordingly
2012-06-01 15:23:17 +00:00
A proxy could be marked 'httpproxy' wrongly before if set with an
environment variable or with the CURLOPT_PROXY option with a socks*://
prefix or similar.
2012-06-01 15:23:17 +00:00
Added test 710 to verify
2012-06-01 15:23:17 +00:00
Bug: http://curl.haxx.se/mail/lib-2011-07/0194.html
2015-01-23 15:30:59 +00:00
- test709: HTTP GET via SOCKS5 set in environment
2012-06-01 15:23:17 +00:00
- TODO-RELEASE: issue #293 is done
2012-06-01 15:23:17 +00:00
Fixed:
293 - from http://bugzilla.redhat.com/723075 "curl segfaults"
2015-01-23 15:30:59 +00:00
- segfault fixed
2012-06-01 15:23:17 +00:00
When using both -J and a single -O with multiple URLs, a missing init
could cause badness.
2012-06-01 15:23:17 +00:00
Bug: http://curl.haxx.se/mail/lib-2011-07/0126.html and
http://bugzilla.redhat.com/723075
Reported by: Paul Howarth and Garrett Holmstrom
2015-01-23 15:30:59 +00:00
- test1313: test content-disposition with uneven quotes
2012-06-01 15:23:17 +00:00
- parse_filename: deal with escaped quotes
2012-06-01 15:23:17 +00:00
Yang Tse (4 Aug 2011)
- BSD-style lwIP TCP/IP stack support:
Allow compilation of libcurl and curl using BSD-style lwIP on Win32.
In order to compile libcurl and curl with this support it is necessary
to edit files lib/config-win32.h and src/config-win32.h and uncomment
a line to make definition of preprocessor symbol USE_LWIPSOCK visible.
Afterwards you can compile as usual.
In order to use compiled library with BSD-style lwIP TCP/IP stack in
your program it is mandatory that you include lwIP header file <lwip/opt.h>
before including <curl/curl.h> or <curl/multi.h>
Compilation has been verified with lwIP 1.4.0 and contrib-1.4.0 from:
http://download.savannah.gnu.org/releases/lwip/lwip-1.4.0.zip
http://download.savannah.gnu.org/releases/lwip/contrib-1.4.0.zip
Have fun!
2012-06-01 15:23:17 +00:00
- curl.h: untangle a preprocessor block, removing duplicate sys/types.h inclusion
2012-06-01 15:23:17 +00:00
Daniel Stenberg (4 Aug 2011)
- TODO-RELEASE: issue #290 fixed
Closed this entry:
290 - bug 3375603 "curl has problem with remote names containing ';'"
2012-06-01 15:23:17 +00:00
- -J: support ';' in quoted file names
2012-06-01 15:23:17 +00:00
Content-disposition headers can provide file names with semicolons which
previously would be cut off at that point.
Added test case 1311 and 1312 to verify -J.
Bug: http://curl.haxx.se/bug/view.cgi?id=3375603
Reported by: Peter Hjalmarsson
- getpart.pm: when no part match, return blank when section ends
- runtests.pl: support option=no-include
2012-06-01 15:23:17 +00:00
- TODO-RELESE: #306 - SSL Sessions shared
2012-06-01 15:23:17 +00:00
- TODO-RELEASE: updated with current issues
2012-06-01 15:23:17 +00:00
Kamil Dudka (3 Aug 2011)
- curl_gssapi: add a missing include of sendf.h
2012-06-01 15:23:17 +00:00
... to avoid build failure when GSS_C_DELEG_POLICY_FLAG is not defined.
2012-06-01 15:23:17 +00:00
Reported by: Paul Howarth
2012-06-01 15:23:17 +00:00
- curl_gssapi: refine the handling of CURLOPT_GSSAPI_DELEGATION
Suggested by Richard Silverman.
2012-06-01 15:23:17 +00:00
- [Adam Tkac brought this change]
2015-01-23 15:30:59 +00:00
Add new CURLOPT_GSSAPI_DELEGATION option.
Curl_gss_init_sec_context got new parameter - SessionHandle.
Signed-off-by: Adam Tkac <atkac@redhat.com>
2015-01-23 15:30:59 +00:00
Yang Tse (31 Jul 2011)
- configure: add check for <sys/wait.h>
2015-01-23 15:30:59 +00:00
- NTLM single-sign on adjustments (VIII)
Use preprocessor symbols WINBIND_NTLM_AUTH_ENABLED and WINBIND_NTLM_AUTH_FILE
for Samba's winbind daemon ntlm_auth helper code implementation and filename.
2012-06-01 15:23:17 +00:00
Retain preprocessor symbol USE_NTLM_SSO for NTLM single-sign-on feature
availability implementation independent.
2012-06-01 15:23:17 +00:00
For test harness, prefix NTLM_AUTH environment vars with CURL_
Refactor and rename configure option --with-ntlm-auth to --enable-wb-ntlm-auth[=FILE]
2012-06-01 15:23:17 +00:00
Dan Fandrich (29 Jul 2011)
- Renumbered test2005 to test1310
2012-06-01 15:23:17 +00:00
The 20xx range is for multiple sequential tests.
Yang Tse (29 Jul 2011)
- curl-functions.m4 serial # bump
2012-06-01 15:23:17 +00:00
- Revert "configure: additional flag checks for fcntl() socket() and socketpair()"
2012-06-01 15:23:17 +00:00
This reverts commit bc6e6a465ad0b9f9757c4385698fe5f255dd125b.
2012-06-01 15:23:17 +00:00
- configure: additional flag checks for fcntl() socket() and socketpair()
2012-06-01 15:23:17 +00:00
- NTLM single-sign on adjustments (VII)
2012-06-01 15:23:17 +00:00
Initialize variables when connectdata object is created.
2012-06-01 15:23:17 +00:00
- socketpair() usage tracking to allow fd leak detection
2012-06-01 15:23:17 +00:00
- fix compiler warning
2012-06-01 15:23:17 +00:00
Dan Fandrich (28 Jul 2011)
- Avoid a "shadows global declaration" warning on old MIT Kerberos
2012-06-01 15:23:17 +00:00
Defining NCOMPAT eliminates the backwards-compatibility macros
that are the source of the problem and which we don't need,
anyway.
2012-06-01 15:23:17 +00:00
Yang Tse (28 Jul 2011)
- NTLM single-sign on adjustments (VI)
2012-06-01 15:23:17 +00:00
Fix compiler warning
2012-06-01 15:23:17 +00:00
Dan Fandrich (28 Jul 2011)
- Give the NTLM SSO helper a moment to cleanly shut down if needed
- Removed an extraneous \n that violated the SSO daemon protocol
2012-06-01 15:23:17 +00:00
This caused fake_ntlm to abort due to an invalid command
causing sporadic test 2005 failures.
2012-06-01 15:23:17 +00:00
Yang Tse (28 Jul 2011)
- NTLM single-sign on adjustments (V)
Enhance test harness fake_ntlm logging upon invalid input.
2012-06-01 15:23:17 +00:00
Dan Fandrich (27 Jul 2011)
- Fixed a couple of memory leaks in NTLM SSO support
2012-06-01 15:23:17 +00:00
Yang Tse (27 Jul 2011)
- NTLM single-sign on adjustments (IV)
2012-06-01 15:23:17 +00:00
Fix compiler warning
2012-06-01 15:23:17 +00:00
- NTLM single-sign on adjustments (III)
2012-06-01 15:23:17 +00:00
Provide some error tracing and fix execl() calling.
2012-06-01 15:23:17 +00:00
- NTLM single-sign on adjustments (II)
2012-06-01 15:23:17 +00:00
Ensure test harness fake_ntlm main function can properly handle arguments.
2012-06-01 15:23:17 +00:00
- NTLM single-sign on adjustments (I)
2012-06-01 15:23:17 +00:00
Use fake_ntlm absolute filename in NTLM_AUTH environment variable for test
2005 definition.
2012-06-01 15:23:17 +00:00
Dan Fandrich (26 Jul 2011)
- Fixed test 2005 to work in out-of-tree builds
2015-01-23 15:30:59 +00:00
Also, set the test number in the test data file so fake_ntlm can
be reused in future tests.
2012-06-01 15:23:17 +00:00
Yang Tse (26 Jul 2011)
- fix compiler warning
2012-06-01 15:23:17 +00:00
- fix compiler warning
- stdio.h, stdlib.h, string.h, stdarg.h and ctype.h inclusion done in setup_once.h
2012-06-01 15:23:17 +00:00
- WIN32 io.h and fcntl.h inclusion done in setup_once.h
2012-06-01 15:23:17 +00:00
- time.h and sys/time.h inclusion conditionally done in setup_once.h
2012-06-01 15:23:17 +00:00
- errno.h inclusion conditionally done in setup_once.h - followup
2012-06-01 15:23:17 +00:00
- errno.h inclusion conditionally done in setup_once.h
2012-06-01 15:23:17 +00:00
Daniel Stenberg (22 Jul 2011)
- [Ben Winslow brought this change]
2012-06-01 15:23:17 +00:00
progress: reset flags at transfer start
2012-06-01 15:23:17 +00:00
When an easy handle is used to download an URI which has no
Content-Length header (or equivalent) after downloading an URI which
does, the value from the previous transfer is reused and returned by
CURLINFO_CONTENT_LENGTH_DOWNLOAD. This is because the progress flags
(used to determine whether such a header was received) are not reset
between transfers.
2012-06-01 15:23:17 +00:00
Bug: http://curl.haxx.se/bug/view.cgi?id=3370895
2012-06-01 15:23:17 +00:00
- RELEASE-NOTES: HTTP error handling on request body send
2012-06-01 15:23:17 +00:00
- http error response: stop sending when error is received
When libcurl has said to the server that there's a POST or PUT coming
(with a content-length and all) it has to either deliver that amount of
data or it needs to close the connection before trying a second request.
Adds test case 1129, 1130 and 1131
The bug report is about when used with 100-continue, but the change is
more generic.
2012-06-01 15:23:17 +00:00
Bug: http://curl.haxx.se/mail/lib-2011-06/0191.html
Reported by: Steven Parkes
2012-06-01 15:23:17 +00:00
- [Michael Mueller brought this change]
2012-06-01 15:23:17 +00:00
sso_ntlm_initiate: unassigned variable
2012-06-01 15:23:17 +00:00
Bug: http://curl.haxx.se/mail/lib-2011-07/0109.html
- test2005: require a debug build
2012-06-01 15:23:17 +00:00
- runtests: add 'debug' as a feature a test can require
2012-06-01 15:23:17 +00:00
- configure: avoid "test -e"
2015-01-23 15:30:59 +00:00
"test -e" is POSIX but clearly was not supported by the SunOS sh
version, -f is supported and should be a decent equivalent
Bug: http://curl.haxx.se/bug/view.cgi?id=3371574
2012-06-01 15:23:17 +00:00
- symbols-in-versions: add NTLM_SSO symbols
2012-06-01 15:23:17 +00:00
- gitignore: ignore fake_ntlm
2012-06-01 15:23:17 +00:00
- [Mandy Wu brought this change]
2012-06-01 15:23:17 +00:00
test2005: verify ntlm single-signon
2015-01-23 15:30:59 +00:00
- [Mandy Wu brought this change]
2012-06-01 15:23:17 +00:00
NTLM single-sign on supported
2012-06-01 15:23:17 +00:00
With the use of the 'ntlm_auth' tool from the Samba project
2012-06-01 15:23:17 +00:00
- sws: don't enable pipelining for requests with content-length
Log texts also modified and some white space edits
2012-06-01 15:23:17 +00:00
Patrick Monnerat (14 Jul 2011)
- Fix OS400 scripts to make it compilable again.
Upgrade ILE/RPG binding to 7.21.7.
Update OS400 documentation accordingly.
2012-06-01 15:23:17 +00:00
Daniel Stenberg (14 Jul 2011)
- runtests: ignore the 'all_proxy' environment variable as well
2012-06-01 15:23:17 +00:00
We should probably also make sure that [protocol]_proxy for all possible
protocols libcurl supports are unset.
Julien Chaffraix (13 Jul 2011)
- curl_gssapi: Guard files with HAVE_GSSAPI.
2012-06-01 15:23:17 +00:00
Bug: http://curl.haxx.se/mail/lib-2011-07/0074.html
Reported and fix suggested by: Ben Greear
Daniel Stenberg (13 Jul 2011)
- gssapi: rename our files to avoid conflicts
2012-06-01 15:23:17 +00:00
gssapi.h is used as a header name by Heimdal-style GSSAPI so it would
conflict with a private header using that name, and while renaming the
header I figured we should name the .c file accordingly as well.
2012-06-01 15:23:17 +00:00
Bug: http://curl.haxx.se/mail/lib-2011-07/0071.html
Reported by: Ben Greear
2012-06-01 15:23:17 +00:00
- silence picky compilers: mark unused parameters
Modern gcc versions (4.6.X) get more picky by default and have started
to warn for unused parameters, but luckily gcc also allows us to mark
them as unused so that we can avoid the warnings.
2012-06-01 15:23:17 +00:00
Julien Chaffraix (12 Jul 2011)
- gssapi.c: Simplified the function.
2012-06-01 15:23:17 +00:00
Removed the parameters that were common to all our invocation.
- Added Curl_gss_init_sec_context.
2012-06-01 15:23:17 +00:00
This function wraps our calls to gss_init_sec_context so that we
have a unified way to talk to GSSAPI.
2012-06-01 15:23:17 +00:00
- http_negociate: Be consistent in gss_init_sec_context attributes.
2012-06-01 15:23:17 +00:00
This change makes this callsite match the rest of the code.
2012-06-01 15:23:17 +00:00
Daniel Stenberg (4 Jul 2011)
- code style: space between close paren and open brace
2012-06-01 15:23:17 +00:00
- checksrc: detect open brace without space
2012-06-01 15:23:17 +00:00
We use "if(condition) {" with a space between the close paren and the
open brace.
2015-01-23 15:30:59 +00:00
- polarssl.h: remove CVS leftover
- help output: more gnu like output
First, the -J/--remote-header-name was wrongly sorted in the --help
output as pointed out in bug report #3349271.
Then, I changed the format of the texts to follow the man page better in
that it now uses "-A, --long" intead of "-A/--long". I also made all
additional arguments get written as in "-A, --long FILENAME" instead of
the previous "<filename>" style.
Reported by: Herve Amblard
Bug: http://curl.haxx.se/bug/view.cgi?id=3349271
2012-06-01 15:23:17 +00:00
- sws: allow multiple commands in <servercmd>
2012-06-01 15:23:17 +00:00
- Curl_http_readwrite_headers: minor indent fix
2012-06-01 15:23:17 +00:00
- gitignore: config.cache
2012-06-01 15:23:17 +00:00
- docs: FTP quotes support '*' prefix to ignore errors
2012-06-01 15:23:17 +00:00
By default libcurl stops processing quote commands on failures.
2012-06-01 15:23:17 +00:00
- THANKS: new contributors from 7.21.7
2012-06-01 15:23:17 +00:00
- get_gss_name: proxy auth without proxy set equals error
Previously it would access a NULL pointer and die.
Bug: http://curl.haxx.se/mail/lib-2011-06/0170.html
Reported by: Christian Hagele
2012-06-01 15:23:17 +00:00
- examples: cleanup curl includes
Only <curl/curl.h> is needed typically and curl/types.h has been removed
2012-06-01 15:23:17 +00:00
- libtests: stop checking for CURLM_CALL_MULTI_PERFORM
2012-06-01 15:23:17 +00:00
CURLM_CALL_MULTI_PERFORM stopped being a valid return code from
curl_multi_perform back in 7.20.0. All the libcurl tests are ajusted to
this and no longer check for this return code. Makes them simpler.
2012-06-01 15:23:17 +00:00
Dan Fandrich (24 Jun 2011)
- Fixed test 1300 to pass the memory torture test
2012-06-01 15:23:17 +00:00
Tom Wright (24 Jun 2011)
- looks like this should be static, not dll
2012-06-01 15:23:17 +00:00
Dan Fandrich (23 Jun 2011)
- Display notes from setup file in testcurl.pl
2012-06-01 15:23:17 +00:00
Autobuild submitters can use this to add some text to their
setup files to describe issues they've found with the build
or tests. This could include laying blame on test failures on
network issues or dependent libraries, explaining away compiler
warnings or providing any additional information that could be
useful to people reviewing and investigating problems with the
publicly available autobuild logs. Note that persistent test
failures that are not issues with curl itself should normally be
fixed by excluding them from the test run instead.
2012-06-01 15:23:17 +00:00
This is an entirely optional field that is not entered by the
user the first time a new build is created.
2012-06-01 15:23:17 +00:00
- Added a leap second test to test517
2012-06-01 15:23:17 +00:00
Daniel Stenberg (23 Jun 2011)
- runtests.pl: warn if a test is explicitly disabled
2015-01-23 15:30:59 +00:00
Just to make sure a user is aware of it.
2012-06-01 15:23:17 +00:00
- bump release: start working towards 7.21.8
2012-06-01 15:23:17 +00:00
- parsedate: detect more invalid dates better
2012-06-01 15:23:17 +00:00
Version 7.21.7 (23 Jun 2011)
2012-06-01 15:23:17 +00:00
Daniel Stenberg (23 Jun 2011)
- curl_formfree: clarify which pointer to free
2012-06-01 15:23:17 +00:00
- RELEASE-NOTES: mention security issue 20110623
2012-06-01 15:23:17 +00:00
libcurl inappropriate GSSAPI delegation. Full details at
http://curl.haxx.se/docs/adv_20110623.html
- RELEASE-NOTES: synced with 9016958aa8989
2012-06-01 15:23:17 +00:00
- Curl_input_negotiate: do not delegate GSSAPI credentials
2012-06-01 15:23:17 +00:00
This is a security flaw. See curl advisory 20110623 for details.
2012-06-01 15:23:17 +00:00
Reported by: Richard Silverman
2012-06-01 15:23:17 +00:00
- [Josue Andrade Gomes brought this change]
2012-06-01 15:23:17 +00:00
windows build: use correct MS CRT
2015-01-23 15:30:59 +00:00
- Merge pull request #23 from salty-horse/pop3_list_space
2012-06-01 15:23:17 +00:00
[pop3] remove extra space in LIST command
Ori Avtalion (21 Jun 2011)
- [pop3] remove extra space in LIST command
2015-01-23 15:30:59 +00:00
Some servers, e.g. mail.bezeqint.net:110, consider it a syntax error
2012-06-01 15:23:17 +00:00
Yang Tse (21 Jun 2011)
- http: fix compiler warning
compiler warning: conditional expression is constant
2012-06-01 15:23:17 +00:00
- asyn-thread: fix compiler warning
compiler warning: variable is initialized but not referenced
2012-06-01 15:23:17 +00:00
- cmake: remove spurious definition
2012-06-01 15:23:17 +00:00
Daniel Stenberg (21 Jun 2011)
- FAQ: more blurb on persistent connections
2012-06-01 15:23:17 +00:00
Yang Tse (21 Jun 2011)
- xc-translit.m4 fix quoting
2012-06-01 15:23:17 +00:00
Daniel Stenberg (20 Jun 2011)
- INSTALL: mention the GIT-INFO file
2012-06-01 15:23:17 +00:00
Dan Fandrich (20 Jun 2011)
- Added LOCAL_MODULE_TAGS to support Android gingerbread
2012-06-01 15:23:17 +00:00
Daniel Stenberg (19 Jun 2011)
- [Amr Shahin brought this change]
2012-06-01 15:23:17 +00:00
unitteset: Curl_llist_move
adding unit test for Curl_llist_move, documenting unit-tested functions
in llist.c, changing unit-test to unittest, replacing assert calls with
abort_unless calls
2012-06-01 15:23:17 +00:00
- CURLFORM_STREAM: acknowledge CURLFORM_FILENAME
2015-01-23 15:30:59 +00:00
The CURLFORM_STREAM is documented to only insert a file name (and thus
look like a file upload) in the part if CURLFORM_FILENAME is set, but in
reality it always inserted a filename="" and if CURLFORM_FILENAME wasn't
set, it would insert insert rubbish (or possibly crash).
2015-01-23 15:30:59 +00:00
This is now fixed to work as documented, and test 554 has been extended
to verify this.
Reported by: Sascha Swiercy
Bug: http://curl.haxx.se/mail/lib-2011-06/0070.html
2012-06-01 15:23:17 +00:00
Yang Tse (17 Jun 2011)
- configure: avoid direct usage of AS_TR_* macros
2012-06-01 15:23:17 +00:00
- xc-translit.m4 provides transliteration macros with well defined behavior.
2012-06-01 15:23:17 +00:00
Daniel Stenberg (14 Jun 2011)
- RELEASE-NOTES: add more contributors for this release
2012-06-01 15:23:17 +00:00
- RELEASE-NOTES: synced with 0aedccc18a33a778535
- curl_formget: fix FILE * leak
2015-01-23 15:30:59 +00:00
Properly deal with the fact that the last fread() call most probably is
a short read, and when using callbacks in fact all calls can be short
reads. No longer consider a file read done until it returns a 0 from the
read function.
2015-01-23 15:30:59 +00:00
Reported by: Aaron Orenstein
Bug: http://curl.haxx.se/mail/lib-2011-06/0048.html
2012-06-01 15:23:17 +00:00
- curl_formget: treat CURLFORM_STREAM better
If a piece is set to use a callback to get the data, it should not be
treated as data. It unfortunately also requires that curl_easy_perform()
or similar has been used as otherwise the callback function hasn't been
figured out and curl_formget won't know how to get the content.
2015-01-23 15:30:59 +00:00
- curl_formget.3: CURLFORM_STREAM has its drawbacks
Due to a design flaw, the CURLFORM_STREAM option doesn't really work
with curl_formget until after curl_easy_perform (or similar).
2015-01-23 15:30:59 +00:00
- FAQ: binding clarification
2012-06-01 15:23:17 +00:00
We don't author the bindings, they are created outside the main project.
2012-06-01 15:23:17 +00:00
Dan Fandrich (11 Jun 2011)
- Added http as a dependency of test 1308
2012-06-01 15:23:17 +00:00
Daniel Stenberg (12 Jun 2011)
- test1309: added to the dist
2012-06-01 15:23:17 +00:00
- write: add return code checks when used
2012-06-01 15:23:17 +00:00
These were just warnings in test code but it still makes it nicer to not
generate them.
2012-06-01 15:23:17 +00:00
- long/int mess
2012-06-01 15:23:17 +00:00
Typecast when converting to int from long to avoid some compiler warnings
2012-06-01 15:23:17 +00:00
Yang Tse (11 Jun 2011)
- configure: OpenSSL API detection cleanup
2012-06-01 15:23:17 +00:00
Dan Fandrich (11 Jun 2011)
- Fixed test 1309 to pass the torture test
2012-06-01 15:23:17 +00:00
Removing dynamic allocations also simplifies the test.
2012-06-01 15:23:17 +00:00
Daniel Stenberg (10 Jun 2011)
- splay: add unit tests
2012-06-01 15:23:17 +00:00
The test code that was #ifdef'ed in the code was converted into unit
tests in test case 1309. I also removed the #if 0'ed code from splay.c
2012-06-01 15:23:17 +00:00
- unittest: mark all unit tested functions
2012-06-01 15:23:17 +00:00
With "@unittest: [num]" in the header comment for each tested function.
Shows we have a log way to go still...
2012-06-01 15:23:17 +00:00
- CURLOPT_WRITEHEADER: clarify the docs
2012-06-01 15:23:17 +00:00
- unit test formpost: added test case 1308
2012-06-01 15:23:17 +00:00
This is a few first rather basic tests of curl_formadd() and
curl_formget(). Should serve as building blocks to add more variations
to the test.
2012-06-01 15:23:17 +00:00
Yang Tse (9 Jun 2011)
- configure: warn if OpenSSL headers and library versions don't match
2012-06-01 15:23:17 +00:00
- configure: get API info for a couple of OpenSSL functions (followup 2)
2012-06-01 15:23:17 +00:00
- configure: get API info for a couple of OpenSSL functions (followup 1)
2012-06-01 15:23:17 +00:00
- configure: fix recvfrom 5th arg type qualifier detection (followup)
2012-06-01 15:23:17 +00:00
- configure: fix recvfrom 5th arg type qualifier detection
2012-06-01 15:23:17 +00:00
Kamil Dudka (8 Jun 2011)
- disconnect: wipe out the keeps_speed time stamp
2012-06-01 15:23:17 +00:00
When closing a connection, the speedchecker's timestamp is now deleted
so that it cannot accidentally be used by a fresh connection on the same
handle when examining the transfer speed.
2012-06-01 15:23:17 +00:00
Bug: https://bugzilla.redhat.com/679709
2012-06-01 15:23:17 +00:00
Yang Tse (7 Jun 2011)
- urldata: use uniform inclusion style for OpenSSL headers
2012-06-01 15:23:17 +00:00
Daniel Stenberg (7 Jun 2011)
- HTTP time condition: force closure for 200 OK
2012-06-01 15:23:17 +00:00
When a time condition isn't met, so that no body is delivered to the
application even though a 2xx response is being read from the server, we
must close the connection to avoid a re-use of the connection to be
completely tricked.
2012-06-01 15:23:17 +00:00
Added test 1128 to verify.
2012-06-01 15:23:17 +00:00
- RELEASE-NOTES: synced with b772f3a32146d7d
2012-06-01 15:23:17 +00:00
Yang Tse (6 Jun 2011)
- configure: get API info for a couple of OpenSSL functions
2012-06-01 15:23:17 +00:00
Daniel Stenberg (5 Jun 2011)
- wait_ms: takes an int argument
2012-06-01 15:23:17 +00:00
Typecasts added since I changed more code to use long for timeouts
2012-06-01 15:23:17 +00:00
- Curl_socket_ready: make timeout a 'long'
2012-06-01 15:23:17 +00:00
It was mostly typecasted to int all over the code so switching to long
instead all over should be a net gain.
2012-06-01 15:23:17 +00:00
Yang Tse (4 Jun 2011)
- xlc: avoid preprocessor definition usage when linking
2012-06-01 15:23:17 +00:00
- unit tests: disable unit tests for a given cross-compilation configuration.
2012-06-01 15:23:17 +00:00
cross-compilation of unit tests static library/programs fails when
libcurl shared library is also built. This might be due to a libtool or
automake issue. In this case we disable unit tests.
2012-06-01 15:23:17 +00:00
Daniel Stenberg (3 Jun 2011)
- cookie_output: made private
2012-06-01 15:23:17 +00:00
- digest_cleanup_one: made private
2012-06-01 15:23:17 +00:00
- privatise: make private functions static
2012-06-01 15:23:17 +00:00
- Curl_fileinfo_dup: removed, not used
2012-06-01 15:23:17 +00:00
- parsedate: turn private and static
2015-01-23 15:30:59 +00:00
I removed the prefix as well accordingly.
2012-06-01 15:23:17 +00:00
Dan Fandrich (2 Jun 2011)
- curl hasn't sent a Pragma: header by default for a while
2012-06-01 15:23:17 +00:00
Yang Tse (2 Jun 2011)
- unit tests: attempt to fix linkage issue
2012-06-01 15:23:17 +00:00
- urlglob: fix zero size malloc
- Remove unnecessary typecast
2012-06-01 15:23:17 +00:00
- compiler warning: fix
2012-06-01 15:23:17 +00:00
Fix compiler warning: cast increases required alignment
2012-06-01 15:23:17 +00:00
- unit tests: make unit tests building actually depend on --enable-debug option.
2012-06-01 15:23:17 +00:00
- OpenSSL enabled: require OPENSSL_VERSION_NUMBER definition before usage.
2012-06-01 15:23:17 +00:00
- unit tests: more build adjustments
2012-06-01 15:23:17 +00:00
Daniel Stenberg (1 Jun 2011)
- CURLOPT_WILDCARDMATCH: minor style edit
2012-06-01 15:23:17 +00:00
Due to some flaw in roffit I removed some style changes to make the web
page look better.
2012-06-01 15:23:17 +00:00
Yang Tse (1 Jun 2011)
- makefile: avoid preprocessor definition usage when linking
2012-06-01 15:23:17 +00:00
- warnless: icc 9.1 workaround
2012-06-01 15:23:17 +00:00
Daniel Stenberg (31 May 2011)
- testcurl.pl: allow configure args to use '='
2012-06-01 15:23:17 +00:00
Yang Tse (30 May 2011)
- Makefile.am: fix spurious CFLAGS duplication
2012-06-01 15:23:17 +00:00
Dan Fandrich (30 May 2011)
- Removed types.h from Android makefile
2012-06-01 15:23:17 +00:00
Daniel Stenberg (30 May 2011)
- configure.ac: skip /dev/urandom check when cross-compiling
Bug: http://curl.haxx.se/bug/view.cgi?id=3307835
2012-06-01 15:23:17 +00:00
Yang Tse (29 May 2011)
- main: fix header inclusion order
Currently, Windows cross-compiled autobuilds require inclusion of setup.h
before curl.h to get definitions of CURL_STATICLIB and BUILDING_LIBCURL.
2012-06-01 15:23:17 +00:00
- main: fix header inclusion order
2012-06-01 15:23:17 +00:00
- distribution: Fix EXTRA_DIST letter case
2012-06-01 15:23:17 +00:00
Daniel Stenberg (27 May 2011)
- curl_easy_setopt.3: NOPROGRESS also affects the callback
2012-06-01 15:23:17 +00:00
Yang Tse (27 May 2011)
- warnless: header inclusion fix
2012-06-01 15:23:17 +00:00
- Make checksrc.pl work on more out-of-tree builds
2012-06-01 15:23:17 +00:00
Source files given with relative paths do not have the
-D directory specifier prepended.
2012-06-01 15:23:17 +00:00
- compiler warning: fix
2015-01-23 15:30:59 +00:00
Fix compiler warning: conversion may lose significant bits
2012-06-01 15:23:17 +00:00
- socks: fix unaligned memory access
2015-01-23 15:30:59 +00:00
- compiler warning: fix
2012-06-01 15:23:17 +00:00
Fix compiler warning: variable was set but never used
2012-06-01 15:23:17 +00:00
Fix compiler warning: clobber ignored
2012-06-01 15:23:17 +00:00
- unit tests: build adjustment
2012-06-01 15:23:17 +00:00
Also define UNITTESTS macro when building unit test sources.
2012-06-01 15:23:17 +00:00
Fixing compiler warning: external definition with no prior declaration
2012-06-01 15:23:17 +00:00
Daniel Stenberg (25 May 2011)
- create_conn: only switch protocol handler if necessary
When switching to HTTP because a HTTP proxy is being used, the existing
handler is now checked if it already is "compatible". This allows the https
handler remain while other non-http handlers will be redirected.
Bug: http://curl.haxx.se/mail/lib-2011-05/0214.html
Reported by: Jerome Robert
2012-06-01 15:23:17 +00:00
- setopt.3: remove leftover style change
2012-06-01 15:23:17 +00:00
- setopt.3: CURLOPT_WRITEFUNCTION had wrong function proto
2012-06-01 15:23:17 +00:00
Yang Tse (25 May 2011)
- compiler warning: fix followup
2012-06-01 15:23:17 +00:00
Fix compiler warning: variable was set but never used
2012-06-01 15:23:17 +00:00
Fix compiler warning: clobber ignored
2012-06-01 15:23:17 +00:00
- unit tests: README, adjust header inclusion order
2012-06-01 15:23:17 +00:00
- compiler warning: fix
2012-06-01 15:23:17 +00:00
Fix compiler warning: variable was set but never used
2012-06-01 15:23:17 +00:00
Fix compiler warning: clobber ignored
- compiler warning: fix
2012-06-01 15:23:17 +00:00
Fix compiler warning: external definition with no prior declaration
2012-06-01 15:23:17 +00:00
- compiler warning: fix
2012-06-01 15:23:17 +00:00
Fix compiler warning: external definition with no prior declaration
2012-06-01 15:23:17 +00:00
- compiler warning: fix
Fix compiler warning: argument is incompatible with corresponding format
string conversion
2012-06-01 15:23:17 +00:00
- build: inclusion guard
2012-06-01 15:23:17 +00:00
Enclose header file in an inclusion guard
2012-06-01 15:23:17 +00:00
- compiler warning: fix
Fix compiler warning: expression has no effect
2012-06-01 15:23:17 +00:00
- compiler warning: fix
Fix compiler warning: `keycheck' might be used uninitialized in this function.
Fix compiler warning: `keybit' might be used uninitialized in this function.
2012-06-01 15:23:17 +00:00
- compiler warning: fix
Fix variable declaration placement
2012-06-01 15:23:17 +00:00
- compiler warning: fix
Fix missing semicolon
2012-06-01 15:23:17 +00:00
- compiler warning: fix
Fix compiler warning: expression has no effect
2012-06-01 15:23:17 +00:00
Fix OOM handling
2012-06-01 15:23:17 +00:00
- compiler warning: fix
2012-06-01 15:23:17 +00:00
Fix compiler warning: expression has no effect
2012-06-01 15:23:17 +00:00
- compiler warning: fix
Fix compiler warning: unused variable 'data'
2012-06-01 15:23:17 +00:00
- compiler warning: fix
Fix compiler warning: enumerated type mixed with another type
2012-06-01 15:23:17 +00:00
- compiler warning: fix
Fix compiler warning: enumerated type mixed with another type
2012-06-01 15:23:17 +00:00
- compiler warning: fix
Fix compiler warning: enumerated type mixed with another type
2012-06-01 15:23:17 +00:00
- compiler warning: fix
2012-06-01 15:23:17 +00:00
Fix compiler warning: enumerated type mixed with another type
2015-01-23 15:30:59 +00:00
- compiler warning: fix
Fix compiler warning: enumerated type mixed with another type
2015-01-23 15:30:59 +00:00
- compiler warning: fix
Fix compiler warning: empty body in an if-statement
2015-01-23 15:30:59 +00:00
- unit tests: adjust header inclusion order
Additionally, prevent multiple inclusions of curl_config.h
2012-06-01 15:23:17 +00:00
Daniel Stenberg (20 May 2011)
- Merge pull request #19 from pierrejoye/master
winbuild: typo in docs
2012-06-01 15:23:17 +00:00
- [Ola Mork brought this change]
2012-06-01 15:23:17 +00:00
cyassl: build without filesystem
Get cyassl's NO_FILESYSTEM to work with libcurl. Otherwise I'd get linker
errors for the missing "SSL_CTX_load_verify_locations" functions.
2015-01-23 15:30:59 +00:00
Pierre Joye (20 May 2011)
- - typo
2015-01-23 15:30:59 +00:00
Daniel Stenberg (19 May 2011)
- typo: close is in man page section 3
2015-01-23 15:30:59 +00:00
Yang Tse (19 May 2011)
- tests: verify OPEN/CLOSESOCKETFUNCTION
2012-06-01 15:23:17 +00:00
Test 585: Fix opensocket return type, and avoid function name clash.