aboutsummaryrefslogtreecommitdiff
path: root/lib
AgeCommit message (Collapse)Author
2011-06-22Curl_input_negotiate: do not delegate GSSAPI credentialsDaniel Stenberg
This is a security flaw. See curl advisory 20110623 for details. Reported by: Richard Silverman
2011-06-21windows build: use correct MS CRTJosue Andrade Gomes
2011-06-21[pop3] remove extra space in LIST commandOri Avtalion
Some servers, e.g. mail.bezeqint.net:110, consider it a syntax error
2011-06-21http: fix compiler warningYang Tse
compiler warning: conditional expression is constant
2011-06-21asyn-thread: fix compiler warningYang Tse
compiler warning: variable is initialized but not referenced
2011-06-21cmake: remove spurious definitionYang Tse
2011-06-19unitteset: Curl_llist_moveAmr Shahin
adding unit test for Curl_llist_move, documenting unit-tested functions in llist.c, changing unit-test to unittest, replacing assert calls with abort_unless calls
2011-06-17CURLFORM_STREAM: acknowledge CURLFORM_FILENAMEDaniel Stenberg
The CURLFORM_STREAM is documented to only insert a file name (and thus look like a file upload) in the part if CURLFORM_FILENAME is set, but in reality it always inserted a filename="" and if CURLFORM_FILENAME wasn't set, it would insert insert rubbish (or possibly crash). This is now fixed to work as documented, and test 554 has been extended to verify this. Reported by: Sascha Swiercy Bug: http://curl.haxx.se/mail/lib-2011-06/0070.html
2011-06-13curl_formget: fix FILE * leakDaniel Stenberg
Properly deal with the fact that the last fread() call most probably is a short read, and when using callbacks in fact all calls can be short reads. No longer consider a file read done until it returns a 0 from the read function. Reported by: Aaron Orenstein Bug: http://curl.haxx.se/mail/lib-2011-06/0048.html
2011-06-13curl_formget: treat CURLFORM_STREAM betterDaniel Stenberg
If a piece is set to use a callback to get the data, it should not be treated as data. It unfortunately also requires that curl_easy_perform() or similar has been used as otherwise the callback function hasn't been figured out and curl_formget won't know how to get the content.
2011-06-11long/int messDaniel Stenberg
Typecast when converting to int from long to avoid some compiler warnings
2011-06-10splay: add unit testsDaniel Stenberg
The test code that was #ifdef'ed in the code was converted into unit tests in test case 1309. I also removed the #if 0'ed code from splay.c
2011-06-10unittest: mark all unit tested functionsDaniel Stenberg
With "@unittest: [num]" in the header comment for each tested function. Shows we have a log way to go still...
2011-06-08disconnect: wipe out the keeps_speed time stampKamil Dudka
When closing a connection, the speedchecker's timestamp is now deleted so that it cannot accidentally be used by a fresh connection on the same handle when examining the transfer speed. Bug: https://bugzilla.redhat.com/679709
2011-06-07urldata: use uniform inclusion style for OpenSSL headersYang Tse
2011-06-07HTTP time condition: force closure for 200 OKDaniel Stenberg
When a time condition isn't met, so that no body is delivered to the application even though a 2xx response is being read from the server, we must close the connection to avoid a re-use of the connection to be completely tricked. Added test 1128 to verify.
2011-06-05wait_ms: takes an int argumentDaniel Stenberg
Typecasts added since I changed more code to use long for timeouts
2011-06-04Curl_socket_ready: make timeout a 'long'Daniel Stenberg
It was mostly typecasted to int all over the code so switching to long instead all over should be a net gain.
2011-06-03cookie_output: made privateDaniel Stenberg
2011-06-03digest_cleanup_one: made privateDaniel Stenberg
2011-06-03privatise: make private functions staticDaniel Stenberg
2011-06-03Curl_fileinfo_dup: removed, not usedDaniel Stenberg
2011-06-03parsedate: turn private and staticDaniel Stenberg
I removed the prefix as well accordingly.
2011-06-02Remove unnecessary typecastYang Tse
2011-06-02compiler warning: fixYang Tse
Fix compiler warning: cast increases required alignment
2011-06-02OpenSSL enabled: require OPENSSL_VERSION_NUMBER definition before usage.Yang Tse
2011-06-01unit tests: more build adjustmentsYang Tse
2011-06-01makefile: avoid preprocessor definition usage when linkingYang Tse
2011-06-01warnless: icc 9.1 workaroundYang Tse
2011-05-30Makefile.am: fix spurious CFLAGS duplicationYang Tse
2011-05-27warnless: header inclusion fixYang Tse
2011-05-26Make checksrc.pl work on more out-of-tree buildsYang Tse
Source files given with relative paths do not have the -D directory specifier prepended.
2011-05-26compiler warning: fixYang Tse
Fix compiler warning: conversion may lose significant bits
2011-05-26socks: fix unaligned memory accessYang Tse
2011-05-25create_conn: only switch protocol handler if necessaryDaniel Stenberg
When switching to HTTP because a HTTP proxy is being used, the existing handler is now checked if it already is "compatible". This allows the https handler remain while other non-http handlers will be redirected. Bug: http://curl.haxx.se/mail/lib-2011-05/0214.html Reported by: Jerome Robert
2011-05-25compiler warning: fix followupYang Tse
Fix compiler warning: variable was set but never used Fix compiler warning: clobber ignored
2011-05-24compiler warning: fixYang Tse
Fix compiler warning: variable was set but never used Fix compiler warning: clobber ignored
2011-05-24build: inclusion guardYang Tse
Enclose header file in an inclusion guard
2011-05-24compiler warning: fixYang Tse
Fix compiler warning: expression has no effect
2011-05-23compiler warning: fixYang Tse
Fix compiler warning: `keycheck' might be used uninitialized in this function. Fix compiler warning: `keybit' might be used uninitialized in this function.
2011-05-23compiler warning: fixYang Tse
Fix variable declaration placement
2011-05-23compiler warning: fixYang Tse
Fix missing semicolon
2011-05-23compiler warning: fixYang Tse
Fix compiler warning: expression has no effect Fix OOM handling
2011-05-23compiler warning: fixYang Tse
Fix compiler warning: expression has no effect
2011-05-23compiler warning: fixYang Tse
Fix compiler warning: unused variable 'data'
2011-05-21compiler warning: fixYang Tse
Fix compiler warning: enumerated type mixed with another type
2011-05-21compiler warning: fixYang Tse
Fix compiler warning: enumerated type mixed with another type
2011-05-21compiler warning: fixYang Tse
Fix compiler warning: enumerated type mixed with another type
2011-05-21compiler warning: fixYang Tse
Fix compiler warning: enumerated type mixed with another type
2011-05-21compiler warning: fixYang Tse
Fix compiler warning: empty body in an if-statement