Yang Tse
ba481718a4
Make more human readable and maintainable previous
...
compiler warning fix since it was Ok and actually
avoids the targeted compiler warning.
2006-10-29 14:58:59 +00:00
Daniel Stenberg
1be60dde7f
updated to current status
2006-10-29 09:18:32 +00:00
Daniel Stenberg
e92e811a61
updated to reflect reality
2006-10-29 09:11:44 +00:00
Yang Tse
a93695a70e
Compiler warning fix.
...
Assigning the const value zero to a pointer to function
results in a null pointer value assignment to the function
pointer.
Assignment of any nonzero value is what should result in a
implementation compiler dependent result.
Since what we want to do here is the first case, this should
not trigger compiler warnings related with conversions from
'pointer to data' to 'pointer to function'.
Our autobuild test suite will judge.
2006-10-27 15:32:18 +00:00
Gisle Vanem
ce935a2697
Fixed 'x_TYPE_ARG2' to match prototypes of recv() and send().
2006-10-27 14:13:32 +00:00
Gisle Vanem
812ce0d93f
Get rid of the special sread()+swrite() for MSDOS. Use recv()
...
and send(). Added needed HAVE_x defines.
2006-10-27 14:07:32 +00:00
Gisle Vanem
bbae5b49f9
Added 'RECV_TYPE_ARGx' needed in getinfo.c.
2006-10-27 13:57:16 +00:00
Yang Tse
772a985dc3
Update copyright year, since the file has been modified
2006-10-27 03:47:57 +00:00
Yang Tse
8a7514de8a
Compiler warning fix
2006-10-27 02:18:29 +00:00
Yang Tse
8a8d5c784c
Do an explicit typecast of data pointers to function pointers
...
to avoid picky compiler warnings, since this is what we want!
2006-10-27 01:04:41 +00:00
Yang Tse
012d7e2878
Fix Curl_open() not reporting failure when allocation of the
...
buffer used to store headers in the SessionHandle failed.
2006-10-26 11:15:25 +00:00
Daniel Stenberg
cde5e35d9b
Fixed CURLOPT_FAILONERROR to return CURLE_HTTP_RETURNED_ERROR even for the
...
case when 401 or 407 are returned, *IF* no auth credentials have been given.
The CURLOPT_FAILONERROR option is not possible to make fool-proof for 401
and 407 cases when auth credentials is given, but we've now covered this
somewhat more.
You might get some amounts of headers transferred before this situation is
detected, like for when a "100-continue" is received as a response to a
POST/PUT and a 401 or 407 is received immediately afterwards.
Added test 281 to verify this change.
2006-10-25 20:40:14 +00:00
Daniel Stenberg
b2c378267b
updated copyright year
2006-10-25 07:19:45 +00:00
Daniel Stenberg
f44ef427a2
other pipelining fixes by Ravi Pratap, that now makes pipelines get used better
2006-10-24 21:14:40 +00:00
Daniel Stenberg
36a3514225
the check in ConnectionExists() for not re-using a non-resolved connection now
...
applies for asynch name resolves in general and not only ares
2006-10-23 20:41:50 +00:00
Daniel Stenberg
e1edd41e1b
Ravi Pratap provided a major update with pipelining fixes. We also no longer
...
re-use connections (for pipelining) before the name resolving is done.
2006-10-23 20:34:56 +00:00
Daniel Stenberg
ef769500d4
Nir Soffer fixed a cp line and got rid of an rm
2006-10-22 22:18:24 +00:00
Daniel Stenberg
23692574a2
until we learn how to use Makefile.inc from here, I've added socks.o in here
...
as well
2006-10-22 07:43:34 +00:00
Yang Tse
db24518a30
Fix misplaced runtime library specification for 'release-dll' target
2006-10-21 16:25:31 +00:00
Yang Tse
de59cde155
Fix copy-paste error
2006-10-21 12:36:10 +00:00
Yang Tse
3cd95eacdf
Compiler warning fix
2006-10-21 12:35:16 +00:00
Daniel Stenberg
4e717cdb30
Armel Asselin separated CA cert verification problems from problems with
...
reading the (local) CA cert file to let users easier pinpoint the actual
problem. CURLE_SSL_CACERT_BADFILE (77) is the new libcurl error code.
2006-10-21 11:32:05 +00:00
Yang Tse
316a9f6480
Compiler warning fix
2006-10-20 17:54:05 +00:00
Daniel Stenberg
bd5d21aaf2
When a resolve is made on a pipelined connection we need to detect it properly
...
(when the resoling isn't completede yet) and not confuse it with a simple
connection re-use (non-pipelined).
2006-10-20 12:25:39 +00:00
Yang Tse
83884180ac
Builds using synchronous name resolver dislike marking the connection as async.
2006-10-19 02:30:02 +00:00
Yang Tse
5df4be1165
Check for USE_WINSOCK instead of WIN32 where the check was done
...
to verify winsock API availability.
2006-10-18 21:05:40 +00:00
Yang Tse
96445f1b7d
Introduce symbol USE_WINSOCK which will be defined when
...
using winsock or winsock2 API.
2006-10-18 15:57:49 +00:00
Daniel Stenberg
4bdd7596d3
the expire timer is a bit too annoying to see all the time ;-)
2006-10-18 15:11:24 +00:00
Daniel Stenberg
18aae32015
When a connection is re-used, it can be flagged for re-use before the name
...
resolving is completed so we must make sure to survive it and mark the
connection as async (ie not yet connected completely).
2006-10-18 15:10:49 +00:00
Daniel Stenberg
a8996b9e52
use the return code from lseek() to detect problems and bail out if so
2006-10-18 14:47:58 +00:00
Gisle Vanem
94095c61d8
Added ISPRINT() required for src/main.c.
2006-10-18 13:50:23 +00:00
Daniel Stenberg
1cddd744ad
Tor's spell fixes
2006-10-18 12:59:02 +00:00
Daniel Stenberg
5b8d5fdf2f
cut out matching host names starting with telnet or ftps, since they hardly
...
ever actually are used
2006-10-18 11:13:39 +00:00
Yang Tse
71c6335293
Move definition of IS*() macros to setup_once.h
2006-10-18 03:41:19 +00:00
Dan Fandrich
8c38ea4ebc
Fixed compile error in HAVE_SIGACTION case.
2006-10-17 21:45:37 +00:00
Daniel Stenberg
44d84ac164
Avoid typecasting a signed char to an int when using is*() functions, as that
...
could very well cause a negate number get passed in and thus cause reading
outside of the array usually used for this purpose.
We avoid this by using the uppercase macro versions introduced just now that
does some extra crazy typecasts to avoid byte codes > 127 to cause negative
int values.
2006-10-17 21:32:56 +00:00
Daniel Stenberg
930f9bd534
clear the struct size not the pointer size, pointed out in bug report
...
#1579171
2006-10-17 20:34:11 +00:00
Yang Tse
ec956b0334
Explicit typecast for Curl_debug() size argument
2006-10-17 10:04:13 +00:00
Yang Tse
44ffe0dc79
Typo
2006-10-17 09:07:38 +00:00
Daniel Stenberg
e3a61fba52
make the low_speed check set the expire timer so that it has a chance to work
...
even when using curl_multi_socket() or even using the multi_perform() when
relying on multi_timeout() to be good.
2006-10-17 09:05:44 +00:00
Daniel Stenberg
7a710b4970
Jeff helped me pinpoint that we didn't properly set the expire timer during
...
c-ares name resolves, but now we do!
2006-10-17 08:06:27 +00:00
Daniel Stenberg
0bb20cc611
fix the name resolve abort timeout calculation (when signals are used)
2006-10-17 08:05:41 +00:00
Yang Tse
433c0c895e
Compiler warning fix
2006-10-17 02:31:06 +00:00
Yang Tse
10d1fc0e73
Compiler warning fix
2006-10-15 23:13:12 +00:00
Gisle Vanem
2260c8aa11
Replace ";;" with ";".
2006-10-15 20:28:03 +00:00
Gisle Vanem
97eb62aff8
Rearranged target HAVE_x section.
2006-10-15 19:41:15 +00:00
Yang Tse
1855fc35f2
Declare our own timeval struct if HAVE_STRUCT_TIMEVAL is not defined
2006-10-14 12:02:19 +00:00
Yang Tse
dc3ed35313
Define HAVE_STRUCT_TIMEVAL as appropriate for platforms that lack autotools support
2006-10-14 12:01:44 +00:00
Dan Fandrich
5ccbbe40c2
The tagging of application/x-www-form-urlencoded POST body data sent
...
to the CURLOPT_DEBUGFUNCTION callback has been fixed (it was erroneously
included as part of the header). A message was also added to the
command line tool to show when data is being sent, enabled when
--verbose is used.
2006-10-13 21:02:27 +00:00
Daniel Stenberg
86f93a53d6
print the actual (externally known) easy handle and not the internal container
...
for it
2006-10-13 14:54:36 +00:00