Daniel Stenberg
e5b0533dab
Gregor Jasny provided the patch that introduces ares_set_socket_callback(),
...
and I edited it to also get duped by ares_dup().
2008-12-04 12:53:03 +00:00
Dan Fandrich
a2a315a6e8
Bring the sys/include.h include test in line with curl's.
2008-12-04 07:18:13 +00:00
Dan Fandrich
7abdc4b218
Fixed the getifaddrs version of Curl_if2ip to work on systems without IPv6
...
support (e.g. Minix)
2008-12-04 06:24:00 +00:00
Daniel Stenberg
479ddb1fee
- Igor Novoseltsev filed bug #2351645
...
(http://curl.haxx.se/bug/view.cgi?id=2351645 ) that identified a problem with
the multi interface that occured if you removed an easy handle while in
progress and the handle was used in a HTTP pipeline.
2008-12-03 15:20:27 +00:00
Daniel Stenberg
4ee27b4594
filled in SONAME number bump info, after some CVS digging
2008-12-03 15:20:06 +00:00
Daniel Stenberg
58ebde9502
- Pawel Kierski pointed out a mistake in the cookie code that could lead to a
...
bad fclose() after a fatal error had occured.
(http://curl.haxx.se/bug/view.cgi?id=2382219 )
2008-12-03 15:08:09 +00:00
Daniel Stenberg
04ee89493e
Let's not call ares_save_options() deprecated just yet
2008-12-03 10:03:07 +00:00
Daniel Stenberg
dd3594c6b3
Introduce ares_dup(3) and new thoughts about API/ABI and how to move forwards.
...
Also discussed on the ml.
2008-12-03 09:59:50 +00:00
Daniel Stenberg
f7ea431516
explain the two *channel_inuse fields somewhat better
2008-12-02 23:00:10 +00:00
Dan Fandrich
16a153468d
Make sure sys/socket.h is included before netinet/in.h (required by
...
OpenWatcom C, and condoned by SUS)
2008-12-02 02:58:04 +00:00
Daniel Stenberg
b062212e55
minor indent fix
2008-12-01 22:36:39 +00:00
Daniel Stenberg
39eb96e9ff
Convert the public config struct to the same binary size/construct as in the
...
latest releases to remain ABI compatible.
2008-12-01 19:06:24 +00:00
Daniel Stenberg
4c84f6b423
added some more entries for stuff done the last ~2 years
2008-12-01 18:46:31 +00:00
Daniel Stenberg
0b2ae71f8b
People have successfully ran libcurl on iphone
2008-11-30 22:51:54 +00:00
Yang Tse
39d0b57ebf
Further adjust a libssh2 preprocessor function-symbol definition check
2008-11-29 17:45:16 +00:00
Yang Tse
c036f6ae2d
Adjust some libssh2 preprocessor symbol definition checks
2008-11-29 16:39:56 +00:00
Gisle Vanem
e35e2ea6ec
Added '-DHAVE_GETHOSTNAME'.
2008-11-29 15:19:46 +00:00
Dan Fandrich
f33f8eee26
Make sure sys/socket.h is included before netinet/in.h (required by
...
OpenWatcom C)
2008-11-29 00:26:07 +00:00
Dan Fandrich
31a3f064c0
Netware has gethostname()
2008-11-28 23:34:39 +00:00
Dan Fandrich
232518a219
Fixed a couple of typos
2008-11-28 23:24:06 +00:00
Dan Fandrich
bc165078a2
Don't tweak the HAVE_* macros when using autoconf
2008-11-28 23:12:11 +00:00
Dan Fandrich
e4dabef0c7
Make use of gethostname() conditional on it being available
2008-11-28 22:41:14 +00:00
Dan Fandrich
00142d8443
Only set TCP_NODELAY when it exists
2008-11-28 22:07:40 +00:00
Daniel Stenberg
1b0b7fa0e1
updated with changes, preparing for a release soon
2008-11-28 15:44:01 +00:00
Yang Tse
67fb731ec4
Gerald Combs fixed a bug in ares_parse_ptr_reply() which would cause a
...
buffer to shrink instead of expand if a reply contained 8 or more records.
2008-11-26 17:04:35 +00:00
Yang Tse
a30a6f2f20
Brad Spencer provided changes to allow buildconf to work on OS X.
2008-11-26 16:51:51 +00:00
Daniel Stenberg
baeebb2b57
narrow the comment to < 80 columns
2008-11-26 12:35:24 +00:00
Dan Fandrich
ecc6f550eb
Added tests 1087 and 1088 to test Basic authentication on a redirect
...
with and without --location-trusted
2008-11-25 23:30:53 +00:00
Dan Fandrich
640974fb28
If a HTTP request is Basic and num is already >=1000, the HTTP test server
...
adds 1 to num to get the data section to return. This allows testing
authentication negotiations using the Basic authentication method.
2008-11-25 23:23:47 +00:00
Yang Tse
3b0c5ae467
In preparation for the upcomming IPv6 nameservers patch, the internal
...
ares_addr union is now changed into an internal struct which also holds
the address family.
2008-11-25 16:26:58 +00:00
Dan Fandrich
0fa14c8662
Fully clean up after test 608 so that it can be run twice in succession.
2008-11-24 22:06:43 +00:00
Daniel Stenberg
d17be0df52
191 - "proposed patch for curl/libssh2 bugfix"
...
http://curl.haxx.se/mail/archive-2008-10/0000.html
Done!
2008-11-24 14:05:05 +00:00
Daniel Stenberg
53a8a6e5a6
- Based on a patch by Vlad Grachov, libcurl now uses a new libssh2 0.19
...
function when built to support SCP and SFTP that helps the library to know
in which direction a particular libssh2 operation would return EAGAIN so
that libcurl knows what socket conditions to wait for before trying the
function call again. Previously (and still when using libssh2 0.18 or
earlier), libcurl will busy-loop in this situation when the easy interface
is used!
2008-11-24 13:59:51 +00:00
Daniel Stenberg
dd2fc45c27
Markus Koetter's adaptation of hiperfifo.c to instead use libev
2008-11-21 10:10:33 +00:00
Daniel Stenberg
ba9f8c674c
restored from my messy previous commit mistake
2008-11-21 07:47:31 +00:00
Dan Fandrich
c4f4fa4089
Automatically detect OpenBSD's CA cert bundle.
2008-11-21 06:36:21 +00:00
Dan Fandrich
32634b0771
Make checking for struct ifreq a prerequisite for setting
...
HAVE_IOCTL_SIOCGIFADDR since it's needed to use SIOCGIFADDR and Watcom C
doesn't currently define it.
2008-11-20 07:59:26 +00:00
Daniel Stenberg
c97b66287c
use unsigned short better intead of mixing with ints to prevent compiler
...
warnings
2008-11-20 07:50:48 +00:00
Daniel Stenberg
cd6fc8a8ef
please the picky compilers by staying with short as the data we get is short
...
only
2008-11-20 07:41:26 +00:00
Daniel Stenberg
3308781376
194 - remove "Pragma: no-cache" from default HTTP requests
...
done!
2008-11-19 22:02:38 +00:00
Daniel Stenberg
40e8b4e527
- I removed the default use of "Pragma: no-cache" from libcurl when a proxy is
...
used. It has been used since forever but it was never a good idea to use
unless explicitly asked for.
2008-11-19 22:00:14 +00:00
Daniel Stenberg
4741e64c89
Josef Wolf's extension that allows a $TESTDIR/gdbinit$testnum file that when
...
you use runtests.pl -g, will be sourced by gdb to allow additional fancy
or whatever you see fit
2008-11-19 21:56:11 +00:00
Daniel Stenberg
0b489c7e61
and now it compiles too!
2008-11-19 15:31:55 +00:00
Daniel Stenberg
22d4db1cf2
I updated this example to use the modern paradigms of the socket API where
...
*_socket_all() and *_socket() aren't used at all but only *_socket_action()
is.
2008-11-19 15:30:41 +00:00
Daniel Stenberg
7383225271
- Brad Spencer brought the new function ares_gethostbyname_file() which simply
...
resolves a host name from the given file, using the regular hosts syntax.
2008-11-19 15:16:16 +00:00
Daniel Stenberg
4b3ae5e157
- Christian Krause reported and fixed a memory leak that would occur with HTTP
...
GSS/kerberos authentication (http://curl.haxx.se/bug/view.cgi?id=2284386 )
2008-11-19 14:22:01 +00:00
Daniel Stenberg
797bc8504c
- Andreas Wurf and Markus Koetter helped me analyze a problem that Andreas got
...
when uploading files to a single FTP server using multiple easy handle
handles with the multi interface. Occasionally a handle would stall in
mysterious ways.
The problem turned out to be a side-effect of the ConnectionExists()
function's eagerness to re-use a handle for HTTP pipelining so it would
select it even if already being in use, due to an inadequate check for its
chances of being used for pipelnining.
2008-11-19 10:15:19 +00:00
Yang Tse
305f4d92ef
user provided PATH_SEPARATOR always overrides auto-detected one
2008-11-19 01:57:27 +00:00
Yang Tse
c36f0e71b6
attempting to keep lines below 80 chars
2008-11-18 20:13:55 +00:00
Dan Fandrich
a028c69f48
Avoid creating garbage on an OOM error
2008-11-18 19:58:44 +00:00