Bill Hoffman
f5f9354093
ENH: add nonblock.c to build for CMake
2009-07-14 13:35:10 +00:00
Bill Hoffman
600460ffc6
ENH: do not report if zlib is not found as it still works
2009-07-14 13:34:37 +00:00
Gunter Knauf
18b3833f90
renamed generated config.h to curl_config.h in order to avoid clashes when libcurl is used with other projects which also have a config.h.
2009-07-14 13:30:24 +00:00
Gunter Knauf
f671d0513c
renamed generated config.h to curl_config.h in order to avoid clashes when libcurl is used with other projects which also have a config.h.
2009-07-14 13:25:14 +00:00
Gunter Knauf
100f6b7703
added PKG_CONFIG_PATH to output to better verify if it gets properly set with cross compiles.
2009-07-13 23:33:57 +00:00
Daniel Stenberg
4e75c70874
silence a compiler warning
2009-07-11 09:57:54 +00:00
Daniel Stenberg
bdbfe1f8a9
add these new files to CVS as well
2009-07-09 21:55:26 +00:00
Daniel Stenberg
bea9d2cafd
241 - expose Curl_nonblock as curlx_nonblock
...
done
2009-07-09 21:50:33 +00:00
Daniel Stenberg
d709cb2ae3
- Eric Wong introduced curlx_nonblock() that the curl tool now (re-)uses for
...
setting a file descriptor non-blocking. Used by the functionality Eric
himself brough on June 15th.
2009-07-09 21:47:24 +00:00
Daniel Stenberg
444bb03fab
240 - GnuTLS configure fix to find older installations
...
done
2009-07-09 21:15:12 +00:00
Daniel Stenberg
966cc10fcc
bring back the libgnutls-config use for checking for GnuTLS if pkg-config
...
doesn't work, to better fine older gnutls installs
2009-07-09 18:10:25 +00:00
Daniel Stenberg
0c7087c41f
two more pending issues
2009-07-09 16:39:38 +00:00
Daniel Stenberg
c42a06bc1f
245 - HTTP version getinfo
2009-07-08 16:59:11 +00:00
Daniel Stenberg
b4c00a8fb0
updated with the actions I want to have done before the 7.19.6 release
2009-07-08 08:51:32 +00:00
Daniel Stenberg
f3403d4c5b
Markus Koetter's man page updates for the FTPPORT ranges
2009-07-08 07:20:42 +00:00
Daniel Stenberg
5cf78472e1
- Constantine Sapuntzakis posted bug report #2813123
...
(http://curl.haxx.se/bug/view.cgi?id=2813123 ) and an a patch that fixes the
problem:
Url A is accessed using auth. Url A redirects to Url B (on a different
server0. Url B reuses a persistent connection. Url B has auth, even though
it's on a different server.
Note: if Url B does not reuse a persistent connection, auth is not sent.
2009-07-08 07:00:40 +00:00
Gunter Knauf
2aaff16a87
added INET_ADDRSTRLEN define in case system headers dont provide.
2009-07-04 11:27:42 +00:00
Gunter Knauf
6236198d43
removed NIFLAGS which is no longer used; added NI_MAXHOST since its missing with some platforms.
2009-07-04 11:06:00 +00:00
Gunter Knauf
83fb285d40
Markus Koetter provided a patch to avoid getnameinfo() usage which broke a couple of both IPv4 and IPv6 autobuilds.
2009-07-04 01:04:23 +00:00
Daniel Stenberg
3050f10676
silly typo, pointed out by Fabian Keil
2009-06-30 21:32:52 +00:00
Daniel Stenberg
175fc5096d
Tor Arntsen pointed out a missing #ifdef for IPv6, and I changed another one
...
to use the "standard" ENABLE_IPV6 one. Also, if port number cannot be figured
out to connect to after a name resolve (due to it not being IPv4 or IPv6),
that particular address will now simply be skipped.
2009-06-30 21:30:39 +00:00
Daniel Stenberg
18f238dd53
my CURLINFO_CERTINFO fix
2009-06-29 20:46:50 +00:00
Daniel Stenberg
4f551259dd
- Markus Koetter made CURLOPT_FTPPORT (and curl's -P/--ftpport) support a port
...
range if given colon-separated after the host name/address part. Like
"192.168.0.1:2000-10000"
2009-06-29 20:46:01 +00:00
Daniel Stenberg
9cb68c6e32
- Modified the separators used for CURLOPT_CERTINFO in multi-part outputs. I
...
don't know how they got wrong in the first place, but using this output
format makes it possible to quite easily separate the string into an array
of multiple items.
2009-06-29 20:45:42 +00:00
Dan Fandrich
a9a89c604a
Fixed a compiler warning.
2009-06-27 06:05:08 +00:00
Yang Tse
e96a9190a3
Refactor how libraries are checked for connect() function, follow-up.
2009-06-21 02:42:34 +00:00
Yang Tse
1ff4e9008b
Refactor how libraries are checked for connect() function,
...
and check for connect() as it is done for other functions.
2009-06-20 17:24:43 +00:00
Gisle Vanem
2d716517a8
Remove unneeded defines.
2009-06-20 13:08:53 +00:00
Gisle Vanem
22226a8aec
Use select_s() and not select().
2009-06-20 13:07:59 +00:00
Gunter Knauf
9b8e56c97c
avoid pressanykey() call when curl finishes and was launched from bash.
2009-06-20 10:19:49 +00:00
Michal Marek
ad1bfc5468
fix indentation.
2009-06-19 10:20:28 +00:00
Yang Tse
2c0c05e96d
sclose() function-like macro definition used to close a socket,
...
now solely based on HAVE_CLOSESOCKET and HAVE_CLOSESOCKET_CAMEL
config file preprocessor definitions.
2009-06-19 00:41:03 +00:00
Yang Tse
d6d63147b6
add CloseSocket camel case function check
2009-06-18 12:36:10 +00:00
Yang Tse
98f7771d74
check for socket() and closesocket() as it is done for other functions
2009-06-17 12:52:46 +00:00
Yang Tse
37eba37019
socket() and closesocket() prototypes might be in socket.h
2009-06-17 12:51:24 +00:00
Yang Tse
40b2f2553b
check for socket() and closesocket() as it is done for other functions
2009-06-17 09:12:19 +00:00
Dan Fandrich
d3e35d49ae
Added a few more compiler warning options for gcc.
2009-06-17 02:26:39 +00:00
Daniel Stenberg
a0474685c1
- Reuven Wachtfogel made curl -o - properly produce a binary output on windows
...
(no newline translations). Use -B/--use-ascii if you rather get the ascii
approach.
2009-06-16 18:03:28 +00:00
Michal Marek
0b317b72ae
- When doing non-anonymous ftp via http proxies and the password is not
...
provided in the url, add it there (squid needs this).
2009-06-16 13:16:28 +00:00
Yang Tse
afe06d1563
fix compiler warning
2009-06-16 00:06:30 +00:00
Gunter Knauf
c40365e9b6
fixed TRUE/FALSE case typo.
2009-06-15 23:45:59 +00:00
Daniel Stenberg
4b6d3a2bfd
- Eric Wong's patch:
...
This allows curl(1) to be used as a client-side tunnel for arbitrary stream
protocols by abusing chunked transfer encoding in both the HTTP request and
HTTP response. This requires server support for sending a response while a
request is still being read, of course.
If attempting to read from stdin returns EAGAIN, then we pause our sender.
This leaves curl to attempt to read from the socket while reading from stdin
(and thus sending) is paused.
2009-06-15 21:13:00 +00:00
Daniel Stenberg
7ae624e700
curl_multi_socket_action() is the one to use nowadays, as Mohun Biswas
...
pointed out!
2009-06-15 20:49:23 +00:00
Patrick Monnerat
c32cf33a16
Replaced use of standard C library rand()/srand() by our own pseudo-random number generator.
2009-06-15 10:15:28 +00:00
Yang Tse
7eb59de7df
DEBUGBUILD / CURLDEBUG decoupling follow-up
2009-06-15 02:30:22 +00:00
Yang Tse
5931cf77f4
DEBUGBUILD / CURLDEBUG decoupling follow-up
2009-06-15 02:29:49 +00:00
Yang Tse
989aace192
Remove HAVE_CONFIG_H definition from here,
...
CFLAGS from common.dj already defines it.
2009-06-13 20:52:30 +00:00
Yang Tse
65cf30e441
add default USE_CURLDEBUG setting
2009-06-13 20:47:19 +00:00
Yang Tse
d4480c979d
initial step towards decoupling c-ares from libcurl for DOS
2009-06-13 18:13:00 +00:00
Yang Tse
169e94d68b
improve usability with UNIX-like shells or a DOS command interpreters
2009-06-13 18:11:17 +00:00