Daniel Stenberg
0f7bea7c3a
unittest: mark all unit tested functions
...
With "@unittest: [num]" in the header comment for each tested function.
Shows we have a log way to go still...
2011-06-10 14:40:46 +02:00
Daniel Stenberg
d5cc77b744
CURLOPT_WRITEHEADER: clarify the docs
2011-06-10 13:17:17 +02:00
Daniel Stenberg
36a22f9074
unit test formpost: added test case 1308
...
This is a few first rather basic tests of curl_formadd() and
curl_formget(). Should serve as building blocks to add more variations
to the test.
2011-06-10 12:03:29 +02:00
Yang Tse
6e0dd48f97
configure: warn if OpenSSL headers and library versions don't match
2011-06-09 22:55:16 +02:00
Yang Tse
cb2f300364
configure: get API info for a couple of OpenSSL functions (followup 2)
2011-06-09 19:03:10 +02:00
Yang Tse
7530a28878
configure: get API info for a couple of OpenSSL functions (followup 1)
2011-06-09 00:45:38 +02:00
Yang Tse
e8d73c9c2d
configure: fix recvfrom 5th arg type qualifier detection (followup)
2011-06-08 15:57:36 +02:00
Yang Tse
8a3c0fe56c
configure: fix recvfrom 5th arg type qualifier detection
2011-06-08 13:37:35 +02:00
Kamil Dudka
f551aa5c16
disconnect: wipe out the keeps_speed time stamp
...
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-08 00:23:41 +02:00
Yang Tse
377f88364e
urldata: use uniform inclusion style for OpenSSL headers
2011-06-07 18:35:42 +02:00
Daniel Stenberg
c0b9dd27b5
HTTP time condition: force closure for 200 OK
...
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-07 13:40:11 +02:00
Daniel Stenberg
6aff805942
RELEASE-NOTES: synced with b772f3a321
2011-06-07 13:15:50 +02:00
Yang Tse
b772f3a321
configure: get API info for a couple of OpenSSL functions
2011-06-06 20:47:36 +02:00
Daniel Stenberg
7559b77727
wait_ms: takes an int argument
...
Typecasts added since I changed more code to use long for timeouts
2011-06-05 12:06:50 +02:00
Daniel Stenberg
4f170ee8f9
Curl_socket_ready: make timeout a 'long'
...
It was mostly typecasted to int all over the code so switching to long
instead all over should be a net gain.
2011-06-04 21:19:14 +02:00
Yang Tse
fba00c9f7b
xlc: avoid preprocessor definition usage when linking
2011-06-04 04:27:09 +02:00
Yang Tse
10a7d05be3
unit tests: disable unit tests for a given cross-compilation configuration.
...
cross-compilation of unit tests static library/programs fails when
libcurl shared library is also built. This might be due to a libtool or
automake issue. In this case we disable unit tests.
2011-06-03 20:08:00 +02:00
Daniel Stenberg
9776f3445d
cookie_output: made private
2011-06-03 20:02:07 +02:00
Daniel Stenberg
adeac15d8e
digest_cleanup_one: made private
2011-06-03 19:54:17 +02:00
Daniel Stenberg
5d4e5593d5
privatise: make private functions static
2011-06-03 19:51:08 +02:00
Daniel Stenberg
c2eb8c932d
Curl_fileinfo_dup: removed, not used
2011-06-03 19:33:23 +02:00
Daniel Stenberg
a6f14e17b7
parsedate: turn private and static
...
I removed the prefix as well accordingly.
2011-06-03 19:31:32 +02:00
Dan Fandrich
b3740f0e09
curl hasn't sent a Pragma: header by default for a while
2011-06-02 18:41:57 -07:00
Yang Tse
2a31dde76c
unit tests: attempt to fix linkage issue
2011-06-02 22:26:01 +02:00
Yang Tse
bf749bb2c5
urlglob: fix zero size malloc
2011-06-02 22:19:39 +02:00
Yang Tse
65a9fa59dc
Remove unnecessary typecast
2011-06-02 19:42:24 +02:00
Yang Tse
9eea43dce2
compiler warning: fix
...
Fix compiler warning: cast increases required alignment
2011-06-02 19:19:36 +02:00
Yang Tse
910d7953aa
unit tests: make unit tests building actually depend on --enable-debug option.
2011-06-02 17:02:46 +02:00
Yang Tse
970117ef2d
OpenSSL enabled: require OPENSSL_VERSION_NUMBER definition before usage.
2011-06-02 12:52:52 +02:00
Yang Tse
aa76dec33a
unit tests: more build adjustments
2011-06-01 21:40:09 +02:00
Daniel Stenberg
d6bb8dcc23
CURLOPT_WILDCARDMATCH: minor style edit
...
Due to some flaw in roffit I removed some style changes to make the web
page look better.
2011-06-01 19:51:16 +02:00
Yang Tse
685359d4c3
makefile: avoid preprocessor definition usage when linking
2011-06-01 14:43:25 +02:00
Yang Tse
a689072f33
warnless: icc 9.1 workaround
2011-06-01 12:13:42 +02:00
Daniel Stenberg
3d64ed25df
testcurl.pl: allow configure args to use '='
2011-05-31 13:35:26 +02:00
Yang Tse
ecfe0b5b18
Makefile.am: fix spurious CFLAGS duplication
2011-05-30 22:34:06 +02:00
Dan Fandrich
9460896cbe
Removed types.h from Android makefile
2011-05-30 13:11:38 -07:00
Daniel Stenberg
a87102c792
configure.ac: skip /dev/urandom check when cross-compiling
...
Bug: http://curl.haxx.se/bug/view.cgi?id=3307835
2011-05-30 11:59:13 +02:00
Yang Tse
2e7a2027f1
main: fix header inclusion order
...
Currently, Windows cross-compiled autobuilds require inclusion of setup.h
before curl.h to get definitions of CURL_STATICLIB and BUILDING_LIBCURL.
2011-05-29 18:25:49 +02:00
Yang Tse
ae677edf90
main: fix header inclusion order
2011-05-29 03:56:26 +02:00
Yang Tse
f5d78919af
distribution: Fix EXTRA_DIST letter case
2011-05-27 13:37:20 +02:00
Daniel Stenberg
f3d77f772d
curl_easy_setopt.3: NOPROGRESS also affects the callback
2011-05-27 11:13:13 +02:00
Yang Tse
7dd449d843
warnless: header inclusion fix
2011-05-27 06:56:56 +02:00
Yang Tse
f461c6e61d
Make checksrc.pl work on more out-of-tree builds
...
Source files given with relative paths do not have the
-D directory specifier prepended.
2011-05-26 19:17:10 +02:00
Yang Tse
3c9ff41a1f
compiler warning: fix
...
Fix compiler warning: conversion may lose significant bits
2011-05-26 15:44:53 +02:00
Yang Tse
c8c8816a97
socks: fix unaligned memory access
2011-05-26 14:53:13 +02:00
Yang Tse
5d39dea3b3
compiler warning: fix
...
Fix compiler warning: variable was set but never used
Fix compiler warning: clobber ignored
2011-05-26 12:40:04 +02:00
Yang Tse
9f390a356e
unit tests: build adjustment
...
Also define UNITTESTS macro when building unit test sources.
Fixing compiler warning: external definition with no prior declaration
2011-05-25 20:24:03 +02:00
Daniel Stenberg
017ee34bba
create_conn: only switch protocol handler if necessary
...
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-25 15:57:38 +02:00
Daniel Stenberg
340228cc81
setopt.3: remove leftover style change
2011-05-25 13:51:57 +02:00
Daniel Stenberg
edf282c096
setopt.3: CURLOPT_WRITEFUNCTION had wrong function proto
2011-05-25 13:50:52 +02:00