summaryrefslogtreecommitdiff
Commit message (Collapse)AuthorAgeFilesLines
* add missing new files to non-configure target build filesYang Tse2010-06-026-7/+19
|
* include libcurl standard internal headersYang Tse2010-06-0212-17/+54
|
* TODO: add multi interface improvement remove ldap selectDaniel Stenberg2010-06-021-7/+5
|
* make setup.h first included fileYang Tse2010-06-021-1/+2
|
* fix spnego memory leakYang Tse2010-06-021-2/+6
|
* openldap header inclusions fixYang Tse2010-06-021-1/+4
|
* multi_socket: handles timer inaccuracy better for timeoutsDaniel Stenberg2010-06-013-4/+28
| | | | | | | | | | | | | | | | | | | | | | | Igor Novoseltsev reported a problem with the multi socket API and using timeouts and timers. It boiled down to a problem with libcurl's use of GetTickCount() interally to figure out the current time, while Igor's own application code used another function call. It made his app call the socket API timeout function a bit _before_ libcurl would consider the timeout to trigger, and that could easily lead to timeouts or stalls in the app. It seems GetTickCount() in general often has no better resolution than 16ms and switching to the alternative function QueryPerformanceCounter has its share of problems: http://www.virtualdub.org/blog/pivot/entry.php?id=106 We address this problem by simply having libcurl treat timers that already has occured or will occur within 40ms subject for treatment. I'm confident that there are other implementations and operating systems with similarly in accurate timer functions so it makes sense to have applied generically and I don't believe we sacrifice much by adding a 40ms inaccuracy on these timeouts.
* fix ldaps option issueYang Tse2010-06-011-13/+20
|
* fix ldap related compilation issuesYang Tse2010-06-016-14/+44
|
* fix compiler warning: enumerated type mixed with another typeYang Tse2010-06-012-3/+3
|
* fix compiler warning: enumerated type mixed with another typeYang Tse2010-05-311-4/+4
|
* smtp_authenticate: avoid compiler warningsPatrick Monnerat2010-05-311-0/+4
|
* fix compiler warning: enumerated type mixed with another typeYang Tse2010-05-311-2/+2
|
* fix compiler warning: enumerated type mixed with another typeYang Tse2010-05-312-2/+2
|
* fix compiler warning: enumerated type mixed with another typeYang Tse2010-05-312-2/+2
|
* fix compiler warning: external declaration in primary source fileYang Tse2010-05-311-1/+5
|
* fix compiler warning: variable was set but never usedYang Tse2010-05-311-0/+4
|
* fix compiler warning: enumerated type mixed with another typeYang Tse2010-05-311-3/+3
|
* fix compiler warning: external declaration in primary source fileYang Tse2010-05-311-3/+4
|
* update year in copyright noticeYang Tse2010-05-311-1/+1
|
* strtoofft: rename CURL_LLONG_MIN -> CURL_OFF_T_MINKamil Dudka2010-05-294-10/+10
| | | | ... and CURL_LLONG_MAX -> CURL_OFF_T_MAX
* CURL_LLONG_MAX: avoid constant overflowKamil Dudka2010-05-292-2/+7
| | | | ... when (CURL_SIZEOF_CURL_OFF_T == 4)
* LDAPS: list availability depending on SSL's presenceHoward Chu2010-05-283-6/+7
|
* LDAP: make it build without SSL if no such support is availableHoward Chu2010-05-281-0/+10
| | | | | of course it also goes for the case where SSL is explicitly disabled
* TODO: removed fixed itemsDaniel Stenberg2010-05-281-29/+16
| | | | | | | These two items are now actually implemented: 11.1 Content-Disposition 11.5 ftp wildcard download
* lib: eliminate 'statement not reached' warningsKamil Dudka2010-05-283-5/+5
|
* test1115: verify that unexpected 1xx responses work fineDaniel Stenberg2010-05-282-1/+56
|
* lib577: avoid redefinition of ERRORKamil Dudka2010-05-281-4/+4
|
* test313: a new test for CRL supportKamil Dudka2010-05-273-1/+42
|
* tests/certs: re-generated because of lost pass-phraseKamil Dudka2010-05-2723-499/+535
|
* tests/certs/scripts: generate also CRLKamil Dudka2010-05-273-7/+27
| | | | ... and make it possible to do so without any user interaction
* openldap: fix compiler warningsHoward Chu2010-05-271-2/+7
|
* indent: some whitespace editsDaniel Stenberg2010-05-271-23/+24
|
* wildcard.c: add missing include of "setup.h"Kamil Dudka2010-05-271-0/+1
|
* lib573: do not compare double for exact matchTor Arntsen2010-05-271-2/+2
|
* wildcard.c: add missing include of "curl_memory.h"Pavel Raiskup2010-05-271-0/+1
|
* setup_once: use enum type for 'bool' on non-C99 platformsTor Arntsen2010-05-272-7/+29
| | | | | | | An enum will catch non-bool assignments to bool on platforms with a strict compiler, e.g MIPSPro. Signed-off-by: Kamil Dudka <kdudka@redhat.com>
* url.c: avoid implied cast to boolKamil Dudka2010-05-272-2/+2
|
* curl_fnmatch: remove use of register keywordTor Arntsen2010-05-271-4/+4
| | | | | Using the 'register' keyword rarely improves anything with modern compilers and architectures.
* RTMP: Fix compiler warningsJulien Chaffraix2010-05-262-1/+14
|
* OOM fixes in http_negociate.c and lib/splay.cJulien Chaffraix2010-05-263-4/+9
| | | | | Fix 2 OOM errors: a missing NULL-check in lib/http_negociate.c and a potential NULL dereferencing in lib/splay.c
* LDAP: properly implemented as a curl_handlerHoward Chu2010-05-259-12/+597
| | | | | | | | | makes the LDAP code much cleaner, nicer and in general being a better libcurl citizen. If a new enough OpenLDAP version is detect, the new and shiny lib/openldap.c code is then used instead of the old cruft Code by Howard, minor cleanups by Daniel.
* curl_fnmatch: Use int not bool when function returns intTor Arntsen2010-05-211-1/+1
| | | | | | bool in curl internals is unsigned char and should not be used to receive return value from functions returning int - this fails when using IBM VisualAge and Tru64 compilers.
* TFTP: send legal timeout valueDaniel Stenberg2010-05-212-2/+15
| | | | | | | | | | | | | | Eric Mertens posted bug #3003705: when we made TFTP use the correct timeout option when sent to the server (fixed May 18th 2010) it became obvious that libcurl used invalid timeout values (300 by default while the RFC allows nothing above 255). While of course it is obvious that as TFTP has worked thus far without being able to set timeout at all, just removing the setting wouldn't make any difference in behavior. I decided to still keep it (but fix the problem) as it now actually allows for easier (future) customization of the timeout. (http://curl.haxx.se/bug/view.cgi?id=3003705)
* TFTP: don't ack if wrong block num is receivedDaniel Stenberg2010-05-211-1/+2
| | | | | If an unexpected block number was received, break out of the switch loop.
* TFTP: block id wrap bug fixDaniel Stenberg2010-05-213-8/+19
| | | | | | | | | In a normal expression, doing [unsigned short] + 1 will not wrap at 16 bits so the comparisons and outputs were done wrong. I added a macro do make sure it gets done right. Douglas Kilpatrick filed bug report #3004787 about it: http://curl.haxx.se/bug/view.cgi?id=3004787
* Fix build warnings.Ben Greear2010-05-203-16/+17
| | | | Signed-off-by: Ben Greear <greearb@candelatech.com>
* setopt: Fix setting of set.is_fwrite_setBen Greear2010-05-201-1/+1
| | | | Signed-off-by: Ben Greear <greearb@candelatech.com>
* build: allow curl to build with Microsoft VC10Tanguy Fautre2010-05-202-0/+28
| | | | | | By undefing a bunch of E* defines that VC10 has started to define but that we redefine internally to their WSA* alternatives when building for Windows.
* Test 573: Use correct type for CURLINFO_CONNECT_TIMETor Arntsen2010-05-201-3/+3
| | | | | | curl_easy_getinfo() called with a pointer to long instead of double would sigbus on RISC processors (e.g. MIPS) due to wrong alignment of pointer address.