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
Yang Tse
a947a9ac62
compiler warning: fix followup
...
Fix compiler warning: variable was set but never used
Fix compiler warning: clobber ignored
2011-05-25 09:56:57 +02:00
Yang Tse
9b5343054a
unit tests: README, adjust header inclusion order
2011-05-24 21:23:52 +02:00
Yang Tse
b735717606
compiler warning: fix
...
Fix compiler warning: variable was set but never used
Fix compiler warning: clobber ignored
2011-05-24 20:39:58 +02:00
Yang Tse
ec33742d1b
compiler warning: fix
...
Fix compiler warning: external definition with no prior declaration
2011-05-24 17:35:08 +02:00
Yang Tse
2ea31b0e6f
compiler warning: fix
...
Fix compiler warning: external definition with no prior declaration
2011-05-24 17:29:50 +02:00
Yang Tse
de70ddb749
compiler warning: fix
...
Fix compiler warning: argument is incompatible with corresponding format
string conversion
2011-05-24 17:24:59 +02:00
Yang Tse
a41c7f9736
build: inclusion guard
...
Enclose header file in an inclusion guard
2011-05-24 15:42:02 +02:00
Yang Tse
512b2f7740
compiler warning: fix
...
Fix compiler warning: expression has no effect
2011-05-24 15:18:26 +02:00
Yang Tse
8bdc48eddb
compiler warning: fix
...
Fix compiler warning: `keycheck' might be used uninitialized in this function.
Fix compiler warning: `keybit' might be used uninitialized in this function.
2011-05-23 19:37:41 +02:00