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
786738dd00
changes done the last few days
2006-10-18 11:13:56 +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
Daniel Stenberg
694f31ca37
the "work in progress" for #25 was ditched a long time ago
2006-10-18 07:53:24 +00:00
Yang Tse
9c1ad0f9f7
Replace is*() macros with our own IS*() ones.
...
Get rid of non ANSI/ISO isascii().
2006-10-18 03:42:06 +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
Daniel Stenberg
b61fbbde46
buildconf already runs ares/buildconf by itself if there is an ares subdir
...
present, so there's no use to doing it again in this script!
2006-10-17 11:46:42 +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
65794f60ec
Please welcome our new haxx.se curl mirror, for really fast Swedish access.
2006-10-17 08:07:48 +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
Daniel Stenberg
67e8d22958
Added a check in configure that simply tries to run a program (not when
...
cross-compiling) in order to detect problems with run-time libraries that
otherwise would occur when the sizeof tests for curl_off_t would run and
thus be much more confusing to users. The check of course should run after
all lib-checks are done and before any other test is used that would run an
executable built for testing-purposes.
2006-10-16 08:30:54 +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
Daniel Stenberg
6b868df554
Prevent ares_getsock() to overflow if more than 16 sockets are used.
2006-10-13 21:25:11 +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
Daniel Stenberg
f53347631e
Added comments about checking return code and the maxfd counter
2006-10-13 14:01:19 +00:00
Daniel Stenberg
efe3cb6e1a
Added curl_multi_dump() when built with CURLDEBUG - this is not a stable public
...
function, this is only meant to allow easier tracking of the internal handle's
state and what sockets they use. Only for research and development.
2006-10-13 07:11:26 +00:00
Yang Tse
32ac4edeed
Check for struct timeval at configuration time
2006-10-13 01:35:14 +00:00
Daniel Stenberg
4c04c09138
ghiper now uses the timer callback in the multi interface
2006-10-12 21:26:50 +00:00
Daniel Stenberg
47ea80baee
avoid an overflow if an excessive amount of servers are used
2006-10-12 16:47:50 +00:00
Daniel Stenberg
95c3fa836b
clarify more
2006-10-12 14:35:20 +00:00
Daniel Stenberg
ab60a12465
Starting now, adding an easy handle to a multi stack that was already added
...
to a multi stack will cause CURLM_BAD_EASY_HANDLE to get returned.
2006-10-12 14:30:47 +00:00
Daniel Stenberg
2d38e51867
deleted #19 since it concerted FTP third party transfers and they are no longer
...
supported
2006-10-12 09:02:46 +00:00
Daniel Stenberg
a5dda669e3
we've cut out third party transfers
2006-10-12 08:55:01 +00:00
Daniel Stenberg
3c4f3a680a
point out the sslcert web page for -k/--insecure
2006-10-12 08:52:20 +00:00
Daniel Stenberg
b61c06384a
Jeff Pohlmeyer has been working with the hiperfifo.c example source code,
...
and while doing so it became apparent that the current timeout system for
the socket API really was a bit awkward since it become quite some work to
be sure we have the correct timeout set.
Jeff then provided the new CURLMOPT_TIMERFUNCTION that is yet another
callback the app can set to get to know when the general timeout time
changes and thus for an application like hiperfifo.c it makes everything a
lot easier and nicer. There's a CURLMOPT_TIMERDATA option too of course in
good old libcurl tradition.
2006-10-12 08:36:47 +00:00
Daniel Stenberg
e7742bfb7c
the textual arraw for "Send SSL data" was the wrong way
2006-10-12 08:14:13 +00:00
Yang Tse
22307ae0ee
Inclusion of time header files based on header existance
2006-10-12 03:57:33 +00:00
Yang Tse
e150150d9f
Remove redundant __CYGWIN__ symbol check
2006-10-11 16:01:16 +00:00
Yang Tse
943f0733bb
Compiler warning fix
2006-10-10 23:58:02 +00:00
Yang Tse
8274447dd9
Call curl_global_cleanup() in all code paths before exiting test
2006-10-10 23:50:37 +00:00
Daniel Stenberg
083a84e5d0
repair id string
2006-10-10 19:48:24 +00:00
Daniel Stenberg
d5eb386d00
Added ghiper.c, Jeff Pohlmeyer's example code using the curl_multi_socket()
...
API with glib2
2006-10-10 19:46:57 +00:00