aboutsummaryrefslogtreecommitdiff
AgeCommit message (Collapse)Author
2011-04-18transfer-encoding: document the optionsDaniel Stenberg
The new libcurl and command line options are now described.
2011-04-18transfer-encoding: added new option and cmdlineDaniel Stenberg
Added CURLOPT_TRANSFER_ENCODING as the option to set to request Transfer Encoding in HTTP requests (if built zlib enabled). I also renamed CURLOPT_ENCODING to CURLOPT_ACCEPT_ENCODING (while keeping the old name around) to reduce the confusion when we have to encoding options for HTTP. --tr-encoding is now the new command line option for curl to request this, and thus I updated the test cases accordingly.
2011-04-18CURLE_BAD_CONTENT_ENCODING: now used for transfer encoding tooDaniel Stenberg
2011-04-18TE: do the Connection: headerDaniel Stenberg
When TE: is inserted in the request, we must add a "Connection: TE" as well to be HTTP 1.1 compliant. If a custom Connection: header is passed in, we must use that and only append TE to it. Test case 1125 verifies TE: + custom Connection:.
2011-04-18test1124: verify gzip AND chunked transfer-encodingDaniel Stenberg
2011-04-18TE: rename struct field content_encodingDaniel Stenberg
Since this struct member is used in the code to determine what and how to decode automatically and since it is now also used for compressed Transfer-Encodings, I renamed it to the more suitable 'auto_decoding'
2011-04-18HTTP: add support for gzip and deflate Transfer-EncodingDaniel Stenberg
Transfer-Encoding differs from Content-Encoding in a few subtle ways, but primarily it concerns the transfer only and not the content so when discovered to be compressed we know we have to uncompress it. There will only arrive compressed transfers in a response after we have requested them with the appropriate TE: header. Test case 1122 and 1123 verify.
2011-04-18OS400 pragma comment: replace (date) by (user, __DATE__) to include year.Patrick Monnerat
2011-04-18Augment RPG binding with "OLDIES" definitions.Patrick Monnerat
Fix OS400 LDAP wrappers: strings were non null-terminated.
2011-04-18curl-config: fix --versionDaniel Stenberg
curl-config --version didn't output the correct version string (bug introduced in commit 0355e33b5f7b234cf3), and unfortunately the test case 1022 that was supposed to check for this was broken. This change fixes the test to detect this problem and it fixes the output. Bug: http://curl.haxx.se/bug/view.cgi?id=3288727
2011-04-17RELEASE-NOTES: updated contributor amountDaniel Stenberg
2011-04-17THANKS: 11 new contributors from 7.21.5Daniel Stenberg
2011-04-177.21.6: next planned release numberDaniel Stenberg
2011-04-17base64.c: removed wrong commentDaniel Stenberg
2011-04-17INTERNALS: clean upDaniel Stenberg
Clarified the release procedure
2011-04-16TODO-RELEASE: push the remaining ones to next releaseDaniel Stenberg
As we're closing in on the release, I give up on the remaining ones but I leave them in here for now to try to fix for next release. I removed the 281 issue about warnings from the statical analyzer scans, as they seem to be mostly false positives at this point.
2011-04-16RELEASE-NOTES: synced with c246f63a71Daniel Stenberg
2011-04-16Curl_ssl_shutdown: restore send/recv pointersDaniel Stenberg
When going back from SSL, put the send/recv function pointers back to the plain versions. Bug: http://curl.haxx.se/mail/lib-2011-04/0070.html Reported by: Mehmet Bozkurt
2011-04-16Changed email per Gisle's request.Guenter Knauf
2011-04-14curl.1: error code updateDaniel Stenberg
Error 4 has got a meaning Error 48 has got a slightly different meaning now
2011-04-14FAQ: c-ares does ipv6 pretty well nowDaniel Stenberg
2011-04-14Fix a buffer overflow in pubkey_show().Andrei Benea
2011-04-14Replaced var manipulations with perlish hacks.Guenter Knauf
2011-04-12Updated minimum binary sizesDan Fandrich
2011-04-12configure: libssh2 link fix without pkg-configDaniel Stenberg
The script didn't properly add the -lssh2 link option when it enabled libssh2 linking where pkg-config isn't found. Reported by: Saqib Ali Bug: http://curl.haxx.se/mail/lib-2011-04/0054.html
2011-04-11RELEASE-NOTES: synced with f01df197981Daniel Stenberg
2011-04-11checkconnection: don't call with NULL pointerDaniel Stenberg
When checking if an existing RTSP connection is alive or not, the checkconnection function might be called with a SessionHandle pointer being NULL and then referenced causing a crash. This happened only using the multi interface. Reported by: Tinus van den Berg Bug: http://curl.haxx.se/bug/view.cgi?id=3280739
2011-04-11curl.1: spell out the -O target directoryDaniel Stenberg
When using -O the file will be saved in the current directory, and this is now spelled out clearly.
2011-04-10OpenSSL: no-sslv2 awareDaniel Stenberg
Allow openSSL without SSL2 to be used. This fix is inspired by the fix provided by Cristian Rodríguez. Reported by: Cristian Rodríguez
2011-04-09curl_easy_setopt.3: CURLOPT_RESOLVE typo versionDaniel Stenberg
Reported by: Hongli Lai
2011-04-08nss: allow to use multiple client certificates for a single hostKamil Dudka
In case a client certificate is used, invalidate SSL session cache at the end of a session. This forces NSS to ask for a new client certificate when connecting second time to the same host. Bug: https://bugzilla.redhat.com/689031
2011-04-07mk-ca-bundle.pl: show full URL in outputDaniel Stenberg
When I decided to search for a potential error with the cacert bundle it struck me I wanted to see the full source URL in the output...
2011-04-07Added mention of FTP proxiesDan Fandrich
2011-04-07src/Makefile.b32: updatesGisle Vanem
* Rename the object object directory from 'objs' to 'BCC_obj' to be in sync with my previous patch for lib/Makefile.b32. * Turn off these warnings to keep the build totally silent (with CBuilder-6 that is). -w-inl 8026 Functions X are not expanded inline. -w-pia 8060 Possibly incorrect assignment -w-pin 8061 Initialization is only partially bracketed (same added in src/Makefile.b32) * $(MKDIR) and $(RMDIR) have been replaced with the shell-commands 'md' and 'rd'. When having MingW/Msys programs 'mkdir.exe' and 'rmdir.exe' in $PATH, this confuses Borland's make and the result (the cleaning etc.) would not be as expected. * Removed the preprocessing step; no need for PP_CMD and the .int files. curl.exe builds fine w/o and the makefile gets simpler. * Added a target for creating a compressed hugehelp.c if WITH_ZLIB is defined. It assumes groff, gzip and perl is available if such an "advanced" users requests it. Okay? BTW. My groff and Perl needs unix-slashes ('/'). Other perls should handle both forms ('/' and '\').
2011-04-07lib/Makefile.b32: updatesGisle Vanem
* Rename the object object directory from 'objs' to 'BCC_obj'. I feel it should be named properly. Ref. Makefile.Watcom where it's called 'WC_Win32.obj'. * Turn off these warnings to keep the build totally silent (with CBuilder-6 that is). -w-inl 8026 Functions X are not expanded inline. -w-pia 8060 Possibly incorrect assignment -w-pin 8061 Initialization is only partially bracketed I'm sure the warnings could be fixed the "proper" way or with some added "#pragma" statements. But that just clutters the sources IMHO. * $(MKDIR) and $(RMDIR) have been replaced with the shell-commands 'md' and 'rd'. When having MingW/Msys programs 'mkdir.exe' and 'rmdir.exe' in $PATH, this confuses Borland's make and the result (the cleaning etc.) would not be as expected. * Added a ".path.int = $(OBJDIR)" to tell make where the $(PREPROCESSED) files are. Why we need the preprocess step in the fist place is beyond me (Yang?). But I'll leave that for now.
2011-04-07examples/makefile.dj: update emailGisle Vanem
2011-04-07TODO-RELEASE: deleted 4 issuesDaniel Stenberg
These problems have gotten no interest/feedback from users: -275 - Introduce a way to avoid sending USER for FTP connections -288 - bug 3219997 curl rtmp request curl: (55) select/poll returned error This problem is rather an autoconf bug with little user interest and it can be worked around with an older autoconf: -278 - "Configure $as_echo does not work" This problem is not fixed: -286 - bug 3214223 Pipelined HTTP requests with a zero-length body broken
2011-04-07HTTP pipelining: Fix handling of zero-length responsesChris Smowton
Also add test case 584 for the same Bug: http://curl.haxx.se/bug/view.cgi?id=3214223
2011-04-06libcurl.pc: version number fixDaniel Stenberg
This hasn't show the version number correctly since the $VERSION change in the configure, and now it works again.
2011-04-05Changed some nonportable typesDan Fandrich
2011-04-05Don't list NTLM in curl-config when HTTP is disabledDan Fandrich
Also, fixed Curl_proxyCONNECT() stub with HTTP disabled.
2011-04-05Fixed compatibility macro CURLE_URL_MALFORMAT_USERDan Fandrich
2011-04-05return code cleanup: build, init and run-time errorsDaniel Stenberg
Stop the abuse of CURLE_FAILED_INIT as return code for things not being init related by introducing two new return codes: CURLE_NOT_BUILT_IN and CURLE_UNKNOWN_OPTION CURLE_NOT_BUILT_IN replaces return code 4 that has been obsoleted for several years. It is used for returning error when something is attempted to be used but the feature/option was not enabled or explictitly disabled at build-time. Getting this error mostly means that libcurl needs to be rebuilt. CURLE_FAILED_INIT is now saved and used strictly for init failures. Getting this problem means something went seriously wrong, like a resource shortage or similar. CURLE_UNKNOWN_OPTION is the option formerly known as CURLE_UNKNOWN_TELNET_OPTION (and the old name is still present, separately defined to be removed in a very distant future). This error code is meant to be used to return when an option is given to libcurl that isn't known. This problem would mostly indicate a problem in the program that uses libcurl.
2011-04-05FTP+proxy: macrofied functions when proxy disabledDaniel Stenberg
In my attempts to reduce #ifdefs in code, the SOCKS functions are now macros when libcurl is built without proxy support and therefore the FTP code could avoid some #ifs.
2011-04-05RELEASE-NOTES: synced with db59b6202d8Daniel Stenberg
2011-04-05[pop3 starttls] PASS command was not sent after upgrade to TLS.Ben Noordhuis
2011-04-05[pop3 starttls] the command to send is STLS, not STARTTLS.Ben Noordhuis
2011-04-04Added http_proxy.c to the Symbian build filesDan Fandrich
2011-04-04http-proxy: move proxy code to http_proxy.cDaniel Stenberg
The new http_proxy.* files now host HTTP proxy specific code (500+ lines moved out from http.c), and as a consequence there is a macro introduced for the Curl_proxyCONNECT() function so that code can use it without actually supporting proxy (or HTTP) in builds.
2011-04-04disable cookies: remove ifdefs, move codeDaniel Stenberg
1 - make sure to #define macros for cookie functions in the cookie header when cookies are disabled to avoid having to use #ifdefs in code using those functions. 2 - move cookie-specific code to cookie.c and use the functio conditionally as mentioned in (1). net result: 6 #if lines removed, and 9 lines of code less