summaryrefslogtreecommitdiff
path: root/lib
Commit message (Collapse)AuthorAgeFilesLines
* NTLM_WB: fix disabling of NTLM_WB when NTLM is disabledYang Tse2011-09-224-13/+13
|
* smtp: without a MAIL_FROM, send blank MAIL FROMGisle Vanem2011-09-211-1/+5
| | | | | | 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.
* lib/http: add missing whitespace in verbose outputDave Reisner2011-09-211-1/+1
| | | | | | | | Example: * upload completely sent off: 35out of 35 bytes Should be: * upload completely sent off: 35 out of 35 bytes
* Changed suffix rules to pattern rules.Guenter Knauf2011-09-211-3/+2
| | | | Suffix rules cannot have any prerequisites of their own.
* Added dependency so that curlbuild.h is created.Guenter Knauf2011-09-211-1/+1
|
* Some more MinGW build tweaks.Guenter Knauf2011-09-211-4/+16
| | | | | Added envvars to specify OpenSSL include, libpath and lib. Added rule to create curlbuild.h from curlbuild.h.dist.
* A bunch of MinGW build tweaks.Guenter Knauf2011-09-201-21/+26
| | | | All paths to dependencies now quoted; synced examples makefile.
* Changed Windows 64bit OS define to x86_64.Guenter Knauf2011-09-201-2/+2
| | | | | 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.
* Also skip certs masked as CKT_NSS_TRUST_UNKNOWN.Guenter Knauf2011-09-201-1/+2
| | | | Fix posted by Tomas Hoger <thoger redhat com>.
* Added _WIN32_WINNT define for IPv6 builds.Guenter Knauf2011-09-201-1/+1
|
* Curl_follow: handle redirects to "//hostname/path"Daniel Stenberg2011-09-201-19/+30
|
* Curl_gethostname: return un-qualified machine nameSteve Holme2011-09-181-6/+37
| | | | | | | | | 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.
* Make Curl_safefree() macro assign NULL to given pointer when free'dYang Tse2011-09-151-1/+3
|
* ftp.c: add a couple of failure messagesYang Tse2011-09-141-0/+4
|
* Curl_add_custom_headers: support headers with no datawarp kawada2011-09-131-0/+25
| | | | | | 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.
* codestyle: minor whitespace fixDaniel Stenberg2011-09-131-2/+2
|
* polarssl: build with PolarSSL-1.0.0Jeff Pohlmeyer2011-09-131-4/+22
| | | | | | | | | | 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) 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.
* ftp.c: fix socket leak torture tests detected 2011-08-30Yang Tse2011-09-121-2/+12
| | | | Also fix inappropriate error handling when sending ftp EPRT or PORT commands.
* spell-checked commentsDaniel Stenberg2011-09-111-15/+14
|
* Updated makefiles to latest libssh2.Guenter Knauf2011-09-113-4/+4
|
* ftp.c: fix ftp active connects which got broken with commit fdf157abdfYang Tse2011-09-101-7/+7
|
* ssh.c: revert needless commit 7b7c45879eYang Tse2011-09-101-57/+3
|
* tcpnodelay: rename variableDaniel Stenberg2011-09-091-3/+3
| | | | | | 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.
* libssh2: use calloc as alloc function for libssh2 versions older than 1.3Yang Tse2011-09-081-3/+57
| | | | | | 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.
* Curl_speedcheck: don't mistakenly clear Curl_expire()Adriano Meirelles2011-09-081-3/+6
| | | | | | | 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.
* ftp_state_use_port: minor code indent fixDaniel Stenberg2011-09-071-1/+2
|
* checksrc: detect "}else" uses as wellDaniel Stenberg2011-09-071-1/+1
|
* ssh.c: fix memory leaks triggered upon OOM or other failuresYang Tse2011-09-071-1/+30
|
* pingpong.c: avoid a memmove call in function Curl_pp_vsendfYang Tse2011-09-051-4/+7
|
* fix bool variables checking and assignmentYang Tse2011-09-0520-116/+115
|
* Fixed final message output.Guenter Knauf2011-09-041-1/+1
|
* setup_once.h cleanup and syncYang Tse2011-09-042-24/+28
|
* Fix to skip untrusted certs.Guenter Knauf2011-09-041-21/+29
|
* Added SPNEGO to MinGW makefiles.Guenter Knauf2011-09-041-0/+6
|
* NTLM WB: fix file descriptor leak upon OOM conditionYang Tse2011-09-041-0/+5
|
* revert changes not intended to be pushed with commit 6b75d2c2Yang Tse2011-09-032-4/+4
|
* fix a bunch of MSVC compiler warningsYang Tse2011-09-0335-75/+102
|
* Updated dependecies versions.Guenter Knauf2011-09-033-3/+3
|
* Some MinGW makefile tweaks for MinGW64.Guenter Knauf2011-09-031-0/+8
|
* Changed MinGW to use own winidn prototypes.Guenter Knauf2011-09-031-2/+1
|
* Fix NTLM winbind support to pass the torture testsDan Fandrich2011-09-021-3/+3
| | | | | | | | 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.
* MemoryTracking: fix logging of free() calls done where Curl_safefree is calledYang Tse2011-09-028-19/+48
| | | | | | | | | | | | | | Just internal stuff... 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. 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. The WHILE_FALSE stuff fixes 150+ MSVC compiler warnings.
* transfer.c: fix parentheses/braces placement for vi/emacs delimiter matchingYang Tse2011-09-021-11/+11
|
* transfer.c: fix loadhostpairs() OOM handlingYang Tse2011-09-021-1/+3
|
* hostip.c: return immediately from Curl_resolv_timeout() upon expired timeout.Yang Tse2011-09-011-0/+4
| | | | | | | | 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.
* ftp.c: fix some leaks torture tests detected 2011-08-30 - follow-upYang Tse2011-09-011-13/+9
| | | | follow-up for commit d20408e8
* ssh.c: fix realloc() OOM handlingYang Tse2011-08-311-4/+9
|
* ftp.c: fix some leaks torture tests detected 2011-08-30 - follow-upYang Tse2011-08-311-18/+24
| | | | follow-up for commit c06de200
* fix some leaks torture tests detected 2011-08-30Yang Tse2011-08-311-2/+6
|
* fix some leaks torture tests detected 2011-08-30Yang Tse2011-08-311-3/+19
|