aboutsummaryrefslogtreecommitdiff
AgeCommit message (Collapse)Author
2011-10-03share: don't use SSL unless enabledDaniel Stenberg
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.
2011-10-02multi: progress function abort must close connectionDaniel Stenberg
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. 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. Bug: http://curl.haxx.se/mail/lib-2011-10/0006.html Reported by: Vladimir Grishchenko
2011-09-30tutorial: clarify the handle sharing when treadedDaniel Stenberg
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
2011-09-30multi_runsingle: change state on callback abortDaniel Stenberg
Reported by: Marcin Adamski Bug: http://curl.haxx.se/mail/lib-2011-09/0329.html
2011-09-30curl tool: fix some more OOM handlingYang Tse
2011-09-30Fix SSL disabled builds broken with 'SSL session sharing' commit 5793bc37Yang Tse
2011-09-29smtp_mail: fix memory leakDaniel Stenberg
... introduced in 7f304ab84f560c
2011-09-29smtp_mail: Added support to MAIL FROM for the optional SIZE parameterSteve Holme
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.
2011-09-29curlverh.h: next release will be 7.23.0Daniel Stenberg
2011-09-29RELEASE-NOTES: synced with 5898a6a09b211fc7e2Daniel Stenberg
Bumped next release version to become 7.23.0 for the changes
2011-09-28curl_easy_setopt: Added scp and sftp to the URL sectionDan Fandrich
2011-09-28curl_easy_setopt: A brief tidy upSteve Holme
Slight rewording of the CURLOPT_URL SMTP sub-section. Corrected the incorrect use of hyphens on the three uses of "zero-terminated" with "zero terminated" to match the rest of the document. Corrected the use of an out of place hyphen in CURLOPT_NOPROXY section.
2011-09-28configure openssl version check: handle lack of L suffixDaniel Stenberg
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.
2011-09-28SSL session sharing support addedAlejandro Alvarez
With locking, plus test, plus documentation
2011-09-28curl tool: adjust header callback single call write limit warningYang Tse
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.
2011-09-28multi docs: extended the multi_socket API descriptionDaniel Stenberg
2011-09-27tests/README: extended and reformattedDaniel Stenberg
2011-09-27configure - m4: make CURL_CHECK_DEF ignore leading whitespace on symbol defAlbert Chin
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.
2011-09-27Added SPNEGO to NetWare build.Guenter Knauf
2011-09-26curl tool: fix a compiler warningYang Tse
2011-09-26curl tool: fix some OOM handling - f4853db5 follow-upYang Tse
2011-09-26curl tool: fix some OOM handlingYang Tse
2011-09-26remove short-lived CURL_WRITEFUNC_OUT_OF_MEMORYYang Tse
2011-09-26Added unsigned char* to _curl_is_debug_cb.Guenter Knauf
2011-09-26smtp_connect: use defined buffer length for hostnameSteve Holme
2011-09-25Curl_ntlm_create_type3_message: Tidied up the use of Curl_gethostname.Steve Holme
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. 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.
2011-09-25HOSTNAME_MAX: Moved to curl_gethostname.hSteve Holme
Moved HOSTNAME_MAX #define into curl_gethostname.h rather than being locally defined in curl_gethostname.c, curl_ntlm_msgs.c and smtp.c.
2011-09-25RELEASE-NOTES: synced with d2a47021c0a6Daniel Stenberg
2011-09-25Q&D fix header inclusion orderYang Tse
2011-09-25allow write callbacks to indicate OOM to libcurlYang Tse
Allow (*curl_write_callback) write callbacks to return CURL_WRITEFUNC_OUT_OF_MEMORY to properly indicate libcurl of OOM conditions inside the callback itself.
2011-09-25Changed some main makefile targets.Guenter Knauf
2011-09-25curl_multi_fdset: avoid FD_SET out of boundsDaniel Stenberg
If a socket is larger than FD_SETSIZE, avoid using FD_SET() on the platforms where this is possible. Bug: http://curl.haxx.se/bug/view.cgi?id=3413274 Reported by: Tim Starling
2011-09-25Fixed MinGW examples makefile.Guenter Knauf
2011-09-25NetWare makefile tweaks to select different builds.Guenter Knauf
2011-09-25POST: always set postfieldsizeDaniel Stenberg
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. Bug: http://curl.haxx.se/bug/view.cgi?id=3413181 Reported by: Taneli Vähäkangas
2011-09-24curl tool: fix a compiler warningYang Tse
2011-09-24curl tool: reviewed code moved to tool_*.[ch] filesYang Tse
2011-09-24Added header to be included by dist script.Guenter Knauf
Probably the wrong place, but I dont know better.
2011-09-24curl tool: fix some OOM handling issuesYang Tse
2011-09-24http header: allow Content-Length to be replacedDaniel Stenberg
In some cases Content-Length: couldn't be replaced by an application Also, indented some code properly
2011-09-23MinGW64 has this prototype already.Guenter Knauf
2011-09-23Fixed scanf format for WORD = unsigned short.Guenter Knauf
2011-09-23Added Win32-only samples.Guenter Knauf
2011-09-23Added a workaround for printing size_t.Guenter Knauf
2011-09-22Curl_pgrsStartNow: keep HEADERS_OUT setDaniel Stenberg
To avoid that the progress meter headers get output between each transfer, make sure the bits gets kept when (re-)inited. Reported by: Christopher Stone
2011-09-22curl tool: fix some OOM handling issuesYang Tse
2011-09-22curl tool: reviewed code moved to tool_*.[ch] filesYang Tse
my_setopt and my_setopt_str no longer ignores curl_easy_setopt result. Fixed some OOM handling issues.
2011-09-22Added NetWare examples makefile.Guenter Knauf
2011-09-22NTLM_WB: fix disabling of NTLM_WB when NTLM is disabledYang Tse
2011-09-21test 814: smtp without --mail-fromDaniel Stenberg
Verifies the fix from commit 322f3d5af7093