aboutsummaryrefslogtreecommitdiff
AgeCommit message (Collapse)Author
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
2011-09-21smtp: without a MAIL_FROM, send blank MAIL FROMGisle Vanem
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.
2011-09-21lib/http: add missing whitespace in verbose outputDave Reisner
Example: * upload completely sent off: 35out of 35 bytes Should be: * upload completely sent off: 35 out of 35 bytes
2011-09-21Another MinGW example makefile tweak.Guenter Knauf
2011-09-21Fixed sample to compile for Windows platform.Guenter Knauf
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-21Added dependency so that curlbuild.h is created.Guenter Knauf
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-20Changed Windows 64bit OS define to x86_64.Guenter Knauf
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.
2011-09-20Also skip certs masked as CKT_NSS_TRUST_UNKNOWN.Guenter Knauf
Fix posted by Tomas Hoger <thoger redhat com>.
2011-09-20Added _WIN32_WINNT define for IPv6 builds.Guenter Knauf
2011-09-20Curl_follow: handle redirects to "//hostname/path"Daniel Stenberg
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-18CURLOPT_URL docs: no need to mention function namesDaniel Stenberg
2011-09-18CURLOPT_URL: Expanded URL descriptionSteve Holme
Expanded the section about CURLOPT_URL to include the format of the URL and detailed information and examples relating to specific protocols.
2011-09-18Curl_gethostname: return un-qualified machine nameSteve Holme
Fixed Curl_gethostname() so that it always returns the un-qualified machine name rather than being dependent on the socket provider. 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.
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: add new files to Symbian's .mmp project 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