aboutsummaryrefslogtreecommitdiff
path: root/src
AgeCommit message (Collapse)Author
2011-09-26curl tool: fix some OOM handlingYang Tse
2011-09-26remove short-lived CURL_WRITEFUNC_OUT_OF_MEMORYYang 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-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-24curl tool: fix some OOM handling issuesYang Tse
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-21curl tool: make my_setopt ignore curl_easy_setopt result again.Yang Tse
Related code not ready yet for this kind of checks.
2011-09-21Changed suffix rules to pattern rules.Guenter Knauf
Suffix rules cannot have any prerequisites of their own.
2011-09-21Some more MinGW build tweaks.Guenter Knauf
Added envvars to specify OpenSSL include, libpath and lib. Added rule to create curlbuild.h from curlbuild.h.dist.
2011-09-21curl 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-20curl tool: reviewed code moved to tool_*.[ch] filesYang Tse
Overhauled FindWin32CACert()
2011-09-20A bunch of MinGW build tweaks.Guenter Knauf
All paths to dependencies now quoted; synced examples makefile.
2011-09-20Added _WIN32_WINNT define for IPv6 builds.Guenter Knauf
2011-09-19curl tool: truly fix compiler warningYang Tse
2011-09-19curl tool: fix compiler warningYang Tse
2011-09-19curl tool: reviewed code moved to tool_*.[ch] filesYang Tse
2011-09-18curl tool: create tool_myfunc.[ch] which later on will hold my_* functionsYang Tse
Additionally function my_useragent() now provides default User-Agent string
2011-09-18curl tool: reorder free_config_fields() field handlingYang Tse
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.
2011-09-17Fixed MinGW WinIDN lib dependency.Guenter Knauf
2011-09-17tool_convert.c: fix no newline at end of fileYang Tse
2011-09-16curl tool: move 'Configurable' and free_config_fields() to tool_cfgable.[ch]Yang Tse
Reviewing fields being free'd in free_config_fields() still pending
2011-09-16src/setup.h: add conditional include of assert.hYang Tse
2011-09-16curl tool: move so called 'multi_files' stuff into tool_mfiles.[ch]Yang Tse
Additionally some code reorganization and direct OOM handling fixes, just another step towards fixing curl tool issues uncovered 2011-09-15
2011-09-16curl tool: move convert_* functions into tool_convert.[ch]Yang Tse
Additionally fix data type of result vars for iconv() calls
2011-09-16main.c: convert GetStr() into a macro to ease leak debuggingYang Tse
2011-09-16main.c: de-obfuscate a couple for-loop exit conditionsYang Tse
2011-09-15curl tool: fix a bunch of double free's uncovered 2011-09-15Yang Tse
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.
2011-09-15curl MSVC project files: adjust resource compiler include pathYang Tse
2011-09-14src/Makefile.vc6: adjust resource compiler include pathYang Tse
2011-09-14curl tool: re-enable MemoryTracking capability on 'src' subdirectory files.Yang Tse
Use same preprocessor logic for curl tool MemoryTracking activation in source files located in 'src' subdirectory as the one used for libcurl sources.
2011-09-11Updated makefiles to latest libssh2.Guenter Knauf
2011-09-10urlglob.c: fix OOM handlingYang Tse
2011-09-08Avoid ftruncate() static define with MinGW64.Guenter Knauf
2011-09-06fix bool variables checking and assignmentYang Tse
2011-09-05fix bool variables checking and assignmentYang Tse
2011-09-04setup_once.h cleanup and syncYang Tse
2011-09-04Added SPNEGO to MinGW makefiles.Guenter Knauf
2011-09-03revert changes not intended to be pushed with commit 6b75d2c2Yang Tse
2011-09-03fix a bunch of MSVC compiler warningsYang Tse
2011-09-03Updated dependecies versions.Guenter Knauf
2011-09-03Some MinGW makefile tweaks for MinGW64.Guenter Knauf
2011-08-27NTLM single-sign on adjustments (XI)Yang Tse
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.
2011-08-26NTLM single-sign on adjustments (X)Yang Tse
Functions renamed: 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 Preprocessor symbols renamed: CURLAUTH_NTLM_SSO -> CURLAUTH_NTLM_WB CURL_VERSION_NTLM_SSO -> CURL_VERSION_NTLM_WB
2011-08-21zlib: ensure user provided memory functions are used by zlib, when givenYang Tse
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.
2011-08-21main: fix segfaultDaniel Stenberg
Follow-up to commit 5eb2396cd as that wasn't complete. 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. Now HEADERFUNCTION is explicitly set to NULL if it isn't set to the callback.
2011-08-21MemoryTracking: adjust initialization calling - followupYang Tse
Fix macro definition