Commit Graph

5764 Commits

Author SHA1 Message Date
Daniel Stenberg
b3b2ba31f7 Gisle Vanem:
Basically in loops like handle_errors(), 'query->next' was assigned a local
variable and then query was referenced after the memory was freed by
next_server(). I've changed that so next_server() and end_query() returns the
next query. So callers should use this ret-value.

The next problem was that 'server->tcp_buffer_pos' had a random value at entry
to 1st recv() (luckily causing Winsock to return ENOBUFS).

I've also added a ares_writev() for Windows to streamline the code
a bit more.
2004-07-24 21:47:49 +00:00
Daniel Stenberg
7f78bc3c6d autobuilds with ares and curl_easy_reset() 2004-07-24 21:43:33 +00:00
Daniel Stenberg
f508f30fb6 curl_easy_reset() added. Need testing and docs. I also think we should make
the initial setting up the struct should use this single function to avoid
having the initialisation code at two places.
2004-07-24 21:31:01 +00:00
Daniel Stenberg
d20a05161a AM_PROG_LIBTOOL is deprecated and AC_PROG_LIBTOOL should be used instead 2004-07-24 21:29:43 +00:00
Daniel Stenberg
6769ab2797 if --enable-ares is used, we must run 'buildconf' in the ares dir before
we run configure.
2004-07-24 21:24:03 +00:00
Daniel Stenberg
85867cbe94 --enable-debug now makes the lib built static only since otherwise we
get problems
2004-07-24 21:22:46 +00:00
Daniel Stenberg
5e8d3988a2 generate the new configure better 2004-07-24 06:29:38 +00:00
Daniel Stenberg
1cd0a08575 now generated by automake 2004-07-23 18:34:21 +00:00
Daniel Stenberg
efd71af2a1 buildconf and memanalyze are parts of the plain release 2004-07-22 22:23:34 +00:00
Daniel Stenberg
2ea80c29fa Added buildconf buildconf.bat to the dist 2004-07-22 22:22:49 +00:00
Daniel Stenberg
e3fc0d5e78 refer bug reports to the mailing lists, not the old email alias 2004-07-22 22:22:29 +00:00
Daniel Stenberg
33f42aacca recent activities 2004-07-22 22:20:07 +00:00
Daniel Stenberg
c85bf83e88 - Fixed a few variable return types for some system calls. Made configure
check for ssize_t to make it possible to use that when receiving the send()
  error code. This is necessary to prevent compiler warnings on some systems.

- Made configure create config.h, and all source files now include setup.h that
  might include the proper config.h (or a handicrafted alternative).

- Switched to 'ares_socket_t' type for sockets in ares, since Windows don't
  use 'int' for that.

- automake-ified and libool-ified c-ares. Now it builds libcares as a shared
  lib on most platforms if wanted. (This bloated the size of the release
  archive with another 200K!)

- Makefile.am now uses Makefile.inc for the c sources, h headers and man
  pages, to make it easier for other makefiles to use the exact same set of
  files.

- Adjusted 'maketgz' to use the new automake magic when building distribution
  archives.
2004-07-22 22:18:45 +00:00
Daniel Stenberg
060b6ce148 the multi interface is not so new anymore! 2004-07-17 08:24:22 +00:00
Daniel Stenberg
35618b4712 minor format fix 2004-07-17 08:22:50 +00:00
Daniel Stenberg
cd2e99e980 deal with negative Content-Length: headers by ignoring the info 2004-07-16 21:01:16 +00:00
Daniel Stenberg
0359ae8f40 test downloading from a server claiming negative content-length 2004-07-16 21:00:50 +00:00
Gunter Knauf
972d39234f removed Makefile.b32.resp from repository. 2004-07-16 10:14:51 +00:00
Gunter Knauf
798349fce6 removed Makefile.b32.resp from the list. 2004-07-16 09:23:29 +00:00
Gunter Knauf
9612fda886 changed to use a temporary response file with tlib to give W9x a chance to build; looks ugly but works fine. 2004-07-16 09:20:57 +00:00
Gunter Knauf
4b217efb84 added borland-ssl and borland-ssl-zlib targets. 2004-07-15 22:20:52 +00:00
Gunter Knauf
555cfb3059 fixed zlib suport. 2004-07-15 21:54:10 +00:00
Gunter Knauf
c0d1d6926c some more tweaks, fixed zlib suport. 2004-07-15 21:51:59 +00:00
Gunter Knauf
fca8fcec3e added just another switch. 2004-07-15 19:36:30 +00:00
Gunter Knauf
6844d5dcad removed old CXXFLAGS; added switch to suppress linker banner. 2004-07-15 18:17:15 +00:00
Gunter Knauf
d759e97166 removed unneeded libs from linking. 2004-07-15 17:21:07 +00:00
Daniel Stenberg
cbfc737d79 recent activities 2004-07-15 09:03:32 +00:00
Gunter Knauf
ab64bf6fb1 added Borland support. 2004-07-15 02:34:58 +00:00
Gunter Knauf
0b0d20021c made OpenSSL support conditional. 2004-07-15 02:09:40 +00:00
Gunter Knauf
932a6f6b77 made OpenSSL support conditional;
removed ugly dependence on Makefile.b32.resp.
2004-07-15 01:59:59 +00:00
Gunter Knauf
1318760ad2 Gisle's fix to support Borland builds again. 2004-07-15 01:08:08 +00:00
Daniel Stenberg
15a403a98d now known as libcurl-tutorial.3 2004-07-14 15:33:27 +00:00
Daniel Stenberg
a92b7c1b16 Jason Nye pointed out that callbacks don't need to use the "C namespace" 2004-07-14 15:32:09 +00:00
Daniel Stenberg
0c54013ee3 An Andres Garcia fix: add a typecast to make it work better 2004-07-14 14:20:53 +00:00
Daniel Stenberg
ca5d1e7a8d removed the config-netware.h from the release archives 2004-07-14 14:18:31 +00:00
Gunter Knauf
40a39e2270 some more fixes; added cw32mt.lib, winmm.lib to the link libs for curl.exe. 2004-07-14 12:12:08 +00:00
Gunter Knauf
982530b186 changed Borland target since Borland's make doesnt understand '&'. 2004-07-14 11:39:29 +00:00
Gunter Knauf
fadc08445a changed to use Makefile.inc. 2004-07-14 11:30:01 +00:00
Gunter Knauf
783381c163 updated for current cvs sources; looking for getting rid of this file.... 2004-07-13 20:02:31 +00:00
Gunter Knauf
5f26bee7c8 changed to use Makefile.inc. 2004-07-13 20:01:15 +00:00
Gunter Knauf
2be57d0833 minor corrections. 2004-07-12 11:29:36 +00:00
Gunter Knauf
6e6748f051 changed to use Makefile.inc since Gisle agreed. 2004-07-11 23:43:32 +00:00
Gunter Knauf
a8d544d9b3 minor cleanup. 2004-07-11 18:14:11 +00:00
Gunter Knauf
5f1490e1bd added some lines to fetch ares version. 2004-07-11 17:59:07 +00:00
Gunter Knauf
2c3e557b5c updated MSVC build instructions. 2004-07-11 13:49:52 +00:00
Gunter Knauf
08df4b8971 changed paths to external libs to recent versions. 2004-07-11 13:49:18 +00:00
Gunter Knauf
11f58ea896 added new vc-zlib target. 2004-07-11 12:31:29 +00:00
Gunter Knauf
15f3b4b6d1 removed zlib dependence from default target; added new zlib targets. 2004-07-11 12:28:07 +00:00
Gunter Knauf
35270e50c2 removed obsolete NetWare config files;
we generate now config.h dynamically from Makefile.
2004-07-11 09:31:53 +00:00
Gunter Knauf
8c975657e7 added ifdef for NetWare to ares.h. 2004-07-11 08:30:23 +00:00