mirror of
https://github.com/moparisthebest/curl
synced 2025-02-28 01:11:47 -05:00
removed trailing whitespace
This commit is contained in:
parent
2268657272
commit
a07bc79117
30
CHANGES
30
CHANGES
@ -14,7 +14,7 @@ Daniel Stenberg (13 Feb 2010)
|
|||||||
- Martin Hager reported and fixed a problem with a missing quote in libcurl.m4
|
- Martin Hager reported and fixed a problem with a missing quote in libcurl.m4
|
||||||
|
|
||||||
(http://curl.haxx.se/bug/view.cgi?id=2951319)
|
(http://curl.haxx.se/bug/view.cgi?id=2951319)
|
||||||
|
|
||||||
- Tom Donovan fixed the CURL_FORMAT_* defines when building with cmake.
|
- Tom Donovan fixed the CURL_FORMAT_* defines when building with cmake.
|
||||||
|
|
||||||
(http://curl.haxx.se/bug/view.cgi?id=2951269)
|
(http://curl.haxx.se/bug/view.cgi?id=2951269)
|
||||||
@ -244,7 +244,7 @@ Daniel Stenberg (26 Dec 2009)
|
|||||||
Daniel Stenberg (17 Dec 2009)
|
Daniel Stenberg (17 Dec 2009)
|
||||||
- David Byron fixed Curl_ossl_cleanup to actually call ENGINE_cleanup when
|
- David Byron fixed Curl_ossl_cleanup to actually call ENGINE_cleanup when
|
||||||
available.
|
available.
|
||||||
|
|
||||||
- Follow-up fix for the proxy fix I did for Jon Nelson's bug. It turned out I
|
- Follow-up fix for the proxy fix I did for Jon Nelson's bug. It turned out I
|
||||||
was a bit too quick and broke test case 1101 with that change. The order of
|
was a bit too quick and broke test case 1101 with that change. The order of
|
||||||
some of the setups is sensitive. I now changed it slightly again to make
|
some of the setups is sensitive. I now changed it slightly again to make
|
||||||
@ -435,7 +435,7 @@ Daniel Stenberg (11 Nov 2009)
|
|||||||
in the DNS cache would linger too long if the request that added it was in
|
in the DNS cache would linger too long if the request that added it was in
|
||||||
use that long. He also provided the patch that now makes libcurl capable of
|
use that long. He also provided the patch that now makes libcurl capable of
|
||||||
still doing a request while the DNS hash entry may get timed out.
|
still doing a request while the DNS hash entry may get timed out.
|
||||||
|
|
||||||
- Christian Schmitz noticed that the progress meter/callback was not properly
|
- Christian Schmitz noticed that the progress meter/callback was not properly
|
||||||
used during the FTP connection phase (after the actual TCP connect), while
|
used during the FTP connection phase (after the actual TCP connect), while
|
||||||
it of course should be. I also made the speed check get called correctly so
|
it of course should be. I also made the speed check get called correctly so
|
||||||
@ -530,7 +530,7 @@ Daniel Stenberg (1 Oct 2009)
|
|||||||
him grief. This is a regression that was introduced in 7.19.1 and I find it
|
him grief. This is a regression that was introduced in 7.19.1 and I find it
|
||||||
strange it hasn't hit us harder, but I won't persue into figuring out
|
strange it hasn't hit us harder, but I won't persue into figuring out
|
||||||
exactly why.
|
exactly why.
|
||||||
|
|
||||||
- Constantine Sapuntzakis: The current implementation will always set
|
- Constantine Sapuntzakis: The current implementation will always set
|
||||||
SO_SNDBUF to CURL_WRITE_SIZE even if the SO_SNDBUF starts out larger. The
|
SO_SNDBUF to CURL_WRITE_SIZE even if the SO_SNDBUF starts out larger. The
|
||||||
patch doesn't do a setsockopt if SO_SNDBUF is already greater than
|
patch doesn't do a setsockopt if SO_SNDBUF is already greater than
|
||||||
@ -564,7 +564,7 @@ Daniel Stenberg (25 Sep 2009)
|
|||||||
(http://curl.haxx.se/bug/view.cgi?id=2861587) identifying that libcurl used
|
(http://curl.haxx.se/bug/view.cgi?id=2861587) identifying that libcurl used
|
||||||
the OpenSSL function X509_load_crl_file() wrongly and failed if it would
|
the OpenSSL function X509_load_crl_file() wrongly and failed if it would
|
||||||
load a CRL file with more than one certificate within. This is now fixed.
|
load a CRL file with more than one certificate within. This is now fixed.
|
||||||
|
|
||||||
Daniel Stenberg (16 Sep 2009)
|
Daniel Stenberg (16 Sep 2009)
|
||||||
- Sven Anders reported that we introduced a cert verfication flaw for OpenSSL-
|
- Sven Anders reported that we introduced a cert verfication flaw for OpenSSL-
|
||||||
powered libcurl in 7.19.6. If there was a X509v3 Subject Alternative Name
|
powered libcurl in 7.19.6. If there was a X509v3 Subject Alternative Name
|
||||||
@ -787,7 +787,7 @@ Michal Marek (15 Jul 2009)
|
|||||||
Guenter Knauf (14 Jul 2009)
|
Guenter Knauf (14 Jul 2009)
|
||||||
- renamed generated config.h to curl_config.h to avoid any future clashes
|
- renamed generated config.h to curl_config.h to avoid any future clashes
|
||||||
with config.h from other projects.
|
with config.h from other projects.
|
||||||
|
|
||||||
Daniel Stenberg (9 Jul 2009)
|
Daniel Stenberg (9 Jul 2009)
|
||||||
- Eric Wong introduced curlx_nonblock() that the curl tool now (re-)uses for
|
- Eric Wong introduced curlx_nonblock() that the curl tool now (re-)uses for
|
||||||
setting a file descriptor non-blocking. Used by the functionality Eric
|
setting a file descriptor non-blocking. Used by the functionality Eric
|
||||||
@ -1239,7 +1239,7 @@ Yang Tse (2 Apr 2009)
|
|||||||
|
|
||||||
Daniel Stenberg (1 Apr 2009)
|
Daniel Stenberg (1 Apr 2009)
|
||||||
- Andre Guibert de Bruet fixed a NULL pointer use in an infof() call if a
|
- Andre Guibert de Bruet fixed a NULL pointer use in an infof() call if a
|
||||||
strdup() call failed.
|
strdup() call failed.
|
||||||
|
|
||||||
Daniel Fandrich (31 Mar 2009)
|
Daniel Fandrich (31 Mar 2009)
|
||||||
- Properly return an error code in curl_easy_recv (reported by Jim Freeman).
|
- Properly return an error code in curl_easy_recv (reported by Jim Freeman).
|
||||||
@ -1248,7 +1248,7 @@ Daniel Stenberg (18 Mar 2009)
|
|||||||
- Kamil Dudka brought a patch that enables 6 additional crypto algorithms when
|
- Kamil Dudka brought a patch that enables 6 additional crypto algorithms when
|
||||||
NSS is used. These ciphers were added in NSS 3.4 and require to be enabled
|
NSS is used. These ciphers were added in NSS 3.4 and require to be enabled
|
||||||
explicitly.
|
explicitly.
|
||||||
|
|
||||||
Daniel Stenberg (13 Mar 2009)
|
Daniel Stenberg (13 Mar 2009)
|
||||||
- Use libssh2_version() to present the libssh2 version in case the libssh2
|
- Use libssh2_version() to present the libssh2 version in case the libssh2
|
||||||
library is found to support it.
|
library is found to support it.
|
||||||
@ -1268,8 +1268,8 @@ Yang Tse (11 Mar 2009)
|
|||||||
reported by Pierre Brico.
|
reported by Pierre Brico.
|
||||||
|
|
||||||
Daniel Stenberg (9 Mar 2009)
|
Daniel Stenberg (9 Mar 2009)
|
||||||
- Frank Hempel found out a bug and provided the fix:
|
- Frank Hempel found out a bug and provided the fix:
|
||||||
|
|
||||||
curl_easy_duphandle did not necessarily duplicate the CURLOPT_COOKIEFILE
|
curl_easy_duphandle did not necessarily duplicate the CURLOPT_COOKIEFILE
|
||||||
option. It only enabled the cookie engine in the destination handle if
|
option. It only enabled the cookie engine in the destination handle if
|
||||||
data->cookies is not NULL (where data is the source handle). In case of a
|
data->cookies is not NULL (where data is the source handle). In case of a
|
||||||
@ -1288,7 +1288,7 @@ Daniel Stenberg (9 Mar 2009)
|
|||||||
checkouts who don't do cvs update with the -d option won't get the new dirs
|
checkouts who don't do cvs update with the -d option won't get the new dirs
|
||||||
and then will get funny outputs that can be a bit hard to understand and
|
and then will get funny outputs that can be a bit hard to understand and
|
||||||
fix.
|
fix.
|
||||||
|
|
||||||
Daniel Stenberg (8 Mar 2009)
|
Daniel Stenberg (8 Mar 2009)
|
||||||
- Andre Guibert de Bruet found and fixed a code segment in ssluse.c where the
|
- Andre Guibert de Bruet found and fixed a code segment in ssluse.c where the
|
||||||
allocation of the memory BIO was not being properly checked.
|
allocation of the memory BIO was not being properly checked.
|
||||||
@ -1361,7 +1361,7 @@ Daniel Stenberg (25 Feb 2009)
|
|||||||
just to avoid it to fail very early when libgcrypt dislikes the situation,
|
just to avoid it to fail very early when libgcrypt dislikes the situation,
|
||||||
but that move was bad and the fix should rather be in libgcrypt or
|
but that move was bad and the fix should rather be in libgcrypt or
|
||||||
elsewhere.
|
elsewhere.
|
||||||
|
|
||||||
Daniel Stenberg (24 Feb 2009)
|
Daniel Stenberg (24 Feb 2009)
|
||||||
- Brian J. Murrell found out that Negotiate proxy authentication didn't work.
|
- Brian J. Murrell found out that Negotiate proxy authentication didn't work.
|
||||||
It happened because the code used the struct for server-based auth all the
|
It happened because the code used the struct for server-based auth all the
|
||||||
@ -1395,7 +1395,7 @@ Daniel Stenberg (20 Feb 2009)
|
|||||||
necessary to get read in ftp_done().
|
necessary to get read in ftp_done().
|
||||||
|
|
||||||
Daniel Stenberg (19 Feb 2009)
|
Daniel Stenberg (19 Feb 2009)
|
||||||
- Patrik Thunstrom reported a problem and helped me repeat it. It turned out
|
- Patrik Thunstrom reported a problem and helped me repeat it. It turned out
|
||||||
libcurl did a superfluous 1000ms wait when doing SFTP downloads!
|
libcurl did a superfluous 1000ms wait when doing SFTP downloads!
|
||||||
|
|
||||||
We read data with libssh2 while doing the "DO" operation for SFTP and then
|
We read data with libssh2 while doing the "DO" operation for SFTP and then
|
||||||
@ -1525,7 +1525,7 @@ Daniel Stenberg (26 Jan 2009)
|
|||||||
|
|
||||||
- Alexey Borzov filed bug report #2535504
|
- Alexey Borzov filed bug report #2535504
|
||||||
(http://curl.haxx.se/bug/view.cgi?id=2535504) pointing out that realms with
|
(http://curl.haxx.se/bug/view.cgi?id=2535504) pointing out that realms with
|
||||||
quoted quotation marks in HTTP Digest headers didn't work. I've now added
|
quoted quotation marks in HTTP Digest headers didn't work. I've now added
|
||||||
test case 1095 that verifies my fix.
|
test case 1095 that verifies my fix.
|
||||||
|
|
||||||
- Craig A West brought CURLOPT_NOPROXY and the corresponding --noproxy option.
|
- Craig A West brought CURLOPT_NOPROXY and the corresponding --noproxy option.
|
||||||
@ -1676,7 +1676,7 @@ Daniel Stenberg (29 Dec 2008)
|
|||||||
Daniel Stenberg (28 Dec 2008)
|
Daniel Stenberg (28 Dec 2008)
|
||||||
- Peter Korsgaard fixed building libcurl with "configure --with-ssl
|
- Peter Korsgaard fixed building libcurl with "configure --with-ssl
|
||||||
--disable-verbose".
|
--disable-verbose".
|
||||||
|
|
||||||
- Anthony Bryan fixed more language and spelling flaws in man pages.
|
- Anthony Bryan fixed more language and spelling flaws in man pages.
|
||||||
|
|
||||||
Daniel Stenberg (22 Dec 2008)
|
Daniel Stenberg (22 Dec 2008)
|
||||||
|
114
CHANGES.0
114
CHANGES.0
@ -2022,14 +2022,14 @@ Daniel S (22 October 2007)
|
|||||||
at connection cleanup, at which time the struct HandleData could be
|
at connection cleanup, at which time the struct HandleData could be
|
||||||
used by another connection.
|
used by another connection.
|
||||||
Also, the unused char *urlpath member is removed from struct FTP.
|
Also, the unused char *urlpath member is removed from struct FTP.
|
||||||
|
|
||||||
#2 - provide a Curl_reset_reqproto() function that frees
|
#2 - provide a Curl_reset_reqproto() function that frees
|
||||||
data->reqdata.proto.* on connection setup if needed (that is if the
|
data->reqdata.proto.* on connection setup if needed (that is if the
|
||||||
SessionHandle was used by a different connection).
|
SessionHandle was used by a different connection).
|
||||||
|
|
||||||
A long-term goal is of course to somehow get rid of how the reqdata struct
|
A long-term goal is of course to somehow get rid of how the reqdata struct
|
||||||
is used, as it is too error-prone.
|
is used, as it is too error-prone.
|
||||||
|
|
||||||
- Bug report #1815530 (http://curl.haxx.se/bug/view.cgi?id=1815530) points out
|
- Bug report #1815530 (http://curl.haxx.se/bug/view.cgi?id=1815530) points out
|
||||||
that specifying a proxy with a trailing slash didn't work (unless it also
|
that specifying a proxy with a trailing slash didn't work (unless it also
|
||||||
contained a port number).
|
contained a port number).
|
||||||
@ -2125,7 +2125,7 @@ Daniel S (26 September 2007)
|
|||||||
method to GET in the subsequent request (like it does for response code 302
|
method to GET in the subsequent request (like it does for response code 302
|
||||||
- because that's what many/most browsers do), but with this CURLOPT_POST301
|
- because that's what many/most browsers do), but with this CURLOPT_POST301
|
||||||
option enabled it will do what the spec says and do the next request using
|
option enabled it will do what the spec says and do the next request using
|
||||||
the same method again. I.e keep POST after 301.
|
the same method again. I.e keep POST after 301.
|
||||||
|
|
||||||
The curl tool got this option as --post301
|
The curl tool got this option as --post301
|
||||||
|
|
||||||
@ -2272,11 +2272,11 @@ Dan F (30 August 2007)
|
|||||||
CURLE_FTP_QUOTE_ERROR => CURLE_QUOTE_ERROR
|
CURLE_FTP_QUOTE_ERROR => CURLE_QUOTE_ERROR
|
||||||
CURLE_TFTP_DISKFULL => CURLE_REMOTE_DISK_FULL
|
CURLE_TFTP_DISKFULL => CURLE_REMOTE_DISK_FULL
|
||||||
CURLE_TFTP_EXISTS => CURLE_REMOTE_FILE_EXISTS
|
CURLE_TFTP_EXISTS => CURLE_REMOTE_FILE_EXISTS
|
||||||
CURLE_HTTP_RANGE_ERROR => CURLE_RANGE_ERROR
|
CURLE_HTTP_RANGE_ERROR => CURLE_RANGE_ERROR
|
||||||
|
|
||||||
The following options were renamed:
|
The following options were renamed:
|
||||||
|
|
||||||
CURLOPT_SSLKEYPASSWD => CURLOPT_KEYPASSWD
|
CURLOPT_SSLKEYPASSWD => CURLOPT_KEYPASSWD
|
||||||
CURLOPT_FTPAPPEND => CURLOPT_APPEND
|
CURLOPT_FTPAPPEND => CURLOPT_APPEND
|
||||||
CURLOPT_FTPLISTONLY => CURLOPT_DIRLISTONLY
|
CURLOPT_FTPLISTONLY => CURLOPT_DIRLISTONLY
|
||||||
CURLOPT_FTP_SSL => CURLOPT_USE_SSL
|
CURLOPT_FTP_SSL => CURLOPT_USE_SSL
|
||||||
@ -2552,7 +2552,7 @@ James H (5 July 2007)
|
|||||||
Daniel S (1 July 2007)
|
Daniel S (1 July 2007)
|
||||||
- Thomas J. Moore provided a patch that introduces Kerberos5 support in
|
- Thomas J. Moore provided a patch that introduces Kerberos5 support in
|
||||||
libcurl. This also makes the options change name to --krb (from --krb4) and
|
libcurl. This also makes the options change name to --krb (from --krb4) and
|
||||||
CURLOPT_KRBLEVEL (from CURLOPT_KRB4LEVEL) but the old names are still
|
CURLOPT_KRBLEVEL (from CURLOPT_KRB4LEVEL) but the old names are still
|
||||||
|
|
||||||
- Song Ma helped me verify and extend a fix for doing FTP over a SOCKS4/5
|
- Song Ma helped me verify and extend a fix for doing FTP over a SOCKS4/5
|
||||||
proxy.
|
proxy.
|
||||||
@ -2581,7 +2581,7 @@ Daniel S (25 June 2007)
|
|||||||
chunked encoding (that also lacks "Connection: close"). It now simply
|
chunked encoding (that also lacks "Connection: close"). It now simply
|
||||||
assumes that the connection WILL be closed to signal the end, as that is how
|
assumes that the connection WILL be closed to signal the end, as that is how
|
||||||
RFC2616 section 4.4 point #5 says we should behave.
|
RFC2616 section 4.4 point #5 says we should behave.
|
||||||
|
|
||||||
Version 7.16.3 (25 June 2007)
|
Version 7.16.3 (25 June 2007)
|
||||||
|
|
||||||
Daniel S (23 June 2007)
|
Daniel S (23 June 2007)
|
||||||
@ -2595,7 +2595,7 @@ Daniel S (21 June 2007)
|
|||||||
- Gerrit Bruchhäuser pointed out a warning that the Intel(R) Thread Checker
|
- Gerrit Bruchhäuser pointed out a warning that the Intel(R) Thread Checker
|
||||||
tool reports and it was indeed a legitimate one and it is one fixed. It was
|
tool reports and it was indeed a legitimate one and it is one fixed. It was
|
||||||
a use of a share without doing the proper locking first.
|
a use of a share without doing the proper locking first.
|
||||||
|
|
||||||
Daniel S (20 June 2007)
|
Daniel S (20 June 2007)
|
||||||
- Adam Piggott filed bug report #1740263
|
- Adam Piggott filed bug report #1740263
|
||||||
(http://curl.haxx.se/bug/view.cgi?id=1740263). Adam discovered that when
|
(http://curl.haxx.se/bug/view.cgi?id=1740263). Adam discovered that when
|
||||||
@ -2712,7 +2712,7 @@ Daniel S (24 May 2007)
|
|||||||
- Song Ma filed bug report #1724016
|
- Song Ma filed bug report #1724016
|
||||||
(http://curl.haxx.se/bug/view.cgi?id=1724016) noticing that downloading
|
(http://curl.haxx.se/bug/view.cgi?id=1724016) noticing that downloading
|
||||||
glob-ranges for TFTP was broken in CVS. Fixed now.
|
glob-ranges for TFTP was broken in CVS. Fixed now.
|
||||||
|
|
||||||
- 'mytx' in bug report #1723194 (http://curl.haxx.se/bug/view.cgi?id=1723194)
|
- 'mytx' in bug report #1723194 (http://curl.haxx.se/bug/view.cgi?id=1723194)
|
||||||
pointed out that the warnf() function in the curl tool didn't properly deal
|
pointed out that the warnf() function in the curl tool didn't properly deal
|
||||||
with the cases when excessively long words were used in the string to chop
|
with the cases when excessively long words were used in the string to chop
|
||||||
@ -3012,7 +3012,7 @@ Yang Tse (20 March 2007)
|
|||||||
Yang Tse (19 March 2007)
|
Yang Tse (19 March 2007)
|
||||||
- Bryan Henderson fixed the progress function so that it can get called more
|
- Bryan Henderson fixed the progress function so that it can get called more
|
||||||
frequently allowing same calling frecuency for the client progress callback.
|
frequently allowing same calling frecuency for the client progress callback.
|
||||||
|
|
||||||
Dan F (15 March 2007)
|
Dan F (15 March 2007)
|
||||||
- Various memory leaks plugged and NULL pointer fixes made in the ssh code.
|
- Various memory leaks plugged and NULL pointer fixes made in the ssh code.
|
||||||
|
|
||||||
@ -3090,11 +3090,11 @@ Daniel (27 February 2007)
|
|||||||
server through a proxy and have the remote https server port set using the
|
server through a proxy and have the remote https server port set using the
|
||||||
CURLOPT_PORT option, protocol gets reset to http from https after the first
|
CURLOPT_PORT option, protocol gets reset to http from https after the first
|
||||||
request.
|
request.
|
||||||
|
|
||||||
User defined URL was modified internally by libcurl and subsequent reuse of
|
User defined URL was modified internally by libcurl and subsequent reuse of
|
||||||
the easy handle may lead to connection using a different protocol (if not
|
the easy handle may lead to connection using a different protocol (if not
|
||||||
originally http).
|
originally http).
|
||||||
|
|
||||||
I found that libcurl hardcoded the protocol to "http" when it tries to
|
I found that libcurl hardcoded the protocol to "http" when it tries to
|
||||||
regenerate the URL if CURLOPT_PORT is set. I tried to fix the problem as
|
regenerate the URL if CURLOPT_PORT is set. I tried to fix the problem as
|
||||||
follows and it's working fine so far
|
follows and it's working fine so far
|
||||||
@ -3179,7 +3179,7 @@ Daniel (12 February 2007)
|
|||||||
- release tarballs made with maketgz will from now on have a LIBCURL_TIMESTAMP
|
- release tarballs made with maketgz will from now on have a LIBCURL_TIMESTAMP
|
||||||
define set to hold the exact date and time of when the tarball was built, as
|
define set to hold the exact date and time of when the tarball was built, as
|
||||||
a human readable string using the UTC time zone.
|
a human readable string using the UTC time zone.
|
||||||
|
|
||||||
- Jeff Pohlmeyer fixed a flaw in curl_multi_add_handle() when adding a handle
|
- Jeff Pohlmeyer fixed a flaw in curl_multi_add_handle() when adding a handle
|
||||||
that has an easy handle present in the "closure" list pending closure.
|
that has an easy handle present in the "closure" list pending closure.
|
||||||
|
|
||||||
@ -3703,7 +3703,7 @@ Daniel (6 September 2006)
|
|||||||
an FTP connection.
|
an FTP connection.
|
||||||
|
|
||||||
This is a major change.
|
This is a major change.
|
||||||
|
|
||||||
Daniel (4 September 2006)
|
Daniel (4 September 2006)
|
||||||
- Dmitry Rechkin (http://curl.haxx.se/bug/view.cgi?id=1551412) provided a
|
- Dmitry Rechkin (http://curl.haxx.se/bug/view.cgi?id=1551412) provided a
|
||||||
patch that while not fixing things very nicely, it does make the SOCKS5
|
patch that while not fixing things very nicely, it does make the SOCKS5
|
||||||
@ -4433,7 +4433,7 @@ Daniel (6 December 2005)
|
|||||||
given a too long URL.
|
given a too long URL.
|
||||||
|
|
||||||
These overflows happen if you
|
These overflows happen if you
|
||||||
|
|
||||||
1 - pass in a URL with no protocol (like "http://") prefix, using no slash
|
1 - pass in a URL with no protocol (like "http://") prefix, using no slash
|
||||||
and the string is 256 bytes or longer. This leads to a single zero byte
|
and the string is 256 bytes or longer. This leads to a single zero byte
|
||||||
overflow of the malloced buffer.
|
overflow of the malloced buffer.
|
||||||
@ -4900,7 +4900,7 @@ Daniel (6 June 2005)
|
|||||||
executable, while is just a local directory (I have . in the PATH)
|
executable, while is just a local directory (I have . in the PATH)
|
||||||
|
|
||||||
2) I got several warning for head -1 deprecated in favour of head -n 1
|
2) I got several warning for head -1 deprecated in favour of head -n 1
|
||||||
|
|
||||||
3) ares directory is missing some file (missing is missing :-) ) because
|
3) ares directory is missing some file (missing is missing :-) ) because
|
||||||
automake and friends is not run.
|
automake and friends is not run.
|
||||||
|
|
||||||
@ -4987,7 +4987,7 @@ Version 7.14.0-pre2 (11 May 2005)
|
|||||||
Daniel (11 May 2005)
|
Daniel (11 May 2005)
|
||||||
- Starting now, libcurl sends a little different set of headers in its default
|
- Starting now, libcurl sends a little different set of headers in its default
|
||||||
HTTP requests:
|
HTTP requests:
|
||||||
|
|
||||||
A) Normal non-proxy HTTP:
|
A) Normal non-proxy HTTP:
|
||||||
- no more "Pragma: no-cache" (this only makes sense to proxies)
|
- no more "Pragma: no-cache" (this only makes sense to proxies)
|
||||||
|
|
||||||
@ -8083,7 +8083,7 @@ Version 7.10.8-pre1 (8 September 2003)
|
|||||||
Daniel (7 September)
|
Daniel (7 September)
|
||||||
- Jurij Smakov found out that the non-OpenSSL MD5 code was not working on
|
- Jurij Smakov found out that the non-OpenSSL MD5 code was not working on
|
||||||
Alpha (or ia64). Only the OpenSSL-version did. I made a fix I think corrects
|
Alpha (or ia64). Only the OpenSSL-version did. I made a fix I think corrects
|
||||||
the problem.
|
the problem.
|
||||||
|
|
||||||
Daniel (5 September)
|
Daniel (5 September)
|
||||||
- Kevin Fisk reported that configure --enable-thread didn't work. I fixed.
|
- Kevin Fisk reported that configure --enable-thread didn't work. I fixed.
|
||||||
@ -8102,7 +8102,7 @@ Early (4 September)
|
|||||||
- include/curl/curl.h
|
- include/curl/curl.h
|
||||||
Added option CURLOPT_FTP_RESPONSE_TIMEOUT
|
Added option CURLOPT_FTP_RESPONSE_TIMEOUT
|
||||||
- lib/ftp.c
|
- lib/ftp.c
|
||||||
Added branch inside Curl_GetFTPResponse to check for
|
Added branch inside Curl_GetFTPResponse to check for
|
||||||
data->set.ftp_response_timeout
|
data->set.ftp_response_timeout
|
||||||
- lib/url.c
|
- lib/url.c
|
||||||
Modified Curl_setopt to recognize CURLOPT_FTP_RESPONSE_TIMEOUT
|
Modified Curl_setopt to recognize CURLOPT_FTP_RESPONSE_TIMEOUT
|
||||||
@ -8264,7 +8264,7 @@ Early (6 August)
|
|||||||
- Added option CURLOPT_FTP_CREATE_MISSING_DIRS
|
- Added option CURLOPT_FTP_CREATE_MISSING_DIRS
|
||||||
This option will force the target file's path to be created if it
|
This option will force the target file's path to be created if it
|
||||||
does not already exist on the remote system.
|
does not already exist on the remote system.
|
||||||
|
|
||||||
Files affected:
|
Files affected:
|
||||||
- include/curl/curl.h
|
- include/curl/curl.h
|
||||||
Added option CURLOPT_FTP_CREATE_MISSING_DIRS
|
Added option CURLOPT_FTP_CREATE_MISSING_DIRS
|
||||||
@ -8276,12 +8276,12 @@ Early (6 August)
|
|||||||
Modified ftp_perform() to call its change directory function
|
Modified ftp_perform() to call its change directory function
|
||||||
through a pointer. The pointer points to ftp_cwd by default,
|
through a pointer. The pointer points to ftp_cwd by default,
|
||||||
and is modified to point to ftp_force_cwd IFF
|
and is modified to point to ftp_force_cwd IFF
|
||||||
data->set.ftp_create_missing_dirs is not 0.
|
data->set.ftp_create_missing_dirs is not 0.
|
||||||
- lib/url.c
|
- lib/url.c
|
||||||
Modified Curl_setopt to recognize CURLOPT_FTP_CREATE_MISSING_DIRS
|
Modified Curl_setopt to recognize CURLOPT_FTP_CREATE_MISSING_DIRS
|
||||||
- lib/urldata.h
|
- lib/urldata.h
|
||||||
Added ftp_create_missing_dirs to struct UserDefined
|
Added ftp_create_missing_dirs to struct UserDefined
|
||||||
|
|
||||||
- Minor Bugfix for CURLOPT_TIMECONDITION with FTP - if the file was not
|
- Minor Bugfix for CURLOPT_TIMECONDITION with FTP - if the file was not
|
||||||
present to do the time comparison, it would fail.
|
present to do the time comparison, it would fail.
|
||||||
Files affected:
|
Files affected:
|
||||||
@ -8292,9 +8292,9 @@ Early (6 August)
|
|||||||
return result;
|
return result;
|
||||||
And then by the code that actually did the time comparison.
|
And then by the code that actually did the time comparison.
|
||||||
The code that did the comparison handled the case where the filetime
|
The code that did the comparison handled the case where the filetime
|
||||||
was not available (as indicated by info.filetime < 0 or set.timevalue
|
was not available (as indicated by info.filetime < 0 or set.timevalue
|
||||||
< 0), so I replaced the if (result) return result with a switch(result)
|
< 0), so I replaced the if (result) return result with a switch(result)
|
||||||
that allows CURLE_FTP_COULDNT_RETR_FILE to fall through to the
|
that allows CURLE_FTP_COULDNT_RETR_FILE to fall through to the
|
||||||
normal time comparison.
|
normal time comparison.
|
||||||
|
|
||||||
Daniel (3 August)
|
Daniel (3 August)
|
||||||
@ -8491,7 +8491,7 @@ Daniel (16 June)
|
|||||||
|
|
||||||
- I remade the HTTP Digest code to use the MD5-code provided by OpenSSL if
|
- I remade the HTTP Digest code to use the MD5-code provided by OpenSSL if
|
||||||
that is present, and only use our own MD5-code if it isn't.
|
that is present, and only use our own MD5-code if it isn't.
|
||||||
|
|
||||||
Daniel (13 June)
|
Daniel (13 June)
|
||||||
- More NTLM help, fixes and patches from Cris Bailiff.
|
- More NTLM help, fixes and patches from Cris Bailiff.
|
||||||
|
|
||||||
@ -9112,7 +9112,7 @@ Version 7.10.3-pre5 (9 Jan 2003)
|
|||||||
Daniel (9 Jan 2003)
|
Daniel (9 Jan 2003)
|
||||||
- Fixed tests/memanalyze.pl to work with file names that contain colons (as on
|
- Fixed tests/memanalyze.pl to work with file names that contain colons (as on
|
||||||
Windows).
|
Windows).
|
||||||
|
|
||||||
- Kjetil Jacobsen quickly pointed out that lib/share.h was missing...
|
- Kjetil Jacobsen quickly pointed out that lib/share.h was missing...
|
||||||
|
|
||||||
Version 7.10.3-pre4 (9 Jan 2003)
|
Version 7.10.3-pre4 (9 Jan 2003)
|
||||||
@ -9404,7 +9404,7 @@ Daniel (21 Oct 2002)
|
|||||||
- Albert Chin helped me get the -no-undefined option corrected in
|
- Albert Chin helped me get the -no-undefined option corrected in
|
||||||
lib/Makefile.am since Cygwin builds want it there while Solaris builds don't
|
lib/Makefile.am since Cygwin builds want it there while Solaris builds don't
|
||||||
want it present. Kevin Roth helped me try it out on cygwin.
|
want it present. Kevin Roth helped me try it out on cygwin.
|
||||||
|
|
||||||
- Nikita Schmidt provided a bug fix for a FOLLOWLOCATION bug introduced when
|
- Nikita Schmidt provided a bug fix for a FOLLOWLOCATION bug introduced when
|
||||||
the ../ support got in (7.10.1).
|
the ../ support got in (7.10.1).
|
||||||
|
|
||||||
@ -9648,7 +9648,7 @@ Daniel (9 Aug 2002)
|
|||||||
signals to get sent. This is basicly for multi-threaded applications that
|
signals to get sent. This is basicly for multi-threaded applications that
|
||||||
now can use timeouts properly, without risking any signals to burst in and
|
now can use timeouts properly, without risking any signals to burst in and
|
||||||
ruin the party.
|
ruin the party.
|
||||||
|
|
||||||
Daniel (5 Aug 2002)
|
Daniel (5 Aug 2002)
|
||||||
- Lukasz Czekierda reported that RFC2732-style literal IPv6 addresses didn't
|
- Lukasz Czekierda reported that RFC2732-style literal IPv6 addresses didn't
|
||||||
work. When did that code vanish? Anyway, it's back again now and seems to
|
work. When did that code vanish? Anyway, it's back again now and seems to
|
||||||
@ -9737,7 +9737,7 @@ Daniel (12 Jun 2002)
|
|||||||
CURLFORM_BUFFERPTR, CURLFORM_BUFFERLENGTH. They are used to create a
|
CURLFORM_BUFFERPTR, CURLFORM_BUFFERLENGTH. They are used to create a
|
||||||
multipart that appears as a regular file upload, but the data is provided
|
multipart that appears as a regular file upload, but the data is provided
|
||||||
with a pointer and length.
|
with a pointer and length.
|
||||||
|
|
||||||
- Nico Baggus made the VMS version use sigsetjmp() too.
|
- Nico Baggus made the VMS version use sigsetjmp() too.
|
||||||
|
|
||||||
- Jörn Hartroth fixed the mingw32 build using the mm lib.
|
- Jörn Hartroth fixed the mingw32 build using the mm lib.
|
||||||
@ -10564,7 +10564,7 @@ Daniel (16 January 2002)
|
|||||||
function for version information. This way, curl will report the version of
|
function for version information. This way, curl will report the version of
|
||||||
the SSL library actually running right now, not the one that had its headers
|
the SSL library actually running right now, not the one that had its headers
|
||||||
installed when libcurl was built. Mainly intersting when running with shared
|
installed when libcurl was built. Mainly intersting when running with shared
|
||||||
OpenSSL libraries.
|
OpenSSL libraries.
|
||||||
|
|
||||||
Version 7.9.3-pre2
|
Version 7.9.3-pre2
|
||||||
|
|
||||||
@ -10947,7 +10947,7 @@ Daniel (8 November 2001)
|
|||||||
gethostbyname_r() but can't figure out how to use it, and it should really
|
gethostbyname_r() but can't figure out how to use it, and it should really
|
||||||
figure out how to use it as it was running Linux and we know how that
|
figure out how to use it as it was running Linux and we know how that
|
||||||
works...
|
works...
|
||||||
|
|
||||||
Daniel (7 November 2001)
|
Daniel (7 November 2001)
|
||||||
- docs/VERSIONS is a new file in the archive that explains the version number
|
- docs/VERSIONS is a new file in the archive that explains the version number
|
||||||
system we use in the curl project.
|
system we use in the curl project.
|
||||||
@ -11325,7 +11325,7 @@ Daniel (3 September 2001)
|
|||||||
- Installed libtool 1.4.1, libtoolized and everything.
|
- Installed libtool 1.4.1, libtoolized and everything.
|
||||||
|
|
||||||
Daniel (1 September 2001)
|
Daniel (1 September 2001)
|
||||||
- Heikki Korpela pointed out that I did not ship the proper libtool stuff in
|
- Heikki Korpela pointed out that I did not ship the proper libtool stuff in
|
||||||
the pre-releases, even though that was my intention. libtoolize has now
|
the pre-releases, even though that was my intention. libtoolize has now
|
||||||
been re-run.
|
been re-run.
|
||||||
|
|
||||||
@ -11832,7 +11832,7 @@ Daniel (11 May 2001)
|
|||||||
another one.
|
another one.
|
||||||
|
|
||||||
- Ingo Wilken patched away two redirect problems more!
|
- Ingo Wilken patched away two redirect problems more!
|
||||||
|
|
||||||
Daniel (10 May 2001)
|
Daniel (10 May 2001)
|
||||||
- Cris Bailiff correctly noted that the space-after-header problem with
|
- Cris Bailiff correctly noted that the space-after-header problem with
|
||||||
Location: is present on several other places in the libcurl sources.
|
Location: is present on several other places in the libcurl sources.
|
||||||
@ -11851,7 +11851,7 @@ Daniel (9 May 2001)
|
|||||||
|
|
||||||
- stunnel.pm was accidentally left out from the release archive, it is now
|
- stunnel.pm was accidentally left out from the release archive, it is now
|
||||||
added (stunnel is needed to run the https-tests in the test suite)
|
added (stunnel is needed to run the https-tests in the test suite)
|
||||||
|
|
||||||
Daniel (7 May 2001)
|
Daniel (7 May 2001)
|
||||||
- Corrected two minor compiler warnings due to the FILE * to void * conversion
|
- Corrected two minor compiler warnings due to the FILE * to void * conversion
|
||||||
that I missed at two places. Jörn Hartroth brought me patches. Sander Gates
|
that I missed at two places. Jörn Hartroth brought me patches. Sander Gates
|
||||||
@ -12445,7 +12445,7 @@ Daniel (29 January 2001)
|
|||||||
Version 7.6.1-pre1
|
Version 7.6.1-pre1
|
||||||
|
|
||||||
Daniel (29 January 2001)
|
Daniel (29 January 2001)
|
||||||
- Yet another Content-Range change. Ok now? Bob Schader checks from his end
|
- Yet another Content-Range change. Ok now? Bob Schader checks from his end
|
||||||
and it works for him.
|
and it works for him.
|
||||||
|
|
||||||
Daniel (27 January 2001)
|
Daniel (27 January 2001)
|
||||||
@ -12817,7 +12817,7 @@ Daniel (13 November 2000)
|
|||||||
- While writing test cases for the test suite, I discovered an old limitation
|
- While writing test cases for the test suite, I discovered an old limitation
|
||||||
that prevented -o and -T to be used at the same time. I removed this
|
that prevented -o and -T to be used at the same time. I removed this
|
||||||
immediately as this has no relevance in the current libcurl.
|
immediately as this has no relevance in the current libcurl.
|
||||||
|
|
||||||
- Chris Faherty fixed a free-twice problem in lib/file.c
|
- Chris Faherty fixed a free-twice problem in lib/file.c
|
||||||
|
|
||||||
- I fixed the perl http server problem in the test suite.
|
- I fixed the perl http server problem in the test suite.
|
||||||
@ -12840,7 +12840,7 @@ Daniel (10 November 2000)
|
|||||||
|
|
||||||
- Angus Mackay's getpass_r() in lib/getpass.c is now compliant with the
|
- Angus Mackay's getpass_r() in lib/getpass.c is now compliant with the
|
||||||
getpass_r() function it seems some systems actually have.
|
getpass_r() function it seems some systems actually have.
|
||||||
|
|
||||||
- Venkataramana Mokkapati detected a bug in the cookie parser and corrected
|
- Venkataramana Mokkapati detected a bug in the cookie parser and corrected
|
||||||
it. If the cookie was set for the full host name (domain=full.host.com),
|
it. If the cookie was set for the full host name (domain=full.host.com),
|
||||||
the cookie was never sent back because of a faulty length comparison between
|
the cookie was never sent back because of a faulty length comparison between
|
||||||
@ -12851,7 +12851,7 @@ Daniel (9 November 2000)
|
|||||||
it). Added a check for RSAglue/rsaref for the cases where libcrypto is found
|
it). Added a check for RSAglue/rsaref for the cases where libcrypto is found
|
||||||
but libssl isn't. I haven't verified this fix yet though, as I have no
|
but libssl isn't. I haven't verified this fix yet though, as I have no
|
||||||
system that requires those libs to build.
|
system that requires those libs to build.
|
||||||
|
|
||||||
Version 7.4.2 pre3
|
Version 7.4.2 pre3
|
||||||
|
|
||||||
Daniel (7 November 2000)
|
Daniel (7 November 2000)
|
||||||
@ -12869,7 +12869,7 @@ Daniel (6 November 2000)
|
|||||||
- Emmanuel Tychon discovered that curl didn't really like user names only in
|
- Emmanuel Tychon discovered that curl didn't really like user names only in
|
||||||
the URL. I corrected this and I also fixed the since long living problem
|
the URL. I corrected this and I also fixed the since long living problem
|
||||||
with URL encoded user names and passwords in the URLs. They should work now.
|
with URL encoded user names and passwords in the URLs. They should work now.
|
||||||
|
|
||||||
Daniel (2 November 2000)
|
Daniel (2 November 2000)
|
||||||
- When I added --interface, the new error code that was added with it was
|
- When I added --interface, the new error code that was added with it was
|
||||||
inserted in the wrong place and thus all error codes from 35 and upwards got
|
inserted in the wrong place and thus all error codes from 35 and upwards got
|
||||||
@ -12896,7 +12896,7 @@ Daniel (30 October 2000)
|
|||||||
and then use the CURLOPT_CAINFO to set the certificate to verify the remote
|
and then use the CURLOPT_CAINFO to set the certificate to verify the remote
|
||||||
peer against. After an such an operation with a verification request, the
|
peer against. After an such an operation with a verification request, the
|
||||||
*_getinfo() option CURLINFO_SSL_VERIFYRESULT will return information about
|
*_getinfo() option CURLINFO_SSL_VERIFYRESULT will return information about
|
||||||
whether the verification succeeded or not.
|
whether the verification succeeded or not.
|
||||||
|
|
||||||
Daniel (27 October 2000)
|
Daniel (27 October 2000)
|
||||||
- Georg Horn brought us a splendid patch that solves the long-standing
|
- Georg Horn brought us a splendid patch that solves the long-standing
|
||||||
@ -12911,7 +12911,7 @@ Daniel (26 October 2000)
|
|||||||
getpass() function (now known as my_getpass()) was also fixed to not use any
|
getpass() function (now known as my_getpass()) was also fixed to not use any
|
||||||
static buffers. This also means we cannot use the "standard" getpass()
|
static buffers. This also means we cannot use the "standard" getpass()
|
||||||
function even for those systems that have it, since it isn't thread-safe.
|
function even for those systems that have it, since it isn't thread-safe.
|
||||||
|
|
||||||
- Kevin Roth found out that if you'd write a config file with '-v url', the
|
- Kevin Roth found out that if you'd write a config file with '-v url', the
|
||||||
url would not be used as "default URL" as documented, although if you wrote
|
url would not be used as "default URL" as documented, although if you wrote
|
||||||
it 'url -v' it worked! This has been corrected now.
|
it 'url -v' it worked! This has been corrected now.
|
||||||
@ -12939,7 +12939,7 @@ Daniel (23 October 2000)
|
|||||||
-u or -U flags (CURLOPT_USERPWD and CURLOPT_PROXYUSERPWD). This also
|
-u or -U flags (CURLOPT_USERPWD and CURLOPT_PROXYUSERPWD). This also
|
||||||
suggests that curl probably should url-decode the password piece of an URL
|
suggests that curl probably should url-decode the password piece of an URL
|
||||||
so that you could pass an encoded @-letter there...
|
so that you could pass an encoded @-letter there...
|
||||||
|
|
||||||
Daniel (20 October 2000)
|
Daniel (20 October 2000)
|
||||||
- Yet another http server barfed on curl's request that include the port
|
- Yet another http server barfed on curl's request that include the port
|
||||||
number in the Host: header always. I now only include the port number if it
|
number in the Host: header always. I now only include the port number if it
|
||||||
@ -12953,7 +12953,7 @@ Daniel (17 October 2000)
|
|||||||
- Vladimir Oblomov reported that the -Y and -y options didn't work. They
|
- Vladimir Oblomov reported that the -Y and -y options didn't work. They
|
||||||
didn't work for me either. This once again proves we should have that test
|
didn't work for me either. This once again proves we should have that test
|
||||||
suite...
|
suite...
|
||||||
|
|
||||||
- I finally changed the error message libcurl returns if you try a https://
|
- I finally changed the error message libcurl returns if you try a https://
|
||||||
URL when the library wasn't build with SSL enabled. It will now return this
|
URL when the library wasn't build with SSL enabled. It will now return this
|
||||||
error:
|
error:
|
||||||
@ -13046,7 +13046,7 @@ Daniel (4 October 2000)
|
|||||||
as is the -w section in curl.1. I added two options to enable the user to
|
as is the -w section in curl.1. I added two options to enable the user to
|
||||||
get information about the received headers' size and the size of the HTTP
|
get information about the received headers' size and the size of the HTTP
|
||||||
request. T. Bharath requested them.
|
request. T. Bharath requested them.
|
||||||
|
|
||||||
Daniel (3 October 2000)
|
Daniel (3 October 2000)
|
||||||
- Corrected a sever free() before use in the new add_buffer_send()! ;-)
|
- Corrected a sever free() before use in the new add_buffer_send()! ;-)
|
||||||
|
|
||||||
@ -13073,7 +13073,7 @@ Daniel (2 October 2000)
|
|||||||
start with. If curl's average upload speed is faster than buffer size bytes
|
start with. If curl's average upload speed is faster than buffer size bytes
|
||||||
per second, curl will increase the used buffer size up to max 50Kb. It
|
per second, curl will increase the used buffer size up to max 50Kb. It
|
||||||
should make the progress meter work better.
|
should make the progress meter work better.
|
||||||
|
|
||||||
Version 7.4 pre1
|
Version 7.4 pre1
|
||||||
|
|
||||||
Daniel (29 September 2000)
|
Daniel (29 September 2000)
|
||||||
@ -13103,7 +13103,7 @@ Daniel (26 September 2000)
|
|||||||
|
|
||||||
- I changed the OpenSSL fix to work with older versions as well. The posted
|
- I changed the OpenSSL fix to work with older versions as well. The posted
|
||||||
patch was only working with 0.9.6 and no older ones.
|
patch was only working with 0.9.6 and no older ones.
|
||||||
|
|
||||||
Version 7.3-pre8
|
Version 7.3-pre8
|
||||||
|
|
||||||
Daniel (25 September 2000)
|
Daniel (25 September 2000)
|
||||||
@ -13190,7 +13190,7 @@ Daniel (15 September 2000)
|
|||||||
- Kai-Uwe Rommel pointed out a problem in the httpproxytunnel stuff for ftp.
|
- Kai-Uwe Rommel pointed out a problem in the httpproxytunnel stuff for ftp.
|
||||||
Adjusted it. Added better info message when setting up the tunnel and the
|
Adjusted it. Added better info message when setting up the tunnel and the
|
||||||
pasv message when doing the second connect.
|
pasv message when doing the second connect.
|
||||||
|
|
||||||
Version 7.3pre1
|
Version 7.3pre1
|
||||||
|
|
||||||
Daniel (15 September 2000)
|
Daniel (15 September 2000)
|
||||||
@ -13199,7 +13199,7 @@ Daniel (15 September 2000)
|
|||||||
|
|
||||||
- TheArtOfHTTPScripting was corrected all over. I both type and spell really
|
- TheArtOfHTTPScripting was corrected all over. I both type and spell really
|
||||||
bad at times!
|
bad at times!
|
||||||
|
|
||||||
Daniel (14 September 2000)
|
Daniel (14 September 2000)
|
||||||
- -p/--proxytunnel was added to 'curl'. It uses the new
|
- -p/--proxytunnel was added to 'curl'. It uses the new
|
||||||
CURLOPT_HTTPPROXYTUNNEL libcurl option that allows "any" protocol to tunnel
|
CURLOPT_HTTPPROXYTUNNEL libcurl option that allows "any" protocol to tunnel
|
||||||
@ -14364,7 +14364,7 @@ Version 5.10
|
|||||||
Troy (12 August 1999)
|
Troy (12 August 1999)
|
||||||
- Added MingW32 (GCC-2.95) support under Win32. The INSTALL file was also
|
- Added MingW32 (GCC-2.95) support under Win32. The INSTALL file was also
|
||||||
a bit rearranged.
|
a bit rearranged.
|
||||||
|
|
||||||
Daniel (12 August 1999)
|
Daniel (12 August 1999)
|
||||||
- I had to copy a good <arpa/telnet.h> include file into the curl source
|
- I had to copy a good <arpa/telnet.h> include file into the curl source
|
||||||
tree to enable the silly win32 systems to compile. The distribution rights
|
tree to enable the silly win32 systems to compile. The distribution rights
|
||||||
@ -14436,7 +14436,7 @@ Version 5.10
|
|||||||
|
|
||||||
Daniel (2 August 1999)
|
Daniel (2 August 1999)
|
||||||
- Applied a progress-bar patch from Lars J. Aas. It offers
|
- Applied a progress-bar patch from Lars J. Aas. It offers
|
||||||
a new styled progress bar enabled with -#/--progress-bar.
|
a new styled progress bar enabled with -#/--progress-bar.
|
||||||
|
|
||||||
T. Yamada <tai at imasy.or.jp> (30 July 1999)
|
T. Yamada <tai at imasy.or.jp> (30 July 1999)
|
||||||
- It breaks with segfault when 1) curl is using .netrc to obtain
|
- It breaks with segfault when 1) curl is using .netrc to obtain
|
||||||
@ -14662,7 +14662,7 @@ Version 5.6.3beta
|
|||||||
start. The fix dated April 6 and posted on the mailing list forced curl to
|
start. The fix dated April 6 and posted on the mailing list forced curl to
|
||||||
use v2 at all times using a modern OpenSSL version, but we don't really
|
use v2 at all times using a modern OpenSSL version, but we don't really
|
||||||
want such a crippled solution.
|
want such a crippled solution.
|
||||||
|
|
||||||
- Marc Boucher sent me a patch that corrected a math error for the
|
- Marc Boucher sent me a patch that corrected a math error for the
|
||||||
"Curr.Speed" progress meter.
|
"Curr.Speed" progress meter.
|
||||||
|
|
||||||
@ -15074,7 +15074,7 @@ Version 5.0 beta 21
|
|||||||
- Ok, I expanded the tgz-target to update the version string on each occation
|
- Ok, I expanded the tgz-target to update the version string on each occation
|
||||||
I build a release archive!
|
I build a release archive!
|
||||||
- I reacted on Angus Mackay's initiative and remade the parameter parser to
|
- I reacted on Angus Mackay's initiative and remade the parameter parser to
|
||||||
be more getopt compliant. Curl now supports "merged" flags as in
|
be more getopt compliant. Curl now supports "merged" flags as in
|
||||||
curl -lsv ftp.site.com
|
curl -lsv ftp.site.com
|
||||||
Do note that I had to move three short-names of the options. Parameters
|
Do note that I had to move three short-names of the options. Parameters
|
||||||
that needs an additional string such as -x must be stand-alone or the
|
that needs an additional string such as -x must be stand-alone or the
|
||||||
@ -15296,7 +15296,7 @@ Version 4.5.1
|
|||||||
- SSL through proxy fix
|
- SSL through proxy fix
|
||||||
- Added -A to allow User-Agent: changes
|
- Added -A to allow User-Agent: changes
|
||||||
|
|
||||||
Daniel Stenberg
|
Daniel Stenberg
|
||||||
- Made the -A work when SSL-through-proxy.
|
- Made the -A work when SSL-through-proxy.
|
||||||
|
|
||||||
Version 4.5
|
Version 4.5
|
||||||
@ -15416,7 +15416,7 @@ Version 3.2
|
|||||||
Daniel Stenberg
|
Daniel Stenberg
|
||||||
- Major rewrite of two crucial parts of this code: upload and download.
|
- Major rewrite of two crucial parts of this code: upload and download.
|
||||||
They are both now using a select() switch, that allows much better
|
They are both now using a select() switch, that allows much better
|
||||||
progress meter and time control.
|
progress meter and time control.
|
||||||
- alarm() usage removed completely
|
- alarm() usage removed completely
|
||||||
- FTP get can now list directory contents if the path ends with a slash '/'.
|
- FTP get can now list directory contents if the path ends with a slash '/'.
|
||||||
Urlget on a ftp-path that doesn't end with a slash means urlget will
|
Urlget on a ftp-path that doesn't end with a slash means urlget will
|
||||||
@ -15459,7 +15459,7 @@ Version 2.9
|
|||||||
Remco van Hooff
|
Remco van Hooff
|
||||||
- Added a fix to make it compile smoothly on Amiga using the SAS/C
|
- Added a fix to make it compile smoothly on Amiga using the SAS/C
|
||||||
compiler.
|
compiler.
|
||||||
|
|
||||||
Daniel Stenberg
|
Daniel Stenberg
|
||||||
- Believe it or not, but the STUPID Novell web server seems to require
|
- Believe it or not, but the STUPID Novell web server seems to require
|
||||||
that the Host: keyword is used, so well I use it and I (re-introduce) the
|
that the Host: keyword is used, so well I use it and I (re-introduce) the
|
||||||
@ -15477,7 +15477,7 @@ Version 2.7
|
|||||||
fetch multipart files like that.
|
fetch multipart files like that.
|
||||||
- '-f' is introduced, it means Fail without output in case of HTTP server
|
- '-f' is introduced, it means Fail without output in case of HTTP server
|
||||||
errors (return code >=300).
|
errors (return code >=300).
|
||||||
- Added support for -r, ranges. Specify which part of a document you
|
- Added support for -r, ranges. Specify which part of a document you
|
||||||
want, and only that part is returned. Only with HTTP/1.1-servers.
|
want, and only that part is returned. Only with HTTP/1.1-servers.
|
||||||
- Split up the source in 3 parts. Now all pure URL functions are in
|
- Split up the source in 3 parts. Now all pure URL functions are in
|
||||||
urlget.c and stuff that deals with the stand-alone program is in main.c.
|
urlget.c and stuff that deals with the stand-alone program is in main.c.
|
||||||
@ -15545,7 +15545,7 @@ Version 2.2
|
|||||||
Johan Andersson
|
Johan Andersson
|
||||||
- The urlget function didn't set the path to url when using proxy.
|
- The urlget function didn't set the path to url when using proxy.
|
||||||
- Fixed bug with IMC proxy. Now using (almost) complete GET command.
|
- Fixed bug with IMC proxy. Now using (almost) complete GET command.
|
||||||
|
|
||||||
Daniel Stenberg
|
Daniel Stenberg
|
||||||
- Made it compile on Solaris. Had to reorganize the includes a bit.
|
- Made it compile on Solaris. Had to reorganize the includes a bit.
|
||||||
(so Win32, Linux, SunOS 4 and Solaris 2 compile fine.)
|
(so Win32, Linux, SunOS 4 and Solaris 2 compile fine.)
|
||||||
|
@ -11,11 +11,11 @@ macro(CHECK_TYPE_SIZE TYPE VARIABLE)
|
|||||||
if(NOT DEFINED ${VARIABLE})
|
if(NOT DEFINED ${VARIABLE})
|
||||||
if("HAVE_${VARIABLE}" MATCHES "^HAVE_${VARIABLE}$")
|
if("HAVE_${VARIABLE}" MATCHES "^HAVE_${VARIABLE}$")
|
||||||
set(CHECK_TYPE_SIZE_TYPE "${TYPE}")
|
set(CHECK_TYPE_SIZE_TYPE "${TYPE}")
|
||||||
set(MACRO_CHECK_TYPE_SIZE_FLAGS
|
set(MACRO_CHECK_TYPE_SIZE_FLAGS
|
||||||
"${CMAKE_REQUIRED_FLAGS}")
|
"${CMAKE_REQUIRED_FLAGS}")
|
||||||
foreach(def HAVE_SYS_TYPES_H HAVE_STDINT_H HAVE_STDDEF_H)
|
foreach(def HAVE_SYS_TYPES_H HAVE_STDINT_H HAVE_STDDEF_H)
|
||||||
if("${def}")
|
if("${def}")
|
||||||
set(MACRO_CHECK_TYPE_SIZE_FLAGS
|
set(MACRO_CHECK_TYPE_SIZE_FLAGS
|
||||||
"${MACRO_CHECK_TYPE_SIZE_FLAGS} -D${def}")
|
"${MACRO_CHECK_TYPE_SIZE_FLAGS} -D${def}")
|
||||||
endif("${def}")
|
endif("${def}")
|
||||||
endforeach(def)
|
endforeach(def)
|
||||||
@ -25,14 +25,14 @@ macro(CHECK_TYPE_SIZE TYPE VARIABLE)
|
|||||||
endforeach(def)
|
endforeach(def)
|
||||||
configure_file(
|
configure_file(
|
||||||
"${CMAKE_CURRENT_SOURCE_DIR}/CMake/CheckTypeSize.c.in"
|
"${CMAKE_CURRENT_SOURCE_DIR}/CMake/CheckTypeSize.c.in"
|
||||||
"${CMAKE_BINARY_DIR}${CMAKE_FILES_DIRECTORY}/CMakeTmp/CheckTypeSize.c"
|
"${CMAKE_BINARY_DIR}${CMAKE_FILES_DIRECTORY}/CMakeTmp/CheckTypeSize.c"
|
||||||
IMMEDIATE @ONLY)
|
IMMEDIATE @ONLY)
|
||||||
file(READ
|
file(READ
|
||||||
"${CMAKE_BINARY_DIR}${CMAKE_FILES_DIRECTORY}/CMakeTmp/CheckTypeSize.c"
|
"${CMAKE_BINARY_DIR}${CMAKE_FILES_DIRECTORY}/CMakeTmp/CheckTypeSize.c"
|
||||||
CHECK_TYPE_SIZE_FILE_CONTENT)
|
CHECK_TYPE_SIZE_FILE_CONTENT)
|
||||||
message(STATUS "Check size of ${TYPE}")
|
message(STATUS "Check size of ${TYPE}")
|
||||||
if(CMAKE_REQUIRED_LIBRARIES)
|
if(CMAKE_REQUIRED_LIBRARIES)
|
||||||
set(CHECK_TYPE_SIZE_ADD_LIBRARIES
|
set(CHECK_TYPE_SIZE_ADD_LIBRARIES
|
||||||
"-DLINK_LIBRARIES:STRING=${CMAKE_REQUIRED_LIBRARIES}")
|
"-DLINK_LIBRARIES:STRING=${CMAKE_REQUIRED_LIBRARIES}")
|
||||||
endif(CMAKE_REQUIRED_LIBRARIES)
|
endif(CMAKE_REQUIRED_LIBRARIES)
|
||||||
try_run(${VARIABLE} HAVE_${VARIABLE}
|
try_run(${VARIABLE} HAVE_${VARIABLE}
|
||||||
@ -43,11 +43,11 @@ macro(CHECK_TYPE_SIZE TYPE VARIABLE)
|
|||||||
OUTPUT_VARIABLE OUTPUT)
|
OUTPUT_VARIABLE OUTPUT)
|
||||||
if(HAVE_${VARIABLE})
|
if(HAVE_${VARIABLE})
|
||||||
message(STATUS "Check size of ${TYPE} - done")
|
message(STATUS "Check size of ${TYPE} - done")
|
||||||
file(APPEND ${CMAKE_BINARY_DIR}${CMAKE_FILES_DIRECTORY}/CMakeOutput.log
|
file(APPEND ${CMAKE_BINARY_DIR}${CMAKE_FILES_DIRECTORY}/CMakeOutput.log
|
||||||
"Determining size of ${TYPE} passed with the following output:\n${OUTPUT}\n\n")
|
"Determining size of ${TYPE} passed with the following output:\n${OUTPUT}\n\n")
|
||||||
else(HAVE_${VARIABLE})
|
else(HAVE_${VARIABLE})
|
||||||
message(STATUS "Check size of ${TYPE} - failed")
|
message(STATUS "Check size of ${TYPE} - failed")
|
||||||
file(APPEND ${CMAKE_BINARY_DIR}${CMAKE_FILES_DIRECTORY}/CMakeError.log
|
file(APPEND ${CMAKE_BINARY_DIR}${CMAKE_FILES_DIRECTORY}/CMakeError.log
|
||||||
"Determining size of ${TYPE} failed with the following output:\n${OUTPUT}\nCheckTypeSize.c:\n${CHECK_TYPE_SIZE_FILE_CONTENT}\n\n")
|
"Determining size of ${TYPE} failed with the following output:\n${OUTPUT}\nCheckTypeSize.c:\n${CHECK_TYPE_SIZE_FILE_CONTENT}\n\n")
|
||||||
endif(HAVE_${VARIABLE})
|
endif(HAVE_${VARIABLE})
|
||||||
endif("HAVE_${VARIABLE}" MATCHES "^HAVE_${VARIABLE}$")
|
endif("HAVE_${VARIABLE}" MATCHES "^HAVE_${VARIABLE}$")
|
||||||
|
@ -1,6 +1,6 @@
|
|||||||
#ifdef TIME_WITH_SYS_TIME
|
#ifdef TIME_WITH_SYS_TIME
|
||||||
/* Time with sys/time test */
|
/* Time with sys/time test */
|
||||||
|
|
||||||
#include <sys/types.h>
|
#include <sys/types.h>
|
||||||
#include <sys/time.h>
|
#include <sys/time.h>
|
||||||
#include <time.h>
|
#include <time.h>
|
||||||
|
@ -68,7 +68,7 @@ if(curl_cv_recv)
|
|||||||
endforeach(recv_arg3)
|
endforeach(recv_arg3)
|
||||||
endforeach(recv_arg2)
|
endforeach(recv_arg2)
|
||||||
endforeach(recv_arg1)
|
endforeach(recv_arg1)
|
||||||
endforeach(recv_retv)
|
endforeach(recv_retv)
|
||||||
else(NOT DEFINED curl_cv_func_recv_args OR "${curl_cv_func_recv_args}" STREQUAL "unknown")
|
else(NOT DEFINED curl_cv_func_recv_args OR "${curl_cv_func_recv_args}" STREQUAL "unknown")
|
||||||
string(REGEX REPLACE "^([^,]*),[^,]*,[^,]*,[^,]*,[^,]*$" "\\1" RECV_TYPE_ARG1 "${curl_cv_func_recv_args}")
|
string(REGEX REPLACE "^([^,]*),[^,]*,[^,]*,[^,]*,[^,]*$" "\\1" RECV_TYPE_ARG1 "${curl_cv_func_recv_args}")
|
||||||
string(REGEX REPLACE "^[^,]*,([^,]*),[^,]*,[^,]*,[^,]*$" "\\1" RECV_TYPE_ARG2 "${curl_cv_func_recv_args}")
|
string(REGEX REPLACE "^[^,]*,([^,]*),[^,]*,[^,]*,[^,]*$" "\\1" RECV_TYPE_ARG2 "${curl_cv_func_recv_args}")
|
||||||
@ -81,7 +81,7 @@ if(curl_cv_recv)
|
|||||||
#MESSAGE("RECV_TYPE_ARG4 ${RECV_TYPE_ARG4}")
|
#MESSAGE("RECV_TYPE_ARG4 ${RECV_TYPE_ARG4}")
|
||||||
#MESSAGE("RECV_TYPE_RETV ${RECV_TYPE_RETV}")
|
#MESSAGE("RECV_TYPE_RETV ${RECV_TYPE_RETV}")
|
||||||
endif(NOT DEFINED curl_cv_func_recv_args OR "${curl_cv_func_recv_args}" STREQUAL "unknown")
|
endif(NOT DEFINED curl_cv_func_recv_args OR "${curl_cv_func_recv_args}" STREQUAL "unknown")
|
||||||
|
|
||||||
if("${curl_cv_func_recv_args}" STREQUAL "unknown")
|
if("${curl_cv_func_recv_args}" STREQUAL "unknown")
|
||||||
message(FATAL_ERROR "Cannot find proper types to use for recv args")
|
message(FATAL_ERROR "Cannot find proper types to use for recv args")
|
||||||
endif("${curl_cv_func_recv_args}" STREQUAL "unknown")
|
endif("${curl_cv_func_recv_args}" STREQUAL "unknown")
|
||||||
@ -134,7 +134,7 @@ if(curl_cv_send)
|
|||||||
endforeach(send_arg3)
|
endforeach(send_arg3)
|
||||||
endforeach(send_arg2)
|
endforeach(send_arg2)
|
||||||
endforeach(send_arg1)
|
endforeach(send_arg1)
|
||||||
endforeach(send_retv)
|
endforeach(send_retv)
|
||||||
else(NOT DEFINED curl_cv_func_send_args OR "${curl_cv_func_send_args}" STREQUAL "unknown")
|
else(NOT DEFINED curl_cv_func_send_args OR "${curl_cv_func_send_args}" STREQUAL "unknown")
|
||||||
string(REGEX REPLACE "^([^,]*),[^,]*,[^,]*,[^,]*,[^,]*,[^,]*$" "\\1" SEND_TYPE_ARG1 "${curl_cv_func_send_args}")
|
string(REGEX REPLACE "^([^,]*),[^,]*,[^,]*,[^,]*,[^,]*,[^,]*$" "\\1" SEND_TYPE_ARG1 "${curl_cv_func_send_args}")
|
||||||
string(REGEX REPLACE "^[^,]*,([^,]*),[^,]*,[^,]*,[^,]*,[^,]*$" "\\1" SEND_TYPE_ARG2 "${curl_cv_func_send_args}")
|
string(REGEX REPLACE "^[^,]*,([^,]*),[^,]*,[^,]*,[^,]*,[^,]*$" "\\1" SEND_TYPE_ARG2 "${curl_cv_func_send_args}")
|
||||||
@ -149,7 +149,7 @@ if(curl_cv_send)
|
|||||||
#MESSAGE("SEND_TYPE_RETV ${SEND_TYPE_RETV}")
|
#MESSAGE("SEND_TYPE_RETV ${SEND_TYPE_RETV}")
|
||||||
#MESSAGE("SEND_QUAL_ARG2 ${SEND_QUAL_ARG2}")
|
#MESSAGE("SEND_QUAL_ARG2 ${SEND_QUAL_ARG2}")
|
||||||
endif(NOT DEFINED curl_cv_func_send_args OR "${curl_cv_func_send_args}" STREQUAL "unknown")
|
endif(NOT DEFINED curl_cv_func_send_args OR "${curl_cv_func_send_args}" STREQUAL "unknown")
|
||||||
|
|
||||||
if("${curl_cv_func_send_args}" STREQUAL "unknown")
|
if("${curl_cv_func_send_args}" STREQUAL "unknown")
|
||||||
message(FATAL_ERROR "Cannot find proper types to use for send args")
|
message(FATAL_ERROR "Cannot find proper types to use for send args")
|
||||||
endif("${curl_cv_func_send_args}" STREQUAL "unknown")
|
endif("${curl_cv_func_send_args}" STREQUAL "unknown")
|
||||||
|
8
CVS-INFO
8
CVS-INFO
@ -1,7 +1,7 @@
|
|||||||
_ _ ____ _
|
_ _ ____ _
|
||||||
___| | | | _ \| |
|
___| | | | _ \| |
|
||||||
/ __| | | | |_) | |
|
/ __| | | | |_) | |
|
||||||
| (__| |_| | _ <| |___
|
| (__| |_| | _ <| |___
|
||||||
\___|\___/|_| \_\_____|
|
\___|\___/|_| \_\_____|
|
||||||
|
|
||||||
CVS-INFO
|
CVS-INFO
|
||||||
|
@ -1,5 +1,5 @@
|
|||||||
#!/bin/bash
|
#!/bin/bash
|
||||||
# This script performs all of the steps needed to build a
|
# This script performs all of the steps needed to build a
|
||||||
# universal binary libcurl.framework for Mac OS X 10.4 or greater.
|
# universal binary libcurl.framework for Mac OS X 10.4 or greater.
|
||||||
|
|
||||||
VERSION=`/usr/bin/sed -ne 's/^#define LIBCURL_VERSION "\(.*\)"/\1/p' include/curl/curlver.h`
|
VERSION=`/usr/bin/sed -ne 's/^#define LIBCURL_VERSION "\(.*\)"/\1/p' include/curl/curlver.h`
|
||||||
@ -22,10 +22,10 @@ if test -d $SDK32; then
|
|||||||
CFLAGS="-Os -isysroot $SDK32 $ARCHES32 $MINVER32" \
|
CFLAGS="-Os -isysroot $SDK32 $ARCHES32 $MINVER32" \
|
||||||
LDFLAGS="-Wl,-syslibroot,$SDK32 $ARCHES32 $MINVER32 -Wl,-headerpad_max_install_names" \
|
LDFLAGS="-Wl,-syslibroot,$SDK32 $ARCHES32 $MINVER32 -Wl,-headerpad_max_install_names" \
|
||||||
CC=$CC
|
CC=$CC
|
||||||
|
|
||||||
echo "----Building 32 bit libcurl..."
|
echo "----Building 32 bit libcurl..."
|
||||||
make
|
make
|
||||||
|
|
||||||
echo "----Creating 32 bit framework..."
|
echo "----Creating 32 bit framework..."
|
||||||
rm -r libcurl.framework
|
rm -r libcurl.framework
|
||||||
mkdir -p libcurl.framework/Versions/A/Resources
|
mkdir -p libcurl.framework/Versions/A/Resources
|
||||||
@ -40,7 +40,7 @@ if test -d $SDK32; then
|
|||||||
ln -fs Versions/A/Headers Headers
|
ln -fs Versions/A/Headers Headers
|
||||||
cd Versions
|
cd Versions
|
||||||
ln -fs A Current
|
ln -fs A Current
|
||||||
|
|
||||||
if test -d $SDK64; then
|
if test -d $SDK64; then
|
||||||
popd
|
popd
|
||||||
make clean
|
make clean
|
||||||
@ -49,10 +49,10 @@ if test -d $SDK32; then
|
|||||||
CFLAGS="-Os -isysroot $SDK64 $ARCHES64 $MINVER64" \
|
CFLAGS="-Os -isysroot $SDK64 $ARCHES64 $MINVER64" \
|
||||||
LDFLAGS="-Wl,-syslibroot,$SDK64 $ARCHES64 $MINVER64 -Wl,-headerpad_max_install_names" \
|
LDFLAGS="-Wl,-syslibroot,$SDK64 $ARCHES64 $MINVER64 -Wl,-headerpad_max_install_names" \
|
||||||
CC=$CC
|
CC=$CC
|
||||||
|
|
||||||
echo "----Building 64 bit libcurl..."
|
echo "----Building 64 bit libcurl..."
|
||||||
make
|
make
|
||||||
|
|
||||||
echo "----Appending 64 bit framework to 32 bit framework..."
|
echo "----Appending 64 bit framework to 32 bit framework..."
|
||||||
cp lib/.libs/libcurl.dylib libcurl.framework/Versions/A/libcurl64
|
cp lib/.libs/libcurl.dylib libcurl.framework/Versions/A/libcurl64
|
||||||
install_name_tool -id @executable_path/../Frameworks/libcurl.framework/Versions/A/libcurl libcurl.framework/Versions/A/libcurl64
|
install_name_tool -id @executable_path/../Frameworks/libcurl.framework/Versions/A/libcurl libcurl.framework/Versions/A/libcurl64
|
||||||
@ -69,7 +69,7 @@ if test -d $SDK32; then
|
|||||||
#endif
|
#endif
|
||||||
EOF
|
EOF
|
||||||
fi
|
fi
|
||||||
|
|
||||||
lipo -info libcurl.framework/Versions/A/libcurl
|
lipo -info libcurl.framework/Versions/A/libcurl
|
||||||
echo "libcurl.framework is built and can now be included in other projects."
|
echo "libcurl.framework is built and can now be included in other projects."
|
||||||
echo "Copy libcurl.framework to your bundle's Contents/Frameworks folder, ~/Library/Frameworks or /Library/Frameworks."
|
echo "Copy libcurl.framework to your bundle's Contents/Frameworks folder, ~/Library/Frameworks or /Library/Frameworks."
|
||||||
|
64
acinclude.m4
64
acinclude.m4
@ -5,7 +5,7 @@
|
|||||||
# | (__| |_| | _ <| |___
|
# | (__| |_| | _ <| |___
|
||||||
# \___|\___/|_| \_\_____|
|
# \___|\___/|_| \_\_____|
|
||||||
#
|
#
|
||||||
# Copyright (C) 1998 - 2009, Daniel Stenberg, <daniel@haxx.se>, et al.
|
# Copyright (C) 1998 - 2010, Daniel Stenberg, <daniel@haxx.se>, et al.
|
||||||
#
|
#
|
||||||
# This software is licensed as described in the file COPYING, which
|
# This software is licensed as described in the file COPYING, which
|
||||||
# you should have received as part of this distribution. The terms
|
# you should have received as part of this distribution. The terms
|
||||||
@ -167,7 +167,7 @@ AC_DEFUN([CURL_CHECK_AIX_ALL_SOURCE], [
|
|||||||
|
|
||||||
dnl CURL_CHECK_HEADER_WINDOWS
|
dnl CURL_CHECK_HEADER_WINDOWS
|
||||||
dnl -------------------------------------------------
|
dnl -------------------------------------------------
|
||||||
dnl Check for compilable and valid windows.h header
|
dnl Check for compilable and valid windows.h header
|
||||||
|
|
||||||
AC_DEFUN([CURL_CHECK_HEADER_WINDOWS], [
|
AC_DEFUN([CURL_CHECK_HEADER_WINDOWS], [
|
||||||
AC_CACHE_CHECK([for windows.h], [ac_cv_header_windows_h], [
|
AC_CACHE_CHECK([for windows.h], [ac_cv_header_windows_h], [
|
||||||
@ -240,7 +240,7 @@ AC_DEFUN([CURL_CHECK_NATIVE_WINDOWS], [
|
|||||||
|
|
||||||
dnl CURL_CHECK_HEADER_WINSOCK
|
dnl CURL_CHECK_HEADER_WINSOCK
|
||||||
dnl -------------------------------------------------
|
dnl -------------------------------------------------
|
||||||
dnl Check for compilable and valid winsock.h header
|
dnl Check for compilable and valid winsock.h header
|
||||||
|
|
||||||
AC_DEFUN([CURL_CHECK_HEADER_WINSOCK], [
|
AC_DEFUN([CURL_CHECK_HEADER_WINSOCK], [
|
||||||
AC_REQUIRE([CURL_CHECK_HEADER_WINDOWS])dnl
|
AC_REQUIRE([CURL_CHECK_HEADER_WINDOWS])dnl
|
||||||
@ -277,7 +277,7 @@ AC_DEFUN([CURL_CHECK_HEADER_WINSOCK], [
|
|||||||
|
|
||||||
dnl CURL_CHECK_HEADER_WINSOCK2
|
dnl CURL_CHECK_HEADER_WINSOCK2
|
||||||
dnl -------------------------------------------------
|
dnl -------------------------------------------------
|
||||||
dnl Check for compilable and valid winsock2.h header
|
dnl Check for compilable and valid winsock2.h header
|
||||||
|
|
||||||
AC_DEFUN([CURL_CHECK_HEADER_WINSOCK2], [
|
AC_DEFUN([CURL_CHECK_HEADER_WINSOCK2], [
|
||||||
AC_REQUIRE([CURL_CHECK_HEADER_WINDOWS])dnl
|
AC_REQUIRE([CURL_CHECK_HEADER_WINDOWS])dnl
|
||||||
@ -966,13 +966,13 @@ AC_DEFUN([CURL_CHECK_HEADER_MEMORY], [
|
|||||||
|
|
||||||
dnl CURL_CHECK_FUNC_GETNAMEINFO
|
dnl CURL_CHECK_FUNC_GETNAMEINFO
|
||||||
dnl -------------------------------------------------
|
dnl -------------------------------------------------
|
||||||
dnl Test if the getnameinfo function is available,
|
dnl Test if the getnameinfo function is available,
|
||||||
dnl and check the types of five of its arguments.
|
dnl and check the types of five of its arguments.
|
||||||
dnl If the function succeeds HAVE_GETNAMEINFO will be
|
dnl If the function succeeds HAVE_GETNAMEINFO will be
|
||||||
dnl defined, defining the types of the arguments in
|
dnl defined, defining the types of the arguments in
|
||||||
dnl GETNAMEINFO_TYPE_ARG1, GETNAMEINFO_TYPE_ARG2,
|
dnl GETNAMEINFO_TYPE_ARG1, GETNAMEINFO_TYPE_ARG2,
|
||||||
dnl GETNAMEINFO_TYPE_ARG46 and GETNAMEINFO_TYPE_ARG7,
|
dnl GETNAMEINFO_TYPE_ARG46 and GETNAMEINFO_TYPE_ARG7,
|
||||||
dnl and also defining the type qualifier of first
|
dnl and also defining the type qualifier of first
|
||||||
dnl argument in GETNAMEINFO_QUAL_ARG1.
|
dnl argument in GETNAMEINFO_QUAL_ARG1.
|
||||||
|
|
||||||
AC_DEFUN([CURL_CHECK_FUNC_GETNAMEINFO], [
|
AC_DEFUN([CURL_CHECK_FUNC_GETNAMEINFO], [
|
||||||
@ -1056,7 +1056,7 @@ AC_DEFUN([CURL_CHECK_FUNC_GETNAMEINFO], [
|
|||||||
if test "$curl_cv_func_getnameinfo_args" = "unknown"; then
|
if test "$curl_cv_func_getnameinfo_args" = "unknown"; then
|
||||||
AC_COMPILE_IFELSE([
|
AC_COMPILE_IFELSE([
|
||||||
AC_LANG_PROGRAM([[
|
AC_LANG_PROGRAM([[
|
||||||
#undef inline
|
#undef inline
|
||||||
#ifdef HAVE_WINDOWS_H
|
#ifdef HAVE_WINDOWS_H
|
||||||
#ifndef WIN32_LEAN_AND_MEAN
|
#ifndef WIN32_LEAN_AND_MEAN
|
||||||
#define WIN32_LEAN_AND_MEAN
|
#define WIN32_LEAN_AND_MEAN
|
||||||
@ -1067,7 +1067,7 @@ AC_DEFUN([CURL_CHECK_FUNC_GETNAMEINFO], [
|
|||||||
#endif
|
#endif
|
||||||
#include <windows.h>
|
#include <windows.h>
|
||||||
#ifdef HAVE_WINSOCK2_H
|
#ifdef HAVE_WINSOCK2_H
|
||||||
#include <winsock2.h>
|
#include <winsock2.h>
|
||||||
#ifdef HAVE_WS2TCPIP_H
|
#ifdef HAVE_WS2TCPIP_H
|
||||||
#include <ws2tcpip.h>
|
#include <ws2tcpip.h>
|
||||||
#endif
|
#endif
|
||||||
@ -1167,7 +1167,7 @@ AC_DEFUN([CURL_CHECK_FUNC_GETNAMEINFO], [
|
|||||||
|
|
||||||
dnl TYPE_SOCKADDR_STORAGE
|
dnl TYPE_SOCKADDR_STORAGE
|
||||||
dnl -------------------------------------------------
|
dnl -------------------------------------------------
|
||||||
dnl Check for struct sockaddr_storage. Most IPv6-enabled
|
dnl Check for struct sockaddr_storage. Most IPv6-enabled
|
||||||
dnl hosts have it, but AIX 4.3 is one known exception.
|
dnl hosts have it, but AIX 4.3 is one known exception.
|
||||||
|
|
||||||
AC_DEFUN([TYPE_SOCKADDR_STORAGE],
|
AC_DEFUN([TYPE_SOCKADDR_STORAGE],
|
||||||
@ -1213,7 +1213,7 @@ AC_DEFUN([CURL_CHECK_NI_WITHSCOPEID], [
|
|||||||
AC_CHECK_HEADERS(stdio.h sys/types.h sys/socket.h \
|
AC_CHECK_HEADERS(stdio.h sys/types.h sys/socket.h \
|
||||||
netdb.h netinet/in.h arpa/inet.h)
|
netdb.h netinet/in.h arpa/inet.h)
|
||||||
#
|
#
|
||||||
AC_CACHE_CHECK([for working NI_WITHSCOPEID],
|
AC_CACHE_CHECK([for working NI_WITHSCOPEID],
|
||||||
[ac_cv_working_ni_withscopeid], [
|
[ac_cv_working_ni_withscopeid], [
|
||||||
AC_RUN_IFELSE([
|
AC_RUN_IFELSE([
|
||||||
AC_LANG_PROGRAM([[
|
AC_LANG_PROGRAM([[
|
||||||
@ -1305,11 +1305,11 @@ AC_DEFUN([CURL_CHECK_NI_WITHSCOPEID], [
|
|||||||
|
|
||||||
dnl CURL_CHECK_FUNC_RECV
|
dnl CURL_CHECK_FUNC_RECV
|
||||||
dnl -------------------------------------------------
|
dnl -------------------------------------------------
|
||||||
dnl Test if the socket recv() function is available,
|
dnl Test if the socket recv() function is available,
|
||||||
dnl and check its return type and the types of its
|
dnl and check its return type and the types of its
|
||||||
dnl arguments. If the function succeeds HAVE_RECV
|
dnl arguments. If the function succeeds HAVE_RECV
|
||||||
dnl will be defined, defining the types of the arguments
|
dnl will be defined, defining the types of the arguments
|
||||||
dnl in RECV_TYPE_ARG1, RECV_TYPE_ARG2, RECV_TYPE_ARG3
|
dnl in RECV_TYPE_ARG1, RECV_TYPE_ARG2, RECV_TYPE_ARG3
|
||||||
dnl and RECV_TYPE_ARG4, defining the type of the function
|
dnl and RECV_TYPE_ARG4, defining the type of the function
|
||||||
dnl return value in RECV_TYPE_RETV.
|
dnl return value in RECV_TYPE_RETV.
|
||||||
|
|
||||||
@ -1321,7 +1321,7 @@ AC_DEFUN([CURL_CHECK_FUNC_RECV], [
|
|||||||
AC_MSG_CHECKING([for recv])
|
AC_MSG_CHECKING([for recv])
|
||||||
AC_LINK_IFELSE([
|
AC_LINK_IFELSE([
|
||||||
AC_LANG_PROGRAM([[
|
AC_LANG_PROGRAM([[
|
||||||
#undef inline
|
#undef inline
|
||||||
#ifdef HAVE_WINDOWS_H
|
#ifdef HAVE_WINDOWS_H
|
||||||
#ifndef WIN32_LEAN_AND_MEAN
|
#ifndef WIN32_LEAN_AND_MEAN
|
||||||
#define WIN32_LEAN_AND_MEAN
|
#define WIN32_LEAN_AND_MEAN
|
||||||
@ -1365,7 +1365,7 @@ AC_DEFUN([CURL_CHECK_FUNC_RECV], [
|
|||||||
if test "$curl_cv_func_recv_args" = "unknown"; then
|
if test "$curl_cv_func_recv_args" = "unknown"; then
|
||||||
AC_COMPILE_IFELSE([
|
AC_COMPILE_IFELSE([
|
||||||
AC_LANG_PROGRAM([[
|
AC_LANG_PROGRAM([[
|
||||||
#undef inline
|
#undef inline
|
||||||
#ifdef HAVE_WINDOWS_H
|
#ifdef HAVE_WINDOWS_H
|
||||||
#ifndef WIN32_LEAN_AND_MEAN
|
#ifndef WIN32_LEAN_AND_MEAN
|
||||||
#define WIN32_LEAN_AND_MEAN
|
#define WIN32_LEAN_AND_MEAN
|
||||||
@ -1438,13 +1438,13 @@ AC_DEFUN([CURL_CHECK_FUNC_RECV], [
|
|||||||
|
|
||||||
dnl CURL_CHECK_FUNC_SEND
|
dnl CURL_CHECK_FUNC_SEND
|
||||||
dnl -------------------------------------------------
|
dnl -------------------------------------------------
|
||||||
dnl Test if the socket send() function is available,
|
dnl Test if the socket send() function is available,
|
||||||
dnl and check its return type and the types of its
|
dnl and check its return type and the types of its
|
||||||
dnl arguments. If the function succeeds HAVE_SEND
|
dnl arguments. If the function succeeds HAVE_SEND
|
||||||
dnl will be defined, defining the types of the arguments
|
dnl will be defined, defining the types of the arguments
|
||||||
dnl in SEND_TYPE_ARG1, SEND_TYPE_ARG2, SEND_TYPE_ARG3
|
dnl in SEND_TYPE_ARG1, SEND_TYPE_ARG2, SEND_TYPE_ARG3
|
||||||
dnl and SEND_TYPE_ARG4, defining the type of the function
|
dnl and SEND_TYPE_ARG4, defining the type of the function
|
||||||
dnl return value in SEND_TYPE_RETV, and also defining the
|
dnl return value in SEND_TYPE_RETV, and also defining the
|
||||||
dnl type qualifier of second argument in SEND_QUAL_ARG2.
|
dnl type qualifier of second argument in SEND_QUAL_ARG2.
|
||||||
|
|
||||||
AC_DEFUN([CURL_CHECK_FUNC_SEND], [
|
AC_DEFUN([CURL_CHECK_FUNC_SEND], [
|
||||||
@ -1455,7 +1455,7 @@ AC_DEFUN([CURL_CHECK_FUNC_SEND], [
|
|||||||
AC_MSG_CHECKING([for send])
|
AC_MSG_CHECKING([for send])
|
||||||
AC_LINK_IFELSE([
|
AC_LINK_IFELSE([
|
||||||
AC_LANG_PROGRAM([[
|
AC_LANG_PROGRAM([[
|
||||||
#undef inline
|
#undef inline
|
||||||
#ifdef HAVE_WINDOWS_H
|
#ifdef HAVE_WINDOWS_H
|
||||||
#ifndef WIN32_LEAN_AND_MEAN
|
#ifndef WIN32_LEAN_AND_MEAN
|
||||||
#define WIN32_LEAN_AND_MEAN
|
#define WIN32_LEAN_AND_MEAN
|
||||||
@ -1499,7 +1499,7 @@ AC_DEFUN([CURL_CHECK_FUNC_SEND], [
|
|||||||
if test "$curl_cv_func_send_args" = "unknown"; then
|
if test "$curl_cv_func_send_args" = "unknown"; then
|
||||||
AC_COMPILE_IFELSE([
|
AC_COMPILE_IFELSE([
|
||||||
AC_LANG_PROGRAM([[
|
AC_LANG_PROGRAM([[
|
||||||
#undef inline
|
#undef inline
|
||||||
#ifdef HAVE_WINDOWS_H
|
#ifdef HAVE_WINDOWS_H
|
||||||
#ifndef WIN32_LEAN_AND_MEAN
|
#ifndef WIN32_LEAN_AND_MEAN
|
||||||
#define WIN32_LEAN_AND_MEAN
|
#define WIN32_LEAN_AND_MEAN
|
||||||
@ -1623,7 +1623,7 @@ AC_DEFUN([CURL_CHECK_FUNC_RECVFROM], [
|
|||||||
AC_MSG_CHECKING([for recvfrom])
|
AC_MSG_CHECKING([for recvfrom])
|
||||||
AC_LINK_IFELSE([
|
AC_LINK_IFELSE([
|
||||||
AC_LANG_PROGRAM([[
|
AC_LANG_PROGRAM([[
|
||||||
#undef inline
|
#undef inline
|
||||||
#ifdef HAVE_WINDOWS_H
|
#ifdef HAVE_WINDOWS_H
|
||||||
#ifndef WIN32_LEAN_AND_MEAN
|
#ifndef WIN32_LEAN_AND_MEAN
|
||||||
#define WIN32_LEAN_AND_MEAN
|
#define WIN32_LEAN_AND_MEAN
|
||||||
@ -1669,7 +1669,7 @@ AC_DEFUN([CURL_CHECK_FUNC_RECVFROM], [
|
|||||||
if test "$curl_cv_func_recvfrom_args" = "unknown"; then
|
if test "$curl_cv_func_recvfrom_args" = "unknown"; then
|
||||||
AC_COMPILE_IFELSE([
|
AC_COMPILE_IFELSE([
|
||||||
AC_LANG_PROGRAM([[
|
AC_LANG_PROGRAM([[
|
||||||
#undef inline
|
#undef inline
|
||||||
#ifdef HAVE_WINDOWS_H
|
#ifdef HAVE_WINDOWS_H
|
||||||
#ifndef WIN32_LEAN_AND_MEAN
|
#ifndef WIN32_LEAN_AND_MEAN
|
||||||
#define WIN32_LEAN_AND_MEAN
|
#define WIN32_LEAN_AND_MEAN
|
||||||
@ -1805,7 +1805,7 @@ AC_DEFUN([CURL_CHECK_MSG_NOSIGNAL], [
|
|||||||
AC_CACHE_CHECK([for MSG_NOSIGNAL], [ac_cv_msg_nosignal], [
|
AC_CACHE_CHECK([for MSG_NOSIGNAL], [ac_cv_msg_nosignal], [
|
||||||
AC_COMPILE_IFELSE([
|
AC_COMPILE_IFELSE([
|
||||||
AC_LANG_PROGRAM([[
|
AC_LANG_PROGRAM([[
|
||||||
#undef inline
|
#undef inline
|
||||||
#ifdef HAVE_WINDOWS_H
|
#ifdef HAVE_WINDOWS_H
|
||||||
#ifndef WIN32_LEAN_AND_MEAN
|
#ifndef WIN32_LEAN_AND_MEAN
|
||||||
#define WIN32_LEAN_AND_MEAN
|
#define WIN32_LEAN_AND_MEAN
|
||||||
@ -1856,7 +1856,7 @@ AC_DEFUN([CURL_CHECK_STRUCT_TIMEVAL], [
|
|||||||
AC_CACHE_CHECK([for struct timeval], [ac_cv_struct_timeval], [
|
AC_CACHE_CHECK([for struct timeval], [ac_cv_struct_timeval], [
|
||||||
AC_COMPILE_IFELSE([
|
AC_COMPILE_IFELSE([
|
||||||
AC_LANG_PROGRAM([[
|
AC_LANG_PROGRAM([[
|
||||||
#undef inline
|
#undef inline
|
||||||
#ifdef HAVE_WINDOWS_H
|
#ifdef HAVE_WINDOWS_H
|
||||||
#ifndef WIN32_LEAN_AND_MEAN
|
#ifndef WIN32_LEAN_AND_MEAN
|
||||||
#define WIN32_LEAN_AND_MEAN
|
#define WIN32_LEAN_AND_MEAN
|
||||||
@ -2815,8 +2815,8 @@ AC_HELP_STRING([--without-ca-path], [Don't use a default CA path]),
|
|||||||
done
|
done
|
||||||
fi
|
fi
|
||||||
fi
|
fi
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
if test "x$ca" != "xno"; then
|
if test "x$ca" != "xno"; then
|
||||||
CURL_CA_BUNDLE='"'$ca'"'
|
CURL_CA_BUNDLE='"'$ca'"'
|
||||||
@ -3043,7 +3043,7 @@ AC_DEFUN([CURL_CONFIGURE_CURL_OFF_T], [
|
|||||||
'__int32' \
|
'__int32' \
|
||||||
'int' ; do
|
'int' ; do
|
||||||
DO_CURL_OFF_T_CHECK([$t4], [4])
|
DO_CURL_OFF_T_CHECK([$t4], [4])
|
||||||
done
|
done
|
||||||
AC_MSG_RESULT([$curl_typeof_curl_off_t])
|
AC_MSG_RESULT([$curl_typeof_curl_off_t])
|
||||||
fi
|
fi
|
||||||
if test "$curl_typeof_curl_off_t" = "unknown"; then
|
if test "$curl_typeof_curl_off_t" = "unknown"; then
|
||||||
|
@ -1,8 +1,8 @@
|
|||||||
$Id$
|
$Id$
|
||||||
_ _ ____ _
|
_ _ ____ _
|
||||||
___| | | | _ \| |
|
___| | | | _ \| |
|
||||||
/ __| | | | |_) | |
|
/ __| | | | |_) | |
|
||||||
| (__| |_| | _ <| |___
|
| (__| |_| | _ <| |___
|
||||||
\___|\___/|_| \_\_____|
|
\___|\___/|_| \_\_____|
|
||||||
|
|
||||||
BUGS
|
BUGS
|
||||||
|
@ -28,7 +28,7 @@
|
|||||||
2.10 Document
|
2.10 Document
|
||||||
2.11 Test Cases
|
2.11 Test Cases
|
||||||
|
|
||||||
3. Pushing Out Your Changes
|
3. Pushing Out Your Changes
|
||||||
3.1 Write Access to CVS Repository
|
3.1 Write Access to CVS Repository
|
||||||
3.2 How To Make a Patch
|
3.2 How To Make a Patch
|
||||||
3.3 How to get your changes into the main sources
|
3.3 How to get your changes into the main sources
|
||||||
@ -175,7 +175,7 @@
|
|||||||
test case that verifies that it works as documented. If every submitter also
|
test case that verifies that it works as documented. If every submitter also
|
||||||
posts a few test cases, it won't end up as a heavy burden on a single person!
|
posts a few test cases, it won't end up as a heavy burden on a single person!
|
||||||
|
|
||||||
3. Pushing Out Your Changes
|
3. Pushing Out Your Changes
|
||||||
|
|
||||||
3.1 Write Access to CVS Repository
|
3.1 Write Access to CVS Repository
|
||||||
|
|
||||||
|
@ -11,7 +11,7 @@ Condition
|
|||||||
This document reflects my view and understanding of these things. Please tell
|
This document reflects my view and understanding of these things. Please tell
|
||||||
me where and how you think I'm wrong, and I'll try to correct my mistakes.
|
me where and how you think I'm wrong, and I'll try to correct my mistakes.
|
||||||
|
|
||||||
Background
|
Background
|
||||||
|
|
||||||
The Free Software Foundation has deemed the Original BSD license[1] to be
|
The Free Software Foundation has deemed the Original BSD license[1] to be
|
||||||
"incompatible"[2] with GPL[3]. I'd rather say it is the other way around, but
|
"incompatible"[2] with GPL[3]. I'd rather say it is the other way around, but
|
||||||
|
6
docs/FAQ
6
docs/FAQ
@ -90,7 +90,7 @@ FAQ
|
|||||||
5.12 Can I make libcurl fake or hide my real IP address?
|
5.12 Can I make libcurl fake or hide my real IP address?
|
||||||
5.13 How do I stop an ongoing transfer?
|
5.13 How do I stop an ongoing transfer?
|
||||||
5.14 Using C++ non-static functions for callbacks?
|
5.14 Using C++ non-static functions for callbacks?
|
||||||
5.15 How do I get an FTP directory listing?
|
5.15 How do I get an FTP directory listing?
|
||||||
|
|
||||||
6. License Issues
|
6. License Issues
|
||||||
6.1 I have a GPL program, can I use the libcurl library?
|
6.1 I have a GPL program, can I use the libcurl library?
|
||||||
@ -648,7 +648,7 @@ FAQ
|
|||||||
curl ftp://ftp.sunet.se//tmp/
|
curl ftp://ftp.sunet.se//tmp/
|
||||||
|
|
||||||
3.18 Can I use curl to send a POST/PUT and not wait for a response?
|
3.18 Can I use curl to send a POST/PUT and not wait for a response?
|
||||||
|
|
||||||
No.
|
No.
|
||||||
|
|
||||||
But you could easily write your own program using libcurl to do such stunts.
|
But you could easily write your own program using libcurl to do such stunts.
|
||||||
@ -1164,7 +1164,7 @@ FAQ
|
|||||||
curl_easy_setopt(hcurl, CURLOPT_WRITEFUNCTION, YourClass:staticFunction);
|
curl_easy_setopt(hcurl, CURLOPT_WRITEFUNCTION, YourClass:staticFunction);
|
||||||
curl_easy_setopt(hcurl, CURLOPT_WRITEDATA, this);
|
curl_easy_setopt(hcurl, CURLOPT_WRITEDATA, this);
|
||||||
|
|
||||||
5.15 How do I get an FTP directory listing?
|
5.15 How do I get an FTP directory listing?
|
||||||
|
|
||||||
If you end the FTP URL you request with a slash, libcurl will provide you
|
If you end the FTP URL you request with a slash, libcurl will provide you
|
||||||
with a directory listing of that given directory. You can also set
|
with a directory listing of that given directory. You can also set
|
||||||
|
@ -1,7 +1,7 @@
|
|||||||
_ _ ____ _
|
_ _ ____ _
|
||||||
___| | | | _ \| |
|
___| | | | _ \| |
|
||||||
/ __| | | | |_) | |
|
/ __| | | | |_) | |
|
||||||
| (__| |_| | _ <| |___
|
| (__| |_| | _ <| |___
|
||||||
\___|\___/|_| \_\_____|
|
\___|\___/|_| \_\_____|
|
||||||
|
|
||||||
FEATURES
|
FEATURES
|
||||||
|
30
docs/INSTALL
30
docs/INSTALL
@ -144,7 +144,7 @@ UNIX
|
|||||||
|
|
||||||
To get support for SCP and SFTP, build with --with-libssh2 and have
|
To get support for SCP and SFTP, build with --with-libssh2 and have
|
||||||
libssh2 0.16 or later installed.
|
libssh2 0.16 or later installed.
|
||||||
|
|
||||||
SPECIAL CASES
|
SPECIAL CASES
|
||||||
-------------
|
-------------
|
||||||
Some versions of uClibc require configuring with CPPFLAGS=-D_GNU_SOURCE=1
|
Some versions of uClibc require configuring with CPPFLAGS=-D_GNU_SOURCE=1
|
||||||
@ -202,7 +202,7 @@ Win32
|
|||||||
|
|
||||||
If you have any problems linking libraries or finding header files, be sure
|
If you have any problems linking libraries or finding header files, be sure
|
||||||
to verify that the provided "Makefile.m32" files use the proper paths, and
|
to verify that the provided "Makefile.m32" files use the proper paths, and
|
||||||
adjust as necessary. It is also possible to override these paths with
|
adjust as necessary. It is also possible to override these paths with
|
||||||
environment variables, for example:
|
environment variables, for example:
|
||||||
|
|
||||||
set ZLIB_PATH=c:\zlib-1.2.3
|
set ZLIB_PATH=c:\zlib-1.2.3
|
||||||
@ -676,8 +676,8 @@ eCos
|
|||||||
+++ src/main.c 24 Jul 2006 21:37:23 -0000
|
+++ src/main.c 24 Jul 2006 21:37:23 -0000
|
||||||
@@ -4286,11 +4286,31 @@
|
@@ -4286,11 +4286,31 @@
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
+#ifdef __ECOS
|
+#ifdef __ECOS
|
||||||
+#include <cyg/fileio/fileio.h>
|
+#include <cyg/fileio/fileio.h>
|
||||||
+MTAB_ENTRY( testfs_mte1,
|
+MTAB_ENTRY( testfs_mte1,
|
||||||
@ -686,7 +686,7 @@ eCos
|
|||||||
+ "",
|
+ "",
|
||||||
+ 0);
|
+ 0);
|
||||||
+#endif
|
+#endif
|
||||||
|
|
||||||
int main(int argc, char *argv[])
|
int main(int argc, char *argv[])
|
||||||
{
|
{
|
||||||
int res;
|
int res;
|
||||||
@ -704,7 +704,7 @@ eCos
|
|||||||
+ }
|
+ }
|
||||||
+#endif
|
+#endif
|
||||||
memset(&config, 0, sizeof(struct Configurable));
|
memset(&config, 0, sizeof(struct Configurable));
|
||||||
|
|
||||||
config.errors = stderr; /* default errors to stderr */
|
config.errors = stderr; /* default errors to stderr */
|
||||||
|
|
||||||
|
|
||||||
@ -713,7 +713,7 @@ Minix
|
|||||||
curl can be compiled on Minix 3 using gcc or ACK (starting with
|
curl can be compiled on Minix 3 using gcc or ACK (starting with
|
||||||
ver. 3.1.3). Ensure that GNU gawk and bash are both installed and
|
ver. 3.1.3). Ensure that GNU gawk and bash are both installed and
|
||||||
available in the PATH.
|
available in the PATH.
|
||||||
|
|
||||||
ACK
|
ACK
|
||||||
---
|
---
|
||||||
Increase the heap sizes of the compiler with the command:
|
Increase the heap sizes of the compiler with the command:
|
||||||
@ -730,9 +730,9 @@ Minix
|
|||||||
GCC
|
GCC
|
||||||
---
|
---
|
||||||
Make sure gcc is in your PATH with the command:
|
Make sure gcc is in your PATH with the command:
|
||||||
|
|
||||||
export PATH=/usr/gnu/bin:$PATH
|
export PATH=/usr/gnu/bin:$PATH
|
||||||
|
|
||||||
then configure and compile curl with:
|
then configure and compile curl with:
|
||||||
|
|
||||||
./configure CC=gcc AR=/usr/gnu/bin/gar GREP=grep
|
./configure CC=gcc AR=/usr/gnu/bin/gar GREP=grep
|
||||||
@ -756,11 +756,11 @@ Symbian OS
|
|||||||
VxWorks
|
VxWorks
|
||||||
========
|
========
|
||||||
Build for VxWorks is performed using cross compilation.
|
Build for VxWorks is performed using cross compilation.
|
||||||
That means you build on Windows machine using VxWorks tools and
|
That means you build on Windows machine using VxWorks tools and
|
||||||
run the built image on the VxWorks device.
|
run the built image on the VxWorks device.
|
||||||
|
|
||||||
To build libcurl for VxWorks you need:
|
To build libcurl for VxWorks you need:
|
||||||
|
|
||||||
- CYGWIN (free, http://cygwin.com/)
|
- CYGWIN (free, http://cygwin.com/)
|
||||||
- Wind River Workbench (commercial)
|
- Wind River Workbench (commercial)
|
||||||
|
|
||||||
@ -774,10 +774,10 @@ VxWorks
|
|||||||
3. Adjust environment variables defined in 'Environment' section
|
3. Adjust environment variables defined in 'Environment' section
|
||||||
of the Makefile.vxworks file to point to your software folders.
|
of the Makefile.vxworks file to point to your software folders.
|
||||||
4. Build the libcurl by typing 'make -f ./Makefile.vxworks'
|
4. Build the libcurl by typing 'make -f ./Makefile.vxworks'
|
||||||
|
|
||||||
As a result the libcurl.a library should be created in the 'lib' folder.
|
As a result the libcurl.a library should be created in the 'lib' folder.
|
||||||
To clean the build results type 'make -f ./Makefile.vxworks clean'.
|
To clean the build results type 'make -f ./Makefile.vxworks clean'.
|
||||||
|
|
||||||
|
|
||||||
CROSS COMPILE
|
CROSS COMPILE
|
||||||
=============
|
=============
|
||||||
|
@ -14,9 +14,9 @@ Building with CMake
|
|||||||
CMake is specifed in the file CMakeLists.txt found in the top of the curl
|
CMake is specifed in the file CMakeLists.txt found in the top of the curl
|
||||||
source tree. Once the correct version of CMake is installed you can follow
|
source tree. Once the correct version of CMake is installed you can follow
|
||||||
the instructions below for the platform you are building on.
|
the instructions below for the platform you are building on.
|
||||||
|
|
||||||
CMake builds can be configured either from the command line, or from one
|
CMake builds can be configured either from the command line, or from one
|
||||||
of CMake's GUI's.
|
of CMake's GUI's.
|
||||||
|
|
||||||
Command Line CMake
|
Command Line CMake
|
||||||
==================
|
==================
|
||||||
@ -30,7 +30,7 @@ Command Line CMake
|
|||||||
# the Curl source tree. CMake will pick a compiler for you. If you
|
# the Curl source tree. CMake will pick a compiler for you. If you
|
||||||
# want to specifiy the compile, you can set the CC environment
|
# want to specifiy the compile, you can set the CC environment
|
||||||
# variable prior to running CMake.
|
# variable prior to running CMake.
|
||||||
cmake ../curl
|
cmake ../curl
|
||||||
make
|
make
|
||||||
# currently make test and make install are not implemented
|
# currently make test and make install are not implemented
|
||||||
#make test
|
#make test
|
||||||
@ -54,12 +54,12 @@ cmake-gui
|
|||||||
2. Fill in the "Where to build the binaries" combo box with the path
|
2. Fill in the "Where to build the binaries" combo box with the path
|
||||||
to the directory for your build tree, ideally this should not be the
|
to the directory for your build tree, ideally this should not be the
|
||||||
same as the source tree, but a parallel diretory called curl-build or
|
same as the source tree, but a parallel diretory called curl-build or
|
||||||
something similar.
|
something similar.
|
||||||
3. Once the source and binary directories are specified, press the
|
3. Once the source and binary directories are specified, press the
|
||||||
"Configure" button.
|
"Configure" button.
|
||||||
4. Select the native build tool that you want to use.
|
4. Select the native build tool that you want to use.
|
||||||
5. At this point you can change any of the options presented in the
|
5. At this point you can change any of the options presented in the
|
||||||
GUI. Once you have selected all the options you want, click the
|
GUI. Once you have selected all the options you want, click the
|
||||||
"Generate" button.
|
"Generate" button.
|
||||||
6. Run the native build tool that you used CMake to genratate.
|
6. Run the native build tool that you used CMake to genratate.
|
||||||
|
|
||||||
|
@ -1,13 +1,13 @@
|
|||||||
DevCpp-Mingw Install & Compilation Sept 2005
|
DevCpp-Mingw Install & Compilation Sept 2005
|
||||||
==================================
|
==================================
|
||||||
|
|
||||||
Reference Emails available at curl@haxx.se:
|
Reference Emails available at curl@haxx.se:
|
||||||
|
|
||||||
Libcurl Install and Use Issues
|
Libcurl Install and Use Issues
|
||||||
Awaiting an Answer for Win 32 Install
|
Awaiting an Answer for Win 32 Install
|
||||||
res = curl_easy_perform(curl); Error
|
res = curl_easy_perform(curl); Error
|
||||||
Makefile Issues
|
Makefile Issues
|
||||||
|
|
||||||
|
|
||||||
Having previously done a thorough review of what was available that met my
|
Having previously done a thorough review of what was available that met my
|
||||||
requirements under GPL, I settled for Libcurl as the software of choice for
|
requirements under GPL, I settled for Libcurl as the software of choice for
|
||||||
@ -110,7 +110,7 @@ Next read the contents of Makefile.m32. It includes instructions on its use.
|
|||||||
|
|
||||||
Method I - DOS Command Line
|
Method I - DOS Command Line
|
||||||
---------------------------
|
---------------------------
|
||||||
|
|
||||||
Note - The only reason I have included this method is that Method II which is
|
Note - The only reason I have included this method is that Method II which is
|
||||||
the preferred method for compiling does not allow for the setting of option
|
the preferred method for compiling does not allow for the setting of option
|
||||||
switches (e.g. SSL = 1 or SSL =0). At least that's what they tell me at the
|
switches (e.g. SSL = 1 or SSL =0). At least that's what they tell me at the
|
||||||
@ -191,7 +191,7 @@ the contents of the LIB Folder. If not go there.
|
|||||||
files and close box. Wait till all files are added. This may take 30 seconds
|
files and close box. Wait till all files are added. This may take 30 seconds
|
||||||
or longer.
|
or longer.
|
||||||
|
|
||||||
9- Drop the Menu Execute/Click on Compile.
|
9- Drop the Menu Execute/Click on Compile.
|
||||||
|
|
||||||
10- That's it.
|
10- That's it.
|
||||||
|
|
||||||
@ -269,7 +269,7 @@ added. Otherwise you may experience link errors.
|
|||||||
2- Don't forget to include #include "curl/curl.h".
|
2- Don't forget to include #include "curl/curl.h".
|
||||||
|
|
||||||
e.g.
|
e.g.
|
||||||
#define CURL_STATICLIB
|
#define CURL_STATICLIB
|
||||||
#include <windows.h>
|
#include <windows.h>
|
||||||
#include "curl/curl.h"
|
#include "curl/curl.h"
|
||||||
#include <fstream>
|
#include <fstream>
|
||||||
|
@ -1,7 +1,7 @@
|
|||||||
_ _ ____ _
|
_ _ ____ _
|
||||||
___| | | | _ \| |
|
___| | | | _ \| |
|
||||||
/ __| | | | |_) | |
|
/ __| | | | |_) | |
|
||||||
| (__| |_| | _ <| |___
|
| (__| |_| | _ <| |___
|
||||||
\___|\___/|_| \_\_____|
|
\___|\___/|_| \_\_____|
|
||||||
|
|
||||||
INTERNALS
|
INTERNALS
|
||||||
@ -304,7 +304,7 @@ Library
|
|||||||
|
|
||||||
lib/timeval.c features replacement functions for systems that don't have
|
lib/timeval.c features replacement functions for systems that don't have
|
||||||
gettimeofday() and a few support functions for timeval convertions.
|
gettimeofday() and a few support functions for timeval convertions.
|
||||||
|
|
||||||
A function named curl_version() that returns the full curl version string is
|
A function named curl_version() that returns the full curl version string is
|
||||||
found in lib/version.c.
|
found in lib/version.c.
|
||||||
|
|
||||||
@ -375,7 +375,7 @@ SSL libraries
|
|||||||
|
|
||||||
Library Symbols
|
Library Symbols
|
||||||
===============
|
===============
|
||||||
|
|
||||||
All symbols used internally in libcurl must use a 'Curl_' prefix if they're
|
All symbols used internally in libcurl must use a 'Curl_' prefix if they're
|
||||||
used in more than a single file. Single-file symbols must be made static.
|
used in more than a single file. Single-file symbols must be made static.
|
||||||
Public ("exported") symbols must use a 'curl_' prefix. (There are exceptions,
|
Public ("exported") symbols must use a 'curl_' prefix. (There are exceptions,
|
||||||
|
@ -21,7 +21,7 @@ may have been fixed since this was written!
|
|||||||
|
|
||||||
70. Problem re-using easy handle after call to curl_multi_remove_handle
|
70. Problem re-using easy handle after call to curl_multi_remove_handle
|
||||||
http://curl.haxx.se/mail/lib-2009-07/0249.html
|
http://curl.haxx.se/mail/lib-2009-07/0249.html
|
||||||
|
|
||||||
68. "More questions about ares behavior".
|
68. "More questions about ares behavior".
|
||||||
http://curl.haxx.se/mail/lib-2009-08/0012.html
|
http://curl.haxx.se/mail/lib-2009-08/0012.html
|
||||||
|
|
||||||
@ -163,7 +163,7 @@ may have been fixed since this was written!
|
|||||||
to VMS file structures and the perceived file sizes stat() returns. A
|
to VMS file structures and the perceived file sizes stat() returns. A
|
||||||
possible fix would involve sending a "STRU VMS" command.
|
possible fix would involve sending a "STRU VMS" command.
|
||||||
http://curl.haxx.se/bug/view.cgi?id=1156287
|
http://curl.haxx.se/bug/view.cgi?id=1156287
|
||||||
|
|
||||||
21. FTP ASCII transfers do not follow RFC959. They don't convert the data
|
21. FTP ASCII transfers do not follow RFC959. They don't convert the data
|
||||||
accordingly (not for sending nor for receiving). RFC 959 section 3.1.1.1
|
accordingly (not for sending nor for receiving). RFC 959 section 3.1.1.1
|
||||||
clearly describes how this should be done:
|
clearly describes how this should be done:
|
||||||
|
28
docs/MANUAL
28
docs/MANUAL
@ -168,7 +168,7 @@ RANGES
|
|||||||
|
|
||||||
Get the first 100 bytes of a document using FTP:
|
Get the first 100 bytes of a document using FTP:
|
||||||
|
|
||||||
curl -r 0-99 ftp://www.get.this/README
|
curl -r 0-99 ftp://www.get.this/README
|
||||||
|
|
||||||
UPLOADING
|
UPLOADING
|
||||||
|
|
||||||
@ -184,7 +184,7 @@ UPLOADING
|
|||||||
|
|
||||||
Upload a local file to the remote site, and use the local file name remote
|
Upload a local file to the remote site, and use the local file name remote
|
||||||
too:
|
too:
|
||||||
|
|
||||||
curl -T uploadfile -u user:passwd ftp://ftp.upload.com/
|
curl -T uploadfile -u user:passwd ftp://ftp.upload.com/
|
||||||
|
|
||||||
Upload a local file to get appended to the remote file:
|
Upload a local file to get appended to the remote file:
|
||||||
@ -223,7 +223,7 @@ VERBOSE / DEBUG
|
|||||||
this:
|
this:
|
||||||
|
|
||||||
curl --trace trace.txt www.haxx.se
|
curl --trace trace.txt www.haxx.se
|
||||||
|
|
||||||
|
|
||||||
DETAILED INFORMATION
|
DETAILED INFORMATION
|
||||||
|
|
||||||
@ -325,12 +325,12 @@ POST (HTTP)
|
|||||||
To send two files in one post you can do it in two ways:
|
To send two files in one post you can do it in two ways:
|
||||||
|
|
||||||
1. Send multiple files in a single "field" with a single field name:
|
1. Send multiple files in a single "field" with a single field name:
|
||||||
|
|
||||||
curl -F "pictures=@dog.gif,cat.gif"
|
|
||||||
|
|
||||||
2. Send two fields with two field names:
|
|
||||||
|
|
||||||
curl -F "docpicture=@dog.gif" -F "catpicture=@cat.gif"
|
curl -F "pictures=@dog.gif,cat.gif"
|
||||||
|
|
||||||
|
2. Send two fields with two field names:
|
||||||
|
|
||||||
|
curl -F "docpicture=@dog.gif" -F "catpicture=@cat.gif"
|
||||||
|
|
||||||
To send a field value literally without interpreting a leading '@'
|
To send a field value literally without interpreting a leading '@'
|
||||||
or '<', or an embedded ';type=', use --form-string instead of
|
or '<', or an embedded ';type=', use --form-string instead of
|
||||||
@ -678,15 +678,15 @@ HTTPS
|
|||||||
formatted one that curl can use, do something like this (assuming netscape,
|
formatted one that curl can use, do something like this (assuming netscape,
|
||||||
but IE is likely to work similarly):
|
but IE is likely to work similarly):
|
||||||
|
|
||||||
You start with hitting the 'security' menu button in netscape.
|
You start with hitting the 'security' menu button in netscape.
|
||||||
|
|
||||||
Select 'certificates->yours' and then pick a certificate in the list
|
Select 'certificates->yours' and then pick a certificate in the list
|
||||||
|
|
||||||
Press the 'export' button
|
Press the 'export' button
|
||||||
|
|
||||||
enter your PIN code for the certs
|
enter your PIN code for the certs
|
||||||
|
|
||||||
select a proper place to save it
|
select a proper place to save it
|
||||||
|
|
||||||
Run the 'openssl' application to convert the certificate. If you cd to the
|
Run the 'openssl' application to convert the certificate. If you cd to the
|
||||||
openssl installation, you can do it like:
|
openssl installation, you can do it like:
|
||||||
@ -793,7 +793,7 @@ ENVIRONMENT VARIABLES
|
|||||||
|
|
||||||
They should be set for protocol-specific proxies. General proxy should be
|
They should be set for protocol-specific proxies. General proxy should be
|
||||||
set with
|
set with
|
||||||
|
|
||||||
ALL_PROXY
|
ALL_PROXY
|
||||||
|
|
||||||
A comma-separated list of host names that shouldn't go through any proxy is
|
A comma-separated list of host names that shouldn't go through any proxy is
|
||||||
|
@ -1,7 +1,7 @@
|
|||||||
_ _ ____ _
|
_ _ ____ _
|
||||||
___| | | | _ \| |
|
___| | | | _ \| |
|
||||||
/ __| | | | |_) | |
|
/ __| | | | |_) | |
|
||||||
| (__| |_| | _ <| |___
|
| (__| |_| | _ <| |___
|
||||||
\___|\___/|_| \_\_____|
|
\___|\___/|_| \_\_____|
|
||||||
|
|
||||||
README.cmake
|
README.cmake
|
||||||
@ -10,7 +10,7 @@ README.cmake
|
|||||||
Curl contains CMake build files that provide a way to build Curl with the
|
Curl contains CMake build files that provide a way to build Curl with the
|
||||||
CMake build tool (www.cmake.org). CMake is a cross platform meta build tool
|
CMake build tool (www.cmake.org). CMake is a cross platform meta build tool
|
||||||
that generates native makefiles and IDE project files. The CMake build
|
that generates native makefiles and IDE project files. The CMake build
|
||||||
system can be used to build Curl on any of its supported platforms.
|
system can be used to build Curl on any of its supported platforms.
|
||||||
|
|
||||||
Read the INSTALL.cmake file for instructions on how to compile curl with
|
Read the INSTALL.cmake file for instructions on how to compile curl with
|
||||||
CMake.
|
CMake.
|
||||||
|
@ -1,7 +1,7 @@
|
|||||||
_ _ ____ _
|
_ _ ____ _
|
||||||
___| | | | _ \| |
|
___| | | | _ \| |
|
||||||
/ __| | | | |_) | |
|
/ __| | | | |_) | |
|
||||||
| (__| |_| | _ <| |___
|
| (__| |_| | _ <| |___
|
||||||
\___|\___/|_| \_\_____|
|
\___|\___/|_| \_\_____|
|
||||||
|
|
||||||
README.netware
|
README.netware
|
||||||
@ -10,9 +10,9 @@ README.netware
|
|||||||
|
|
||||||
Curl has been successfully compiled with gcc / nlmconv on different flavours
|
Curl has been successfully compiled with gcc / nlmconv on different flavours
|
||||||
of Linux as well as with the official Metrowerks CodeWarrior compiler.
|
of Linux as well as with the official Metrowerks CodeWarrior compiler.
|
||||||
While not being the main development target, a continously growing share of
|
While not being the main development target, a continously growing share of
|
||||||
curl users are NetWare-based, specially also consuming the lib from PHP.
|
curl users are NetWare-based, specially also consuming the lib from PHP.
|
||||||
|
|
||||||
The unix-style man pages are tricky to read on windows, so therefore are all
|
The unix-style man pages are tricky to read on windows, so therefore are all
|
||||||
those pages converted to HTML as well as pdf, and included in the release
|
those pages converted to HTML as well as pdf, and included in the release
|
||||||
archives.
|
archives.
|
||||||
@ -24,4 +24,4 @@ README.netware
|
|||||||
|
|
||||||
Read the INSTALL file for instructions how to compile curl self.
|
Read the INSTALL file for instructions how to compile curl self.
|
||||||
|
|
||||||
|
|
||||||
|
@ -1,7 +1,7 @@
|
|||||||
_ _ ____ _
|
_ _ ____ _
|
||||||
___| | | | _ \| |
|
___| | | | _ \| |
|
||||||
/ __| | | | |_) | |
|
/ __| | | | |_) | |
|
||||||
| (__| |_| | _ <| |___
|
| (__| |_| | _ <| |___
|
||||||
\___|\___/|_| \_\_____|
|
\___|\___/|_| \_\_____|
|
||||||
|
|
||||||
README.win32
|
README.win32
|
||||||
|
@ -1,7 +1,7 @@
|
|||||||
_ _ ____ _
|
_ _ ____ _
|
||||||
Project ___| | | | _ \| |
|
Project ___| | | | _ \| |
|
||||||
/ __| | | | |_) | |
|
/ __| | | | |_) | |
|
||||||
| (__| |_| | _ <| |___
|
| (__| |_| | _ <| |___
|
||||||
\___|\___/|_| \_\_____|
|
\___|\___/|_| \_\_____|
|
||||||
|
|
||||||
|
|
||||||
@ -46,7 +46,7 @@ This document lists documents and standards used by curl.
|
|||||||
Character Sets, Languages, and Continuations
|
Character Sets, Languages, and Continuations
|
||||||
|
|
||||||
RFC 2388 - "Returning Values from Forms: multipart/form-data"
|
RFC 2388 - "Returning Values from Forms: multipart/form-data"
|
||||||
Use this as an addition to the RFC1867
|
Use this as an addition to the RFC1867
|
||||||
|
|
||||||
RFC 2396 - "Uniform Resource Identifiers: Generic Syntax and Semantics" This
|
RFC 2396 - "Uniform Resource Identifiers: Generic Syntax and Semantics" This
|
||||||
one obsoletes RFC 1738, but since RFC 1738 is often mentioned
|
one obsoletes RFC 1738, but since RFC 1738 is often mentioned
|
||||||
@ -61,12 +61,12 @@ This document lists documents and standards used by curl.
|
|||||||
RFC 2617 - HTTP Authentication
|
RFC 2617 - HTTP Authentication
|
||||||
|
|
||||||
RFC 2718 - Guidelines for new URL Schemes
|
RFC 2718 - Guidelines for new URL Schemes
|
||||||
|
|
||||||
RFC 2732 - Format for Literal IPv6 Addresses in URL's
|
RFC 2732 - Format for Literal IPv6 Addresses in URL's
|
||||||
|
|
||||||
RFC 2818 - HTTP Over TLS (TLS is the successor to SSL)
|
RFC 2818 - HTTP Over TLS (TLS is the successor to SSL)
|
||||||
|
|
||||||
RFC 2964 - Use of HTTP State Management
|
RFC 2964 - Use of HTTP State Management
|
||||||
|
|
||||||
RFC 2965 - HTTP State Management Mechanism. Cookies. Obsoletes RFC2109
|
RFC 2965 - HTTP State Management Mechanism. Cookies. Obsoletes RFC2109
|
||||||
|
|
||||||
|
@ -103,7 +103,7 @@ https://wiki.mozilla.org/NSS_Shared_DB
|
|||||||
Starting with version 7.19.7 libcurl will check for the NSS version it runs,
|
Starting with version 7.19.7 libcurl will check for the NSS version it runs,
|
||||||
and add automatically the 'sql:' prefix to the certdb directory (either the
|
and add automatically the 'sql:' prefix to the certdb directory (either the
|
||||||
hardcoded default /etc/pki/nssdb or the directory configured with SSL_DIR
|
hardcoded default /etc/pki/nssdb or the directory configured with SSL_DIR
|
||||||
environment variable) if a version 3.12.0 or later is detected.
|
environment variable) if a version 3.12.0 or later is detected.
|
||||||
To check which certdb format your distribution provides examine the default
|
To check which certdb format your distribution provides examine the default
|
||||||
certdb location /etc/pki/nssdb; the new certdb format can be identified by
|
certdb location /etc/pki/nssdb; the new certdb format can be identified by
|
||||||
the filenames cert9.db, key4.db, pkcs11.txt; filenames of older versions are
|
the filenames cert9.db, key4.db, pkcs11.txt; filenames of older versions are
|
||||||
|
10
docs/TODO
10
docs/TODO
@ -1,7 +1,7 @@
|
|||||||
_ _ ____ _
|
_ _ ____ _
|
||||||
___| | | | _ \| |
|
___| | | | _ \| |
|
||||||
/ __| | | | |_) | |
|
/ __| | | | |_) | |
|
||||||
| (__| |_| | _ <| |___
|
| (__| |_| | _ <| |___
|
||||||
\___|\___/|_| \_\_____|
|
\___|\___/|_| \_\_____|
|
||||||
|
|
||||||
Things that could be nice to do in the future
|
Things that could be nice to do in the future
|
||||||
@ -132,7 +132,7 @@
|
|||||||
|
|
||||||
libcurl built without an asynchronous resolver library uses alarm() to time
|
libcurl built without an asynchronous resolver library uses alarm() to time
|
||||||
out DNS lookups. When a timeout occurs, this causes libcurl to jump from the
|
out DNS lookups. When a timeout occurs, this causes libcurl to jump from the
|
||||||
signal handler back into the library with a sigsetjmp, which effectively
|
signal handler back into the library with a sigsetjmp, which effectively
|
||||||
causes libcurl to continue running within the signal handler. This is
|
causes libcurl to continue running within the signal handler. This is
|
||||||
non-portable and could cause problems on some platforms. A discussion on the
|
non-portable and could cause problems on some platforms. A discussion on the
|
||||||
problem is available at http://curl.haxx.se/mail/lib-2008-09/0197.html
|
problem is available at http://curl.haxx.se/mail/lib-2008-09/0197.html
|
||||||
|
@ -222,7 +222,7 @@ Date: May 28, 2008
|
|||||||
The site might require a different authentication method (check the headers
|
The site might require a different authentication method (check the headers
|
||||||
returned by the server), and then --ntlm, --digest, --negotiate or even
|
returned by the server), and then --ntlm, --digest, --negotiate or even
|
||||||
--anyauth might be options that suit you.
|
--anyauth might be options that suit you.
|
||||||
|
|
||||||
Sometimes your HTTP access is only available through the use of a HTTP
|
Sometimes your HTTP access is only available through the use of a HTTP
|
||||||
proxy. This seems to be especially common at various companies. A HTTP proxy
|
proxy. This seems to be especially common at various companies. A HTTP proxy
|
||||||
may require its own user and password to allow the client to get through to
|
may require its own user and password to allow the client to get through to
|
||||||
@ -292,8 +292,8 @@ Date: May 28, 2008
|
|||||||
such pages in the same manner it display all HTTP replies. It does however
|
such pages in the same manner it display all HTTP replies. It does however
|
||||||
feature an option that will make it attempt to follow the Location: pointers.
|
feature an option that will make it attempt to follow the Location: pointers.
|
||||||
|
|
||||||
To tell curl to follow a Location:
|
To tell curl to follow a Location:
|
||||||
|
|
||||||
curl -L www.sitethatredirects.com
|
curl -L www.sitethatredirects.com
|
||||||
|
|
||||||
If you use curl to POST to a site that immediately redirects you to another
|
If you use curl to POST to a site that immediately redirects you to another
|
||||||
|
@ -1,7 +1,7 @@
|
|||||||
_ _ ____ _
|
_ _ ____ _
|
||||||
___| | | | _ \| |
|
___| | | | _ \| |
|
||||||
/ __| | | | |_) | |
|
/ __| | | | |_) | |
|
||||||
| (__| |_| | _ <| |___
|
| (__| |_| | _ <| |___
|
||||||
\___|\___/|_| \_\_____|
|
\___|\___/|_| \_\_____|
|
||||||
|
|
||||||
Version Numbers and Releases
|
Version Numbers and Releases
|
||||||
@ -52,7 +52,7 @@ Version Numbers and Releases
|
|||||||
have the libcurl version stored in the curl/curlver.h file using a static
|
have the libcurl version stored in the curl/curlver.h file using a static
|
||||||
numbering scheme that can be used for comparison. The version number is
|
numbering scheme that can be used for comparison. The version number is
|
||||||
defined as:
|
defined as:
|
||||||
|
|
||||||
#define LIBCURL_VERSION_NUM 0xXXYYZZ
|
#define LIBCURL_VERSION_NUM 0xXXYYZZ
|
||||||
|
|
||||||
Where XX, YY and ZZ are the main version, release and patch numbers in
|
Where XX, YY and ZZ are the main version, release and patch numbers in
|
||||||
|
@ -5,7 +5,7 @@
|
|||||||
.\" * | (__| |_| | _ <| |___
|
.\" * | (__| |_| | _ <| |___
|
||||||
.\" * \___|\___/|_| \_\_____|
|
.\" * \___|\___/|_| \_\_____|
|
||||||
.\" *
|
.\" *
|
||||||
.\" * Copyright (C) 1998 - 2007, Daniel Stenberg, <daniel@haxx.se>, et al.
|
.\" * Copyright (C) 1998 - 2010, Daniel Stenberg, <daniel@haxx.se>, et al.
|
||||||
.\" *
|
.\" *
|
||||||
.\" * This software is licensed as described in the file COPYING, which
|
.\" * This software is licensed as described in the file COPYING, which
|
||||||
.\" * you should have received as part of this distribution. The terms
|
.\" * you should have received as part of this distribution. The terms
|
||||||
@ -38,9 +38,9 @@ Displays the compiler used to build libcurl.
|
|||||||
Set of compiler options (CFLAGS) to use when compiling files that use
|
Set of compiler options (CFLAGS) to use when compiling files that use
|
||||||
libcurl. Currently that is only the include path to the curl include files.
|
libcurl. Currently that is only the include path to the curl include files.
|
||||||
.IP "--checkfor [version]"
|
.IP "--checkfor [version]"
|
||||||
Specify the oldest possible libcurl version string you want, and this
|
Specify the oldest possible libcurl version string you want, and this
|
||||||
script will return 0 if the current installation is new enough or it
|
script will return 0 if the current installation is new enough or it
|
||||||
returns 1 and outputs a text saying that the current version is not new
|
returns 1 and outputs a text saying that the current version is not new
|
||||||
enough. (Added in 7.15.4)
|
enough. (Added in 7.15.4)
|
||||||
.IP "--configure"
|
.IP "--configure"
|
||||||
Displays the arguments given to configure when building curl.
|
Displays the arguments given to configure when building curl.
|
||||||
|
@ -215,7 +215,7 @@ local directory hierarchy as needed. This option creates the dirs mentioned
|
|||||||
with the -o option, nothing else. If the -o file name uses no dir or if the
|
with the -o option, nothing else. If the -o file name uses no dir or if the
|
||||||
dirs it mentions already exist, no dir will be created.
|
dirs it mentions already exist, no dir will be created.
|
||||||
|
|
||||||
To create remote directories when using FTP or SFTP, try
|
To create remote directories when using FTP or SFTP, try
|
||||||
\fI--ftp-create-dirs\fP.
|
\fI--ftp-create-dirs\fP.
|
||||||
.IP "--crlf"
|
.IP "--crlf"
|
||||||
(FTP) Convert LF to CRLF in upload. Useful for MVS (OS/390).
|
(FTP) Convert LF to CRLF in upload. Useful for MVS (OS/390).
|
||||||
|
@ -1,8 +1,8 @@
|
|||||||
#############################################################################
|
#############################################################################
|
||||||
# _ _ ____ _
|
# _ _ ____ _
|
||||||
# Project ___| | | | _ \| |
|
# Project ___| | | | _ \| |
|
||||||
# / __| | | | |_) | |
|
# / __| | | | |_) | |
|
||||||
# | (__| |_| | _ <| |___
|
# | (__| |_| | _ <| |___
|
||||||
# \___|\___/|_| \_\_____|
|
# \___|\___/|_| \_\_____|
|
||||||
#
|
#
|
||||||
# $Id$
|
# $Id$
|
||||||
|
@ -40,7 +40,7 @@
|
|||||||
static size_t WriteCallback(void *ptr, size_t size, size_t nmemb, void *data)
|
static size_t WriteCallback(void *ptr, size_t size, size_t nmemb, void *data)
|
||||||
{
|
{
|
||||||
/* we are not interested in the downloaded bytes itself,
|
/* we are not interested in the downloaded bytes itself,
|
||||||
so we only return the size we would have saved ... */
|
so we only return the size we would have saved ... */
|
||||||
return (size_t)(size * nmemb);
|
return (size_t)(size * nmemb);
|
||||||
}
|
}
|
||||||
|
|
||||||
@ -57,7 +57,7 @@ int main(int argc, char *argv[])
|
|||||||
for (argc--, argv++; *argv; argc--, argv++) {
|
for (argc--, argv++; *argv; argc--, argv++) {
|
||||||
if (strncasecmp(*argv, "-", 1) == 0) {
|
if (strncasecmp(*argv, "-", 1) == 0) {
|
||||||
if (strncasecmp(*argv, "-H", 2) == 0) {
|
if (strncasecmp(*argv, "-H", 2) == 0) {
|
||||||
fprintf(stderr,
|
fprintf(stderr,
|
||||||
"\rUsage: %s [-m=1|2|5|10|20|50|100] [-t] [-x] [url]\n",
|
"\rUsage: %s [-m=1|2|5|10|20|50|100] [-t] [-x] [url]\n",
|
||||||
appname);
|
appname);
|
||||||
exit(1);
|
exit(1);
|
||||||
|
@ -5,7 +5,7 @@
|
|||||||
* | (__| |_| | _ <| |___
|
* | (__| |_| | _ <| |___
|
||||||
* \___|\___/|_| \_\_____|
|
* \___|\___/|_| \_\_____|
|
||||||
*
|
*
|
||||||
* This example shows usage of simple cookie interface.
|
* This example shows usage of simple cookie interface.
|
||||||
*/
|
*/
|
||||||
|
|
||||||
#include <stdio.h>
|
#include <stdio.h>
|
||||||
@ -80,7 +80,7 @@ main(void)
|
|||||||
res = curl_easy_setopt(curl, CURLOPT_COOKIELIST, nline);
|
res = curl_easy_setopt(curl, CURLOPT_COOKIELIST, nline);
|
||||||
if (res != CURLE_OK) {
|
if (res != CURLE_OK) {
|
||||||
fprintf(stderr, "Curl curl_easy_setopt failed: %s\n", curl_easy_strerror(res));
|
fprintf(stderr, "Curl curl_easy_setopt failed: %s\n", curl_easy_strerror(res));
|
||||||
return 1;
|
return 1;
|
||||||
}
|
}
|
||||||
|
|
||||||
/* HTTP-header style cookie */
|
/* HTTP-header style cookie */
|
||||||
@ -90,7 +90,7 @@ main(void)
|
|||||||
res = curl_easy_setopt(curl, CURLOPT_COOKIELIST, nline);
|
res = curl_easy_setopt(curl, CURLOPT_COOKIELIST, nline);
|
||||||
if (res != CURLE_OK) {
|
if (res != CURLE_OK) {
|
||||||
fprintf(stderr, "Curl curl_easy_setopt failed: %s\n", curl_easy_strerror(res));
|
fprintf(stderr, "Curl curl_easy_setopt failed: %s\n", curl_easy_strerror(res));
|
||||||
return 1;
|
return 1;
|
||||||
}
|
}
|
||||||
|
|
||||||
print_cookies(curl);
|
print_cookies(curl);
|
||||||
|
@ -115,7 +115,7 @@ static const char *curlx_usage[]={
|
|||||||
|
|
||||||
*/
|
*/
|
||||||
|
|
||||||
/*
|
/*
|
||||||
* We use this ZERO_NULL to avoid picky compiler warnings,
|
* We use this ZERO_NULL to avoid picky compiler warnings,
|
||||||
* when assigning a NULL pointer to a function pointer var.
|
* when assigning a NULL pointer to a function pointer var.
|
||||||
*/
|
*/
|
||||||
|
@ -23,7 +23,7 @@
|
|||||||
static size_t throw_away(void *ptr, size_t size, size_t nmemb, void *data)
|
static size_t throw_away(void *ptr, size_t size, size_t nmemb, void *data)
|
||||||
{
|
{
|
||||||
/* we are not interested in the headers itself,
|
/* we are not interested in the headers itself,
|
||||||
so we only return the size we would have saved ... */
|
so we only return the size we would have saved ... */
|
||||||
return (size_t)(size * nmemb);
|
return (size_t)(size * nmemb);
|
||||||
}
|
}
|
||||||
|
|
||||||
@ -45,7 +45,7 @@ int main(void)
|
|||||||
/* No download if the file */
|
/* No download if the file */
|
||||||
curl_easy_setopt(curl, CURLOPT_NOBODY, 1L);
|
curl_easy_setopt(curl, CURLOPT_NOBODY, 1L);
|
||||||
/* Ask for filetime */
|
/* Ask for filetime */
|
||||||
curl_easy_setopt(curl, CURLOPT_FILETIME, 1L);
|
curl_easy_setopt(curl, CURLOPT_FILETIME, 1L);
|
||||||
/* No header output: TODO 14.1 http-style HEAD output for ftp */
|
/* No header output: TODO 14.1 http-style HEAD output for ftp */
|
||||||
curl_easy_setopt(curl, CURLOPT_HEADERFUNCTION, throw_away);
|
curl_easy_setopt(curl, CURLOPT_HEADERFUNCTION, throw_away);
|
||||||
curl_easy_setopt(curl, CURLOPT_HEADER, 0L);
|
curl_easy_setopt(curl, CURLOPT_HEADER, 0L);
|
||||||
|
@ -1,8 +1,8 @@
|
|||||||
/*****************************************************************************
|
/*****************************************************************************
|
||||||
* _ _ ____ _
|
* _ _ ____ _
|
||||||
* Project ___| | | | _ \| |
|
* Project ___| | | | _ \| |
|
||||||
* / __| | | | |_) | |
|
* / __| | | | |_) | |
|
||||||
* | (__| |_| | _ <| |___
|
* | (__| |_| | _ <| |___
|
||||||
* \___|\___/|_| \_\_____|
|
* \___|\___/|_| \_\_____|
|
||||||
*
|
*
|
||||||
* $Id$
|
* $Id$
|
||||||
|
@ -28,7 +28,7 @@ int main(int argc, char *argv[])
|
|||||||
struct curl_slist *headerlist=NULL;
|
struct curl_slist *headerlist=NULL;
|
||||||
static const char buf[] = "Expect:";
|
static const char buf[] = "Expect:";
|
||||||
|
|
||||||
/* Fill in the file upload field. This makes libcurl load data from
|
/* Fill in the file upload field. This makes libcurl load data from
|
||||||
the given file name when curl_easy_perform() is called. */
|
the given file name when curl_easy_perform() is called. */
|
||||||
curl_formadd(&formpost,
|
curl_formadd(&formpost,
|
||||||
&lastptr,
|
&lastptr,
|
||||||
|
@ -9,7 +9,7 @@
|
|||||||
*/
|
*/
|
||||||
/*
|
/*
|
||||||
This is a simple example showing how a program on a non-ASCII platform
|
This is a simple example showing how a program on a non-ASCII platform
|
||||||
would invoke callbacks to do its own codeset conversions instead of
|
would invoke callbacks to do its own codeset conversions instead of
|
||||||
using the built-in iconv functions in libcurl.
|
using the built-in iconv functions in libcurl.
|
||||||
|
|
||||||
The IBM-1047 EBCDIC codeset is used for this example but the code
|
The IBM-1047 EBCDIC codeset is used for this example but the code
|
||||||
|
@ -5,7 +5,7 @@
|
|||||||
.\" * | (__| |_| | _ <| |___
|
.\" * | (__| |_| | _ <| |___
|
||||||
.\" * \___|\___/|_| \_\_____|
|
.\" * \___|\___/|_| \_\_____|
|
||||||
.\" *
|
.\" *
|
||||||
.\" * Copyright (C) 1998 - 2009, Daniel Stenberg, <daniel@haxx.se>, et al.
|
.\" * Copyright (C) 1998 - 2010, Daniel Stenberg, <daniel@haxx.se>, et al.
|
||||||
.\" *
|
.\" *
|
||||||
.\" * This software is licensed as described in the file COPYING, which
|
.\" * This software is licensed as described in the file COPYING, which
|
||||||
.\" * you should have received as part of this distribution. The terms
|
.\" * you should have received as part of this distribution. The terms
|
||||||
@ -217,10 +217,10 @@ Applications wishing to resume an RTSP session on another connection should
|
|||||||
retreive this info before closing the active connection.
|
retreive this info before closing the active connection.
|
||||||
.IP CURLINFO_RTSP_CLIENT_CSEQ
|
.IP CURLINFO_RTSP_CLIENT_CSEQ
|
||||||
Pass a pointer to a long to receive the next CSeq that will be used by the
|
Pass a pointer to a long to receive the next CSeq that will be used by the
|
||||||
application.
|
application.
|
||||||
.IP CURLINFO_RTSP_SERVER_CSEQ
|
.IP CURLINFO_RTSP_SERVER_CSEQ
|
||||||
Pass a pointer to a long to receive the next server CSeq that will be expected
|
Pass a pointer to a long to receive the next server CSeq that will be expected
|
||||||
by the application.
|
by the application.
|
||||||
|
|
||||||
\fI(NOTE: listening for server initiated requests is currently
|
\fI(NOTE: listening for server initiated requests is currently
|
||||||
unimplemented).\fP
|
unimplemented).\fP
|
||||||
|
@ -14,7 +14,7 @@ handle that you must use as input to other easy-functions. curl_easy_init
|
|||||||
initializes curl and this call \fBMUST\fP have a corresponding call to
|
initializes curl and this call \fBMUST\fP have a corresponding call to
|
||||||
\fIcurl_easy_cleanup(3)\fP when the operation is complete.
|
\fIcurl_easy_cleanup(3)\fP when the operation is complete.
|
||||||
|
|
||||||
If you did not already call \fIcurl_global_init(3)\fP,
|
If you did not already call \fIcurl_global_init(3)\fP,
|
||||||
\fIcurl_easy_init(3)\fP does it automatically.
|
\fIcurl_easy_init(3)\fP does it automatically.
|
||||||
This may be lethal in multi-threaded cases, since \fIcurl_global_init(3)\fP is
|
This may be lethal in multi-threaded cases, since \fIcurl_global_init(3)\fP is
|
||||||
not thread-safe, and it may result in resource problems because there is
|
not thread-safe, and it may result in resource problems because there is
|
||||||
|
@ -5,7 +5,7 @@
|
|||||||
.\" * | (__| |_| | _ <| |___
|
.\" * | (__| |_| | _ <| |___
|
||||||
.\" * \___|\___/|_| \_\_____|
|
.\" * \___|\___/|_| \_\_____|
|
||||||
.\" *
|
.\" *
|
||||||
.\" * Copyright (C) 1998 - 2008, Daniel Stenberg, <daniel@haxx.se>, et al.
|
.\" * Copyright (C) 1998 - 2010, Daniel Stenberg, <daniel@haxx.se>, et al.
|
||||||
.\" *
|
.\" *
|
||||||
.\" * This software is licensed as described in the file COPYING, which
|
.\" * This software is licensed as described in the file COPYING, which
|
||||||
.\" * you should have received as part of this distribution. The terms
|
.\" * you should have received as part of this distribution. The terms
|
||||||
@ -23,7 +23,7 @@
|
|||||||
.\"
|
.\"
|
||||||
.TH curl_easy_send 3 "29 April 2008" "libcurl 7.18.2" "libcurl Manual"
|
.TH curl_easy_send 3 "29 April 2008" "libcurl 7.18.2" "libcurl Manual"
|
||||||
.SH NAME
|
.SH NAME
|
||||||
curl_easy_send - sends raw data over an "easy" connection
|
curl_easy_send - sends raw data over an "easy" connection
|
||||||
.SH SYNOPSIS
|
.SH SYNOPSIS
|
||||||
.B #include <curl/easy.h>
|
.B #include <curl/easy.h>
|
||||||
.sp
|
.sp
|
||||||
|
@ -435,7 +435,7 @@ Therefore the (probably undefined) contents of the buffer is NOT copied
|
|||||||
by the library. You should keep the associated storage available until
|
by the library. You should keep the associated storage available until
|
||||||
libcurl no longer needs it. Failing to do so will cause very odd behavior
|
libcurl no longer needs it. Failing to do so will cause very odd behavior
|
||||||
or even crashes. libcurl will need it until you call \fIcurl_easy_cleanup(3)\fP
|
or even crashes. libcurl will need it until you call \fIcurl_easy_cleanup(3)\fP
|
||||||
or you set the same option again to use a different pointer.
|
or you set the same option again to use a different pointer.
|
||||||
|
|
||||||
Use \fICURLOPT_VERBOSE\fP and \fICURLOPT_DEBUGFUNCTION\fP to better
|
Use \fICURLOPT_VERBOSE\fP and \fICURLOPT_DEBUGFUNCTION\fP to better
|
||||||
debug/trace why errors happen.
|
debug/trace why errors happen.
|
||||||
|
@ -152,7 +152,7 @@ to a CURL_FORMADD_* constant defined in
|
|||||||
|
|
||||||
/* Add simple name/content section */
|
/* Add simple name/content section */
|
||||||
curl_formadd(&post, &last, CURLFORM_COPYNAME, "name",
|
curl_formadd(&post, &last, CURLFORM_COPYNAME, "name",
|
||||||
CURLFORM_COPYCONTENTS, "content", CURLFORM_END);
|
CURLFORM_COPYCONTENTS, "content", CURLFORM_END);
|
||||||
|
|
||||||
/* Add simple name/content/contenttype section */
|
/* Add simple name/content/contenttype section */
|
||||||
curl_formadd(&post, &last, CURLFORM_COPYNAME, "htmlcode",
|
curl_formadd(&post, &last, CURLFORM_COPYNAME, "htmlcode",
|
||||||
|
@ -22,7 +22,7 @@ passed to the curl_formget_callback function.
|
|||||||
|
|
||||||
The curl_formget_callback will be executed for each part of the HTTP POST
|
The curl_formget_callback will be executed for each part of the HTTP POST
|
||||||
chain. The void *arg pointer will be the one passed as second argument to
|
chain. The void *arg pointer will be the one passed as second argument to
|
||||||
curl_formget(). The character buffer passed to it must not be freed. The
|
curl_formget(). The character buffer passed to it must not be freed. The
|
||||||
callback should return the buffer length passed to it on success.
|
callback should return the buffer length passed to it on success.
|
||||||
.SH RETURN VALUE
|
.SH RETURN VALUE
|
||||||
0 means everything was ok, non-zero means an error occurred
|
0 means everything was ok, non-zero means an error occurred
|
||||||
|
@ -1,6 +1,6 @@
|
|||||||
.\" You can view this file with:
|
.\" You can view this file with:
|
||||||
.\" nroff -man [file]
|
.\" nroff -man [file]
|
||||||
.\" $Id:
|
.\" $Id$
|
||||||
.\"
|
.\"
|
||||||
.TH curl_free 3 "12 Aug 2003" "libcurl 7.10" "libcurl Manual"
|
.TH curl_free 3 "12 Aug 2003" "libcurl 7.10" "libcurl Manual"
|
||||||
.SH NAME
|
.SH NAME
|
||||||
|
@ -7,7 +7,7 @@ curl_multi_socket_action \- reads/writes available data given an action
|
|||||||
.nf
|
.nf
|
||||||
#include <curl/curl.h>
|
#include <curl/curl.h>
|
||||||
|
|
||||||
CURLMcode curl_multi_socket_action(CURLM * multi_handle,
|
CURLMcode curl_multi_socket_action(CURLM * multi_handle,
|
||||||
curl_socket_t sockfd, int ev_bitmask,
|
curl_socket_t sockfd, int ev_bitmask,
|
||||||
int *running_handles);
|
int *running_handles);
|
||||||
.fi
|
.fi
|
||||||
|
@ -48,7 +48,7 @@ be used!
|
|||||||
.RE
|
.RE
|
||||||
.IP CURLSHOPT_UNSHARE
|
.IP CURLSHOPT_UNSHARE
|
||||||
This option does the opposite of \fICURLSHOPT_SHARE\fP. It specifies that
|
This option does the opposite of \fICURLSHOPT_SHARE\fP. It specifies that
|
||||||
the specified \fIparameter\fP will no longer be shared. Valid values are
|
the specified \fIparameter\fP will no longer be shared. Valid values are
|
||||||
the same as those for \fICURLSHOPT_SHARE\fP.
|
the same as those for \fICURLSHOPT_SHARE\fP.
|
||||||
.IP CURLSHOPT_USERDATA
|
.IP CURLSHOPT_USERDATA
|
||||||
The \fIparameter\fP allows you to specify a pointer to data that will be passed
|
The \fIparameter\fP allows you to specify a pointer to data that will be passed
|
||||||
|
@ -5,7 +5,7 @@
|
|||||||
.\" * | (__| |_| | _ <| |___
|
.\" * | (__| |_| | _ <| |___
|
||||||
.\" * \___|\___/|_| \_\_____|
|
.\" * \___|\___/|_| \_\_____|
|
||||||
.\" *
|
.\" *
|
||||||
.\" * Copyright (C) 1998 - 2009, Daniel Stenberg, <daniel@haxx.se>, et al.
|
.\" * Copyright (C) 1998 - 2010, Daniel Stenberg, <daniel@haxx.se>, et al.
|
||||||
.\" *
|
.\" *
|
||||||
.\" * This software is licensed as described in the file COPYING, which
|
.\" * This software is licensed as described in the file COPYING, which
|
||||||
.\" * you should have received as part of this distribution. The terms
|
.\" * you should have received as part of this distribution. The terms
|
||||||
@ -273,7 +273,7 @@ GnuTLS
|
|||||||
http://www.gnu.org/software/gnutls/manual/html_node/Multi_002dthreaded-applications.html
|
http://www.gnu.org/software/gnutls/manual/html_node/Multi_002dthreaded-applications.html
|
||||||
|
|
||||||
NSS
|
NSS
|
||||||
|
|
||||||
is claimed to be thread-safe already without anything required.
|
is claimed to be thread-safe already without anything required.
|
||||||
|
|
||||||
yassl
|
yassl
|
||||||
@ -391,7 +391,7 @@ another option for this, the CURLOPT_PROXYUSERPWD. It is used quite similar
|
|||||||
to the CURLOPT_USERPWD option like this:
|
to the CURLOPT_USERPWD option like this:
|
||||||
|
|
||||||
curl_easy_setopt(easyhandle, CURLOPT_PROXYUSERPWD, "myname:thesecret");
|
curl_easy_setopt(easyhandle, CURLOPT_PROXYUSERPWD, "myname:thesecret");
|
||||||
|
|
||||||
There's a long time UNIX "standard" way of storing ftp user names and
|
There's a long time UNIX "standard" way of storing ftp user names and
|
||||||
passwords, namely in the $HOME/.netrc file. The file should be made private
|
passwords, namely in the $HOME/.netrc file. The file should be made private
|
||||||
so that only the user may read it (see also the "Security Considerations"
|
so that only the user may read it (see also the "Security Considerations"
|
||||||
@ -1200,7 +1200,7 @@ between requests.
|
|||||||
|
|
||||||
.IP "Dangerous URLs"
|
.IP "Dangerous URLs"
|
||||||
SCP URLs can contain raw commands within the scp: URL, which is a side effect
|
SCP URLs can contain raw commands within the scp: URL, which is a side effect
|
||||||
of how the SCP protocol is designed. e.g.
|
of how the SCP protocol is designed. e.g.
|
||||||
scp://user:pass@host/a;date >/tmp/test;
|
scp://user:pass@host/a;date >/tmp/test;
|
||||||
Apps must not allow unsanitized SCP: URLs to be passed in for downloads.
|
Apps must not allow unsanitized SCP: URLs to be passed in for downloads.
|
||||||
|
|
||||||
@ -1223,7 +1223,7 @@ the CURLOPT_MAXFILESIZE_LARGE option is not sufficient to guard against this.
|
|||||||
Instead, the app should monitor the amount of data received within the
|
Instead, the app should monitor the amount of data received within the
|
||||||
write or progress callback and abort once the limit is reached.
|
write or progress callback and abort once the limit is reached.
|
||||||
|
|
||||||
A malicious HTTP server could cause an infinite redirection loop, causing a
|
A malicious HTTP server could cause an infinite redirection loop, causing a
|
||||||
denial-of-service. This can be mitigated by using the CURLOPT_MAXREDIRS
|
denial-of-service. This can be mitigated by using the CURLOPT_MAXREDIRS
|
||||||
option.
|
option.
|
||||||
|
|
||||||
|
@ -224,7 +224,7 @@ CURLOPT_FTPAPPEND 7.1 7.16.4
|
|||||||
CURLOPT_FTPASCII 7.1 7.11.1 7.15.4
|
CURLOPT_FTPASCII 7.1 7.11.1 7.15.4
|
||||||
CURLOPT_FTPLISTONLY 7.1 7.16.4
|
CURLOPT_FTPLISTONLY 7.1 7.16.4
|
||||||
CURLOPT_FTPPORT 7.1
|
CURLOPT_FTPPORT 7.1
|
||||||
CURLOPT_FTPSSLAUTH 7.12.2
|
CURLOPT_FTPSSLAUTH 7.12.2
|
||||||
CURLOPT_FTP_ACCOUNT 7.13.1
|
CURLOPT_FTP_ACCOUNT 7.13.1
|
||||||
CURLOPT_FTP_ALTERNATIVE_TO_USER 7.15.5
|
CURLOPT_FTP_ALTERNATIVE_TO_USER 7.15.5
|
||||||
CURLOPT_FTP_CREATE_MISSING_DIRS 7.10.7
|
CURLOPT_FTP_CREATE_MISSING_DIRS 7.10.7
|
||||||
|
@ -1,7 +1,7 @@
|
|||||||
_ _ ____ _
|
_ _ ____ _
|
||||||
___| | | | _ \| |
|
___| | | | _ \| |
|
||||||
/ __| | | | |_) | |
|
/ __| | | | |_) | |
|
||||||
| (__| |_| | _ <| |___
|
| (__| |_| | _ <| |___
|
||||||
\___|\___/|_| \_\_____|
|
\___|\___/|_| \_\_____|
|
||||||
|
|
||||||
Include files for libcurl, external users.
|
Include files for libcurl, external users.
|
||||||
|
@ -187,7 +187,7 @@ typedef char
|
|||||||
/* EXTERNALLY AND INTERNALLY VISIBLE DEFINITIONS */
|
/* EXTERNALLY AND INTERNALLY VISIBLE DEFINITIONS */
|
||||||
/* ================================================================ */
|
/* ================================================================ */
|
||||||
|
|
||||||
/*
|
/*
|
||||||
* CURL_ISOCPP and CURL_OFF_T_C definitions are done here in order to allow
|
* CURL_ISOCPP and CURL_OFF_T_C definitions are done here in order to allow
|
||||||
* these to be visible and exported by the external libcurl interface API,
|
* these to be visible and exported by the external libcurl interface API,
|
||||||
* while also making them visible to the library internals, simply including
|
* while also making them visible to the library internals, simply including
|
||||||
|
@ -1,18 +1,18 @@
|
|||||||
#ifndef __STDC_HEADERS_H
|
#ifndef __STDC_HEADERS_H
|
||||||
#define __STDC_HEADERS_H
|
#define __STDC_HEADERS_H
|
||||||
/***************************************************************************
|
/***************************************************************************
|
||||||
* _ _ ____ _
|
* _ _ ____ _
|
||||||
* Project ___| | | | _ \| |
|
* Project ___| | | | _ \| |
|
||||||
* / __| | | | |_) | |
|
* / __| | | | |_) | |
|
||||||
* | (__| |_| | _ <| |___
|
* | (__| |_| | _ <| |___
|
||||||
* \___|\___/|_| \_\_____|
|
* \___|\___/|_| \_\_____|
|
||||||
*
|
*
|
||||||
* Copyright (C) 1998 - 2009, Daniel Stenberg, <daniel@haxx.se>, et al.
|
* Copyright (C) 1998 - 2010, Daniel Stenberg, <daniel@haxx.se>, et al.
|
||||||
*
|
*
|
||||||
* This software is licensed as described in the file COPYING, which
|
* This software is licensed as described in the file COPYING, which
|
||||||
* you should have received as part of this distribution. The terms
|
* you should have received as part of this distribution. The terms
|
||||||
* are also available at http://curl.haxx.se/docs/copyright.html.
|
* are also available at http://curl.haxx.se/docs/copyright.html.
|
||||||
*
|
*
|
||||||
* You may opt to use, copy, modify, merge, publish, distribute and/or sell
|
* You may opt to use, copy, modify, merge, publish, distribute and/or sell
|
||||||
* copies of the Software, and permit persons to whom the Software is
|
* copies of the Software, and permit persons to whom the Software is
|
||||||
* furnished to do so, under the terms of the COPYING file.
|
* furnished to do so, under the terms of the COPYING file.
|
||||||
@ -31,4 +31,4 @@ size_t fwrite (const void *, size_t, size_t, FILE *);
|
|||||||
int strcasecmp(const char *, const char *);
|
int strcasecmp(const char *, const char *);
|
||||||
int strncasecmp(const char *, const char *, size_t);
|
int strncasecmp(const char *, const char *, size_t);
|
||||||
|
|
||||||
#endif
|
#endif /* __STDC_HEADERS_H */
|
||||||
|
10
install-sh
10
install-sh
@ -124,7 +124,7 @@ if [ x"$dir_arg" != x ]; then
|
|||||||
else
|
else
|
||||||
|
|
||||||
# Waiting for this to be detected by the "$instcmd $src $dsttmp" command
|
# Waiting for this to be detected by the "$instcmd $src $dsttmp" command
|
||||||
# might cause directories to be created, which would be especially bad
|
# might cause directories to be created, which would be especially bad
|
||||||
# if $src (and thus $dsttmp) contains '*'.
|
# if $src (and thus $dsttmp) contains '*'.
|
||||||
|
|
||||||
if [ -f $src -o -d $src ]
|
if [ -f $src -o -d $src ]
|
||||||
@ -201,17 +201,17 @@ else
|
|||||||
|
|
||||||
# If we're going to rename the final executable, determine the name now.
|
# If we're going to rename the final executable, determine the name now.
|
||||||
|
|
||||||
if [ x"$transformarg" = x ]
|
if [ x"$transformarg" = x ]
|
||||||
then
|
then
|
||||||
dstfile=`basename $dst`
|
dstfile=`basename $dst`
|
||||||
else
|
else
|
||||||
dstfile=`basename $dst $transformbasename |
|
dstfile=`basename $dst $transformbasename |
|
||||||
sed $transformarg`$transformbasename
|
sed $transformarg`$transformbasename
|
||||||
fi
|
fi
|
||||||
|
|
||||||
# don't allow the sed command to completely eliminate the filename
|
# don't allow the sed command to completely eliminate the filename
|
||||||
|
|
||||||
if [ x"$dstfile" = x ]
|
if [ x"$dstfile" = x ]
|
||||||
then
|
then
|
||||||
dstfile=`basename $dst`
|
dstfile=`basename $dst`
|
||||||
else
|
else
|
||||||
@ -242,7 +242,7 @@ else
|
|||||||
# Now rename the file to the real destination.
|
# Now rename the file to the real destination.
|
||||||
|
|
||||||
$doit $rmcmd -f $dstdir/$dstfile &&
|
$doit $rmcmd -f $dstdir/$dstfile &&
|
||||||
$doit $mvcmd $dsttmp $dstdir/$dstfile
|
$doit $mvcmd $dsttmp $dstdir/$dstfile
|
||||||
|
|
||||||
fi &&
|
fi &&
|
||||||
|
|
||||||
|
@ -57,7 +57,7 @@ if(HAVE_FEATURES_H)
|
|||||||
nonblock.c
|
nonblock.c
|
||||||
hash.c
|
hash.c
|
||||||
http.c
|
http.c
|
||||||
if2ip.c
|
if2ip.c
|
||||||
mprintf.c
|
mprintf.c
|
||||||
multi.c
|
multi.c
|
||||||
sendf.c
|
sendf.c
|
||||||
|
@ -95,7 +95,7 @@ endif
|
|||||||
#
|
#
|
||||||
# Here's the simplified rule guide on how to change -version-info:
|
# Here's the simplified rule guide on how to change -version-info:
|
||||||
# (current version is C:R:A)
|
# (current version is C:R:A)
|
||||||
#
|
#
|
||||||
# 1. if there are only source changes, use C:R+1:A
|
# 1. if there are only source changes, use C:R+1:A
|
||||||
# 2. if interfaces were added use C+1:0:A+1
|
# 2. if interfaces were added use C+1:0:A+1
|
||||||
# 3. if interfaces were removed, then use C+1:0:0
|
# 3. if interfaces were removed, then use C+1:0:0
|
||||||
|
@ -20,7 +20,7 @@ objs = o.base64 o.connect o.cookie o.dict \
|
|||||||
|
|
||||||
# Compile options:
|
# Compile options:
|
||||||
linkopts = -o libcurl
|
linkopts = -o libcurl
|
||||||
compileropts = -mpoke-function-name -IUtilLib: -mthrowback
|
compileropts = -mpoke-function-name -IUtilLib: -mthrowback
|
||||||
|
|
||||||
# Project target:
|
# Project target:
|
||||||
libcurl: $(objs)
|
libcurl: $(objs)
|
||||||
|
@ -43,14 +43,14 @@ ARES_LIB :=
|
|||||||
|
|
||||||
|
|
||||||
# ----------------------------------------------------------------------
|
# ----------------------------------------------------------------------
|
||||||
# Compiler
|
# Compiler
|
||||||
# ----------------------------------------------------------------------
|
# ----------------------------------------------------------------------
|
||||||
|
|
||||||
CC := ccppc
|
CC := ccppc
|
||||||
AR := arppc
|
AR := arppc
|
||||||
LINK := ccppc
|
LINK := ccppc
|
||||||
CFLAGS := -D__GNUC__ -D__ppc__ -msoft-float -fno-builtin -mcpu=604 -mlongcall -DCPU=PPC604 -D_GNU_TOOL -Wall -W -Winline $(USER_CFLAGS)
|
CFLAGS := -D__GNUC__ -D__ppc__ -msoft-float -fno-builtin -mcpu=604 -mlongcall -DCPU=PPC604 -D_GNU_TOOL -Wall -W -Winline $(USER_CFLAGS)
|
||||||
LDFLAGS := -nostdlib -Wl,-i -Wl,-X
|
LDFLAGS := -nostdlib -Wl,-i -Wl,-X
|
||||||
INCLUDE_FLAG := -I
|
INCLUDE_FLAG := -I
|
||||||
C_DEBUGFLAG := -g
|
C_DEBUGFLAG := -g
|
||||||
C_OPTFLAG := -O2
|
C_OPTFLAG := -O2
|
||||||
|
@ -1,14 +1,14 @@
|
|||||||
$Id$
|
$Id$
|
||||||
_ _ ____ _
|
_ _ ____ _
|
||||||
___| | | | _ \| |
|
___| | | | _ \| |
|
||||||
/ __| | | | |_) | |
|
/ __| | | | |_) | |
|
||||||
| (__| |_| | _ <| |___
|
| (__| |_| | _ <| |___
|
||||||
\___|\___/|_| \_\_____|
|
\___|\___/|_| \_\_____|
|
||||||
|
|
||||||
How To Build libcurl to Use c-ares For Asynch Name Resolves
|
How To Build libcurl to Use c-ares For Asynch Name Resolves
|
||||||
===========================================================
|
===========================================================
|
||||||
|
|
||||||
c-ares:
|
c-ares:
|
||||||
http://daniel.haxx.se/projects/c-ares/
|
http://daniel.haxx.se/projects/c-ares/
|
||||||
|
|
||||||
NOTE
|
NOTE
|
||||||
|
@ -1,8 +1,8 @@
|
|||||||
$Id$
|
$Id$
|
||||||
_ _ ____ _
|
_ _ ____ _
|
||||||
___| | | | _ \| |
|
___| | | | _ \| |
|
||||||
/ __| | | | |_) | |
|
/ __| | | | |_) | |
|
||||||
| (__| |_| | _ <| |___
|
| (__| |_| | _ <| |___
|
||||||
\___|\___/|_| \_\_____|
|
\___|\___/|_| \_\_____|
|
||||||
|
|
||||||
Source Code Functions Apps Might Use
|
Source Code Functions Apps Might Use
|
||||||
|
@ -1,7 +1,7 @@
|
|||||||
|
|
||||||
Content Encoding Support for libcurl
|
Content Encoding Support for libcurl
|
||||||
|
|
||||||
* About content encodings:
|
* About content encodings:
|
||||||
|
|
||||||
HTTP/1.1 [RFC 2616] specifies that a client may request that a server encode
|
HTTP/1.1 [RFC 2616] specifies that a client may request that a server encode
|
||||||
its response. This is usually used to compress a response using one of a set
|
its response. This is usually used to compress a response using one of a set
|
||||||
@ -31,9 +31,9 @@ Gallagher, and support for the 'gzip' encoding was added by Dan Fandrich.
|
|||||||
|
|
||||||
* The libcurl interface:
|
* The libcurl interface:
|
||||||
|
|
||||||
To cause libcurl to request a content encoding use:
|
To cause libcurl to request a content encoding use:
|
||||||
|
|
||||||
curl_easy_setopt(curl, CURLOPT_ENCODING, <string>)
|
curl_easy_setopt(curl, CURLOPT_ENCODING, <string>)
|
||||||
|
|
||||||
where <string> is the intended value of the Accept-Encoding header.
|
where <string> is the intended value of the Accept-Encoding header.
|
||||||
|
|
||||||
|
@ -1,8 +1,8 @@
|
|||||||
$Id$
|
$Id$
|
||||||
_ _ ____ _
|
_ _ ____ _
|
||||||
___| | | | _ \| |
|
___| | | | _ \| |
|
||||||
/ __| | | | |_) | |
|
/ __| | | | |_) | |
|
||||||
| (__| |_| | _ <| |___
|
| (__| |_| | _ <| |___
|
||||||
\___|\___/|_| \_\_____|
|
\___|\___/|_| \_\_____|
|
||||||
|
|
||||||
How To Track Down Suspected Memory Leaks in libcurl
|
How To Track Down Suspected Memory Leaks in libcurl
|
||||||
|
@ -1,18 +1,18 @@
|
|||||||
#ifndef __ARPA_TELNET_H
|
#ifndef HEADER_CURL_ARPA_TELNET_H
|
||||||
#define __ARPA_TELNET_H
|
#define HEADER_CURL_ARPA_TELNET_H
|
||||||
/***************************************************************************
|
/***************************************************************************
|
||||||
* _ _ ____ _
|
* _ _ ____ _
|
||||||
* Project ___| | | | _ \| |
|
* Project ___| | | | _ \| |
|
||||||
* / __| | | | |_) | |
|
* / __| | | | |_) | |
|
||||||
* | (__| |_| | _ <| |___
|
* | (__| |_| | _ <| |___
|
||||||
* \___|\___/|_| \_\_____|
|
* \___|\___/|_| \_\_____|
|
||||||
*
|
*
|
||||||
* Copyright (C) 1998 - 2009, Daniel Stenberg, <daniel@haxx.se>, et al.
|
* Copyright (C) 1998 - 2010, Daniel Stenberg, <daniel@haxx.se>, et al.
|
||||||
*
|
*
|
||||||
* This software is licensed as described in the file COPYING, which
|
* This software is licensed as described in the file COPYING, which
|
||||||
* you should have received as part of this distribution. The terms
|
* you should have received as part of this distribution. The terms
|
||||||
* are also available at http://curl.haxx.se/docs/copyright.html.
|
* are also available at http://curl.haxx.se/docs/copyright.html.
|
||||||
*
|
*
|
||||||
* You may opt to use, copy, modify, merge, publish, distribute and/or sell
|
* You may opt to use, copy, modify, merge, publish, distribute and/or sell
|
||||||
* copies of the Software, and permit persons to whom the Software is
|
* copies of the Software, and permit persons to whom the Software is
|
||||||
* furnished to do so, under the terms of the COPYING file.
|
* furnished to do so, under the terms of the COPYING file.
|
||||||
@ -58,12 +58,12 @@ static const char * const telnetoptions[]=
|
|||||||
#define CURL_TELOPT_OK(x) ((x) <= CURL_TELOPT_MAXIMUM)
|
#define CURL_TELOPT_OK(x) ((x) <= CURL_TELOPT_MAXIMUM)
|
||||||
#define CURL_TELOPT(x) telnetoptions[x]
|
#define CURL_TELOPT(x) telnetoptions[x]
|
||||||
|
|
||||||
#define CURL_NTELOPTS 40
|
#define CURL_NTELOPTS 40
|
||||||
|
|
||||||
/*
|
/*
|
||||||
* First some defines
|
* First some defines
|
||||||
*/
|
*/
|
||||||
#define CURL_xEOF 236 /* End Of File */
|
#define CURL_xEOF 236 /* End Of File */
|
||||||
#define CURL_SE 240 /* Sub negotiation End */
|
#define CURL_SE 240 /* Sub negotiation End */
|
||||||
#define CURL_NOP 241 /* No OPeration */
|
#define CURL_NOP 241 /* No OPeration */
|
||||||
#define CURL_DM 242 /* Data Mark */
|
#define CURL_DM 242 /* Data Mark */
|
||||||
@ -97,5 +97,7 @@ static const char * const telnetcmds[]=
|
|||||||
#define CURL_TELCMD_OK(x) ( ((unsigned int)(x) >= CURL_TELCMD_MINIMUM) && \
|
#define CURL_TELCMD_OK(x) ( ((unsigned int)(x) >= CURL_TELCMD_MINIMUM) && \
|
||||||
((unsigned int)(x) <= CURL_TELCMD_MAXIMUM) )
|
((unsigned int)(x) <= CURL_TELCMD_MAXIMUM) )
|
||||||
#define CURL_TELCMD(x) telnetcmds[(x)-CURL_TELCMD_MINIMUM]
|
#define CURL_TELCMD(x) telnetcmds[(x)-CURL_TELCMD_MINIMUM]
|
||||||
#endif
|
|
||||||
#endif
|
#endif /* CURL_DISABLE_TELNET */
|
||||||
|
|
||||||
|
#endif /* HEADER_CURL_ARPA_TELNET_H */
|
||||||
|
@ -7,7 +7,7 @@
|
|||||||
* | (__| |_| | _ <| |___
|
* | (__| |_| | _ <| |___
|
||||||
* \___|\___/|_| \_\_____|
|
* \___|\___/|_| \_\_____|
|
||||||
*
|
*
|
||||||
* Copyright (C) 1998 - 2009, Daniel Stenberg, <daniel@haxx.se>, et al.
|
* Copyright (C) 1998 - 2010, Daniel Stenberg, <daniel@haxx.se>, et al.
|
||||||
*
|
*
|
||||||
* This software is licensed as described in the file COPYING, which
|
* This software is licensed as described in the file COPYING, which
|
||||||
* you should have received as part of this distribution. The terms
|
* you should have received as part of this distribution. The terms
|
||||||
@ -45,7 +45,7 @@
|
|||||||
#endif
|
#endif
|
||||||
|
|
||||||
|
|
||||||
/*
|
/*
|
||||||
* Curl_addrinfo is our internal struct definition that we use to allow
|
* Curl_addrinfo is our internal struct definition that we use to allow
|
||||||
* consistent internal handling of this data. We use this even when the
|
* consistent internal handling of this data. We use this even when the
|
||||||
* system provides an addrinfo structure definition. And we use this for
|
* system provides an addrinfo structure definition. And we use this for
|
||||||
|
@ -1,18 +1,18 @@
|
|||||||
#ifndef __CURL_MD5_H
|
#ifndef HEADER_CURL_MD5_H
|
||||||
#define __CURL_MD5_H
|
#define HEADER_CURL_MD5_H
|
||||||
/***************************************************************************
|
/***************************************************************************
|
||||||
* _ _ ____ _
|
* _ _ ____ _
|
||||||
* Project ___| | | | _ \| |
|
* Project ___| | | | _ \| |
|
||||||
* / __| | | | |_) | |
|
* / __| | | | |_) | |
|
||||||
* | (__| |_| | _ <| |___
|
* | (__| |_| | _ <| |___
|
||||||
* \___|\___/|_| \_\_____|
|
* \___|\___/|_| \_\_____|
|
||||||
*
|
*
|
||||||
* Copyright (C) 1998 - 2008, Daniel Stenberg, <daniel@haxx.se>, et al.
|
* Copyright (C) 1998 - 2010, Daniel Stenberg, <daniel@haxx.se>, et al.
|
||||||
*
|
*
|
||||||
* This software is licensed as described in the file COPYING, which
|
* This software is licensed as described in the file COPYING, which
|
||||||
* you should have received as part of this distribution. The terms
|
* you should have received as part of this distribution. The terms
|
||||||
* are also available at http://curl.haxx.se/docs/copyright.html.
|
* are also available at http://curl.haxx.se/docs/copyright.html.
|
||||||
*
|
*
|
||||||
* You may opt to use, copy, modify, merge, publish, distribute and/or sell
|
* You may opt to use, copy, modify, merge, publish, distribute and/or sell
|
||||||
* copies of the Software, and permit persons to whom the Software is
|
* copies of the Software, and permit persons to whom the Software is
|
||||||
* furnished to do so, under the terms of the COPYING file.
|
* furnished to do so, under the terms of the COPYING file.
|
||||||
@ -26,4 +26,4 @@
|
|||||||
void Curl_md5it(unsigned char *output,
|
void Curl_md5it(unsigned char *output,
|
||||||
const unsigned char *input);
|
const unsigned char *input);
|
||||||
|
|
||||||
#endif
|
#endif /* HEADER_CURL_MD5_H */
|
||||||
|
@ -7,7 +7,7 @@
|
|||||||
* | (__| |_| | _ <| |___
|
* | (__| |_| | _ <| |___
|
||||||
* \___|\___/|_| \_\_____|
|
* \___|\___/|_| \_\_____|
|
||||||
*
|
*
|
||||||
* Copyright (C) 1998 - 2009, Daniel Stenberg, <daniel@haxx.se>, et al.
|
* Copyright (C) 1998 - 2010, Daniel Stenberg, <daniel@haxx.se>, et al.
|
||||||
*
|
*
|
||||||
* This software is licensed as described in the file COPYING, which
|
* This software is licensed as described in the file COPYING, which
|
||||||
* you should have received as part of this distribution. The terms
|
* you should have received as part of this distribution. The terms
|
||||||
@ -29,7 +29,7 @@
|
|||||||
|
|
||||||
#include <curl/curl.h>
|
#include <curl/curl.h>
|
||||||
|
|
||||||
/*
|
/*
|
||||||
* When including the folowing three headers, it is mandatory to define either
|
* When including the folowing three headers, it is mandatory to define either
|
||||||
* SECURITY_WIN32 or SECURITY_KERNEL, indicating who is compiling the code.
|
* SECURITY_WIN32 or SECURITY_KERNEL, indicating who is compiling the code.
|
||||||
*/
|
*/
|
||||||
|
@ -45,7 +45,7 @@
|
|||||||
|
|
||||||
struct curl_actual_call {
|
struct curl_actual_call {
|
||||||
unsigned int (*func)(void *);
|
unsigned int (*func)(void *);
|
||||||
void *arg;
|
void *arg;
|
||||||
};
|
};
|
||||||
|
|
||||||
static void *curl_thread_create_thunk(void *arg)
|
static void *curl_thread_create_thunk(void *arg)
|
||||||
|
@ -6,7 +6,7 @@
|
|||||||
# * | (__| |_| | _ <| |___
|
# * | (__| |_| | _ <| |___
|
||||||
# * \___|\___/|_| \_\_____|
|
# * \___|\___/|_| \_\_____|
|
||||||
# *
|
# *
|
||||||
# * Copyright (C) 1998 - 2008, Daniel Stenberg, <daniel@haxx.se>, et al.
|
# * Copyright (C) 1998 - 2010, Daniel Stenberg, <daniel@haxx.se>, et al.
|
||||||
# *
|
# *
|
||||||
# * This software is licensed as described in the file COPYING, which
|
# * This software is licensed as described in the file COPYING, which
|
||||||
# * you should have received as part of this distribution. The terms
|
# * you should have received as part of this distribution. The terms
|
||||||
@ -21,11 +21,11 @@
|
|||||||
# *
|
# *
|
||||||
# * $Id$
|
# * $Id$
|
||||||
# ***************************************************************************
|
# ***************************************************************************
|
||||||
# This shell script creates a fresh ca-bundle.crt file for use with libcurl.
|
# This shell script creates a fresh ca-bundle.crt file for use with libcurl.
|
||||||
# It extracts all ca certs it finds in the local Firefox database and converts
|
# It extracts all ca certs it finds in the local Firefox database and converts
|
||||||
# them all into PEM format.
|
# them all into PEM format.
|
||||||
#
|
#
|
||||||
db=`ls -1d $HOME/.mozilla/firefox/*default`
|
db=`ls -1d $HOME/.mozilla/firefox/*default`
|
||||||
out=$1
|
out=$1
|
||||||
|
|
||||||
if test -z "$out"; then
|
if test -z "$out"; then
|
||||||
|
@ -1,18 +1,18 @@
|
|||||||
#ifndef __GETINFO_H
|
#ifndef HEADER_CURL_GETINFO_H
|
||||||
#define __GETINFO_H
|
#define HEADER_CURL_GETINFO_H
|
||||||
/***************************************************************************
|
/***************************************************************************
|
||||||
* _ _ ____ _
|
* _ _ ____ _
|
||||||
* Project ___| | | | _ \| |
|
* Project ___| | | | _ \| |
|
||||||
* / __| | | | |_) | |
|
* / __| | | | |_) | |
|
||||||
* | (__| |_| | _ <| |___
|
* | (__| |_| | _ <| |___
|
||||||
* \___|\___/|_| \_\_____|
|
* \___|\___/|_| \_\_____|
|
||||||
*
|
*
|
||||||
* Copyright (C) 1998 - 2009, Daniel Stenberg, <daniel@haxx.se>, et al.
|
* Copyright (C) 1998 - 2010, Daniel Stenberg, <daniel@haxx.se>, et al.
|
||||||
*
|
*
|
||||||
* This software is licensed as described in the file COPYING, which
|
* This software is licensed as described in the file COPYING, which
|
||||||
* you should have received as part of this distribution. The terms
|
* you should have received as part of this distribution. The terms
|
||||||
* are also available at http://curl.haxx.se/docs/copyright.html.
|
* are also available at http://curl.haxx.se/docs/copyright.html.
|
||||||
*
|
*
|
||||||
* You may opt to use, copy, modify, merge, publish, distribute and/or sell
|
* You may opt to use, copy, modify, merge, publish, distribute and/or sell
|
||||||
* copies of the Software, and permit persons to whom the Software is
|
* copies of the Software, and permit persons to whom the Software is
|
||||||
* furnished to do so, under the terms of the COPYING file.
|
* furnished to do so, under the terms of the COPYING file.
|
||||||
@ -25,4 +25,4 @@
|
|||||||
CURLcode Curl_getinfo(struct SessionHandle *data, CURLINFO info, ...);
|
CURLcode Curl_getinfo(struct SessionHandle *data, CURLINFO info, ...);
|
||||||
CURLcode Curl_initinfo(struct SessionHandle *data);
|
CURLcode Curl_initinfo(struct SessionHandle *data);
|
||||||
|
|
||||||
#endif
|
#endif /* HEADER_CURL_GETINFO_H */
|
||||||
|
@ -121,7 +121,7 @@ Curl_addrinfo *Curl_getaddrinfo(struct connectdata *conn,
|
|||||||
if(!ai)
|
if(!ai)
|
||||||
infof(conn->data, "Curl_ipv4_resolve_r failed for %s\n", hostname);
|
infof(conn->data, "Curl_ipv4_resolve_r failed for %s\n", hostname);
|
||||||
|
|
||||||
return ai;
|
return ai;
|
||||||
}
|
}
|
||||||
#endif /* CURLRES_SYNCH */
|
#endif /* CURLRES_SYNCH */
|
||||||
#endif /* CURLRES_IPV4 */
|
#endif /* CURLRES_IPV4 */
|
||||||
@ -149,7 +149,7 @@ Curl_addrinfo *Curl_ipv4_resolve_r(const char *hostname,
|
|||||||
return Curl_ip2addr(AF_INET, &in, hostname, port);
|
return Curl_ip2addr(AF_INET, &in, hostname, port);
|
||||||
|
|
||||||
#if defined(HAVE_GETADDRINFO_THREADSAFE)
|
#if defined(HAVE_GETADDRINFO_THREADSAFE)
|
||||||
else {
|
else {
|
||||||
struct addrinfo hints;
|
struct addrinfo hints;
|
||||||
char sbuf[NI_MAXSERV];
|
char sbuf[NI_MAXSERV];
|
||||||
char *sbufptr = NULL;
|
char *sbufptr = NULL;
|
||||||
|
@ -1,19 +1,18 @@
|
|||||||
#ifndef __HTTP_NEGOTIATE_H
|
#ifndef HEADER_CURL_HTTP_NEGOTIATE_H
|
||||||
#define __HTTP_NEGOTIATE_H
|
#define HEADER_CURL_HTTP_NEGOTIATE_H
|
||||||
|
|
||||||
/***************************************************************************
|
/***************************************************************************
|
||||||
* _ _ ____ _
|
* _ _ ____ _
|
||||||
* Project ___| | | | _ \| |
|
* Project ___| | | | _ \| |
|
||||||
* / __| | | | |_) | |
|
* / __| | | | |_) | |
|
||||||
* | (__| |_| | _ <| |___
|
* | (__| |_| | _ <| |___
|
||||||
* \___|\___/|_| \_\_____|
|
* \___|\___/|_| \_\_____|
|
||||||
*
|
*
|
||||||
* Copyright (C) 1998 - 2004, Daniel Stenberg, <daniel@haxx.se>, et al.
|
* Copyright (C) 1998 - 2010, Daniel Stenberg, <daniel@haxx.se>, et al.
|
||||||
*
|
*
|
||||||
* This software is licensed as described in the file COPYING, which
|
* This software is licensed as described in the file COPYING, which
|
||||||
* you should have received as part of this distribution. The terms
|
* you should have received as part of this distribution. The terms
|
||||||
* are also available at http://curl.haxx.se/docs/copyright.html.
|
* are also available at http://curl.haxx.se/docs/copyright.html.
|
||||||
*
|
*
|
||||||
* You may opt to use, copy, modify, merge, publish, distribute and/or sell
|
* You may opt to use, copy, modify, merge, publish, distribute and/or sell
|
||||||
* copies of the Software, and permit persons to whom the Software is
|
* copies of the Software, and permit persons to whom the Software is
|
||||||
* furnished to do so, under the terms of the COPYING file.
|
* furnished to do so, under the terms of the COPYING file.
|
||||||
@ -27,13 +26,14 @@
|
|||||||
#ifdef HAVE_GSSAPI
|
#ifdef HAVE_GSSAPI
|
||||||
|
|
||||||
/* this is for Negotiate header input */
|
/* this is for Negotiate header input */
|
||||||
int Curl_input_negotiate(struct connectdata *conn, bool proxy, const char *header);
|
int Curl_input_negotiate(struct connectdata *conn, bool proxy,
|
||||||
|
const char *header);
|
||||||
|
|
||||||
/* this is for creating Negotiate header output */
|
/* this is for creating Negotiate header output */
|
||||||
CURLcode Curl_output_negotiate(struct connectdata *conn, bool proxy);
|
CURLcode Curl_output_negotiate(struct connectdata *conn, bool proxy);
|
||||||
|
|
||||||
void Curl_cleanup_negotiate(struct SessionHandle *data);
|
void Curl_cleanup_negotiate(struct SessionHandle *data);
|
||||||
|
|
||||||
#endif
|
#endif /* HAVE_GSSAPI */
|
||||||
|
|
||||||
#endif
|
#endif /* HEADER_CURL_HTTP_NEGOTIATE_H */
|
||||||
|
@ -6,7 +6,7 @@
|
|||||||
# * | (__| |_| | _ <| |___
|
# * | (__| |_| | _ <| |___
|
||||||
# * \___|\___/|_| \_\_____|
|
# * \___|\___/|_| \_\_____|
|
||||||
# *
|
# *
|
||||||
# * Copyright (C) 1998 - 2008, Daniel Stenberg, <daniel@haxx.se>, et al.
|
# * Copyright (C) 1998 - 2010, Daniel Stenberg, <daniel@haxx.se>, et al.
|
||||||
# *
|
# *
|
||||||
# * This software is licensed as described in the file COPYING, which
|
# * This software is licensed as described in the file COPYING, which
|
||||||
# * you should have received as part of this distribution. The terms
|
# * you should have received as part of this distribution. The terms
|
||||||
@ -21,7 +21,7 @@
|
|||||||
# *
|
# *
|
||||||
# * $Id$
|
# * $Id$
|
||||||
# ***************************************************************************
|
# ***************************************************************************
|
||||||
# This Perl script creates a fresh ca-bundle.crt file for use with libcurl.
|
# This Perl script creates a fresh ca-bundle.crt file for use with libcurl.
|
||||||
# It downloads certdata.txt from Mozilla's source tree (see URL below),
|
# It downloads certdata.txt from Mozilla's source tree (see URL below),
|
||||||
# then parses certdata.txt and extracts CA Root Certificates into PEM format.
|
# then parses certdata.txt and extracts CA Root Certificates into PEM format.
|
||||||
# These are then processed with the OpenSSL commandline tool to produce the
|
# These are then processed with the OpenSSL commandline tool to produce the
|
||||||
@ -35,7 +35,7 @@ use Getopt::Std;
|
|||||||
use MIME::Base64;
|
use MIME::Base64;
|
||||||
use LWP::UserAgent;
|
use LWP::UserAgent;
|
||||||
use strict;
|
use strict;
|
||||||
use vars qw($opt_b $opt_h $opt_i $opt_l $opt_n $opt_q $opt_t $opt_u $opt_v);
|
use vars qw($opt_b $opt_h $opt_i $opt_l $opt_n $opt_q $opt_t $opt_u $opt_v);
|
||||||
|
|
||||||
my $url = 'http://mxr.mozilla.org/seamonkey/source/security/nss/lib/ckfw/builtins/certdata.txt?raw=1';
|
my $url = 'http://mxr.mozilla.org/seamonkey/source/security/nss/lib/ckfw/builtins/certdata.txt?raw=1';
|
||||||
# If the OpenSSL commandline is not in search path you can configure it here!
|
# If the OpenSSL commandline is not in search path you can configure it here!
|
||||||
|
@ -5,7 +5,7 @@
|
|||||||
* | (__| |_| | _ <| |___
|
* | (__| |_| | _ <| |___
|
||||||
* \___|\___/|_| \_\_____|
|
* \___|\___/|_| \_\_____|
|
||||||
*
|
*
|
||||||
* Copyright (C) 1998 - 2009, Daniel Stenberg, <daniel@haxx.se>, et al.
|
* Copyright (C) 1998 - 2010, Daniel Stenberg, <daniel@haxx.se>, et al.
|
||||||
*
|
*
|
||||||
* This software is licensed as described in the file COPYING, which
|
* This software is licensed as described in the file COPYING, which
|
||||||
* you should have received as part of this distribution. The terms
|
* you should have received as part of this distribution. The terms
|
||||||
@ -145,7 +145,7 @@ int Curl_parsenetrc(const char *host,
|
|||||||
bool done=FALSE;
|
bool done=FALSE;
|
||||||
char netrcbuffer[256];
|
char netrcbuffer[256];
|
||||||
int netrcbuffsize = (int)sizeof(netrcbuffer);
|
int netrcbuffsize = (int)sizeof(netrcbuffer);
|
||||||
|
|
||||||
while(!done && fgets(netrcbuffer, netrcbuffsize, file)) {
|
while(!done && fgets(netrcbuffer, netrcbuffsize, file)) {
|
||||||
tok=strtok_r(netrcbuffer, " \t\n", &tok_buf);
|
tok=strtok_r(netrcbuffer, " \t\n", &tok_buf);
|
||||||
while(!done && tok) {
|
while(!done && tok) {
|
||||||
|
19
lib/netrc.h
19
lib/netrc.h
@ -1,18 +1,18 @@
|
|||||||
#ifndef __NETRC_H
|
#ifndef HEADER_CURL_NETRC_H
|
||||||
#define __NETRC_H
|
#define HEADER_CURL_NETRC_H
|
||||||
/***************************************************************************
|
/***************************************************************************
|
||||||
* _ _ ____ _
|
* _ _ ____ _
|
||||||
* Project ___| | | | _ \| |
|
* Project ___| | | | _ \| |
|
||||||
* / __| | | | |_) | |
|
* / __| | | | |_) | |
|
||||||
* | (__| |_| | _ <| |___
|
* | (__| |_| | _ <| |___
|
||||||
* \___|\___/|_| \_\_____|
|
* \___|\___/|_| \_\_____|
|
||||||
*
|
*
|
||||||
* Copyright (C) 1998 - 2004, Daniel Stenberg, <daniel@haxx.se>, et al.
|
* Copyright (C) 1998 - 2010, Daniel Stenberg, <daniel@haxx.se>, et al.
|
||||||
*
|
*
|
||||||
* This software is licensed as described in the file COPYING, which
|
* This software is licensed as described in the file COPYING, which
|
||||||
* you should have received as part of this distribution. The terms
|
* you should have received as part of this distribution. The terms
|
||||||
* are also available at http://curl.haxx.se/docs/copyright.html.
|
* are also available at http://curl.haxx.se/docs/copyright.html.
|
||||||
*
|
*
|
||||||
* You may opt to use, copy, modify, merge, publish, distribute and/or sell
|
* You may opt to use, copy, modify, merge, publish, distribute and/or sell
|
||||||
* copies of the Software, and permit persons to whom the Software is
|
* copies of the Software, and permit persons to whom the Software is
|
||||||
* furnished to do so, under the terms of the COPYING file.
|
* furnished to do so, under the terms of the COPYING file.
|
||||||
@ -31,4 +31,5 @@ int Curl_parsenetrc(const char *host,
|
|||||||
* in the netrc.
|
* in the netrc.
|
||||||
* If login[0] != 0, search for password within machine and login.
|
* If login[0] != 0, search for password within machine and login.
|
||||||
*/
|
*/
|
||||||
#endif
|
|
||||||
|
#endif /* HEADER_CURL_NETRC_H */
|
||||||
|
@ -1,5 +1,5 @@
|
|||||||
#ifndef __SETUP_OS400_H
|
#ifndef HEADER_CURL_SETUP_OS400_H
|
||||||
#define __SETUP_OS400_H
|
#define HEADER_CURL_SETUP_OS400_H
|
||||||
/***************************************************************************
|
/***************************************************************************
|
||||||
* _ _ ____ _
|
* _ _ ____ _
|
||||||
* Project ___| | | | _ \| |
|
* Project ___| | | | _ \| |
|
||||||
@ -7,7 +7,7 @@
|
|||||||
* | (__| |_| | _ <| |___
|
* | (__| |_| | _ <| |___
|
||||||
* \___|\___/|_| \_\_____|
|
* \___|\___/|_| \_\_____|
|
||||||
*
|
*
|
||||||
* Copyright (C) 1998 - 2009, Daniel Stenberg, <daniel@haxx.se>, et al.
|
* Copyright (C) 1998 - 2010, Daniel Stenberg, <daniel@haxx.se>, et al.
|
||||||
*
|
*
|
||||||
* This software is licensed as described in the file COPYING, which
|
* This software is licensed as described in the file COPYING, which
|
||||||
* you should have received as part of this distribution. The terms
|
* you should have received as part of this distribution. The terms
|
||||||
@ -94,7 +94,7 @@ extern OM_uint32 Curl_gss_init_sec_context_a(OM_uint32 * minor_status,
|
|||||||
gss_flags_t req_flags,
|
gss_flags_t req_flags,
|
||||||
OM_uint32 time_req,
|
OM_uint32 time_req,
|
||||||
gss_channel_bindings_t
|
gss_channel_bindings_t
|
||||||
input_chan_bindings,
|
input_chan_bindings,
|
||||||
gss_buffer_t input_token,
|
gss_buffer_t input_token,
|
||||||
gss_OID * actual_mech_type,
|
gss_OID * actual_mech_type,
|
||||||
gss_buffer_t output_token,
|
gss_buffer_t output_token,
|
||||||
@ -138,4 +138,4 @@ extern int Curl_os400_recvfrom(int sd, char * buffer, int buflen, int flags,
|
|||||||
#define recvfrom Curl_os400_recvfrom
|
#define recvfrom Curl_os400_recvfrom
|
||||||
|
|
||||||
|
|
||||||
#endif /* __SETUP_OS400_H */
|
#endif /* HEADER_CURL_SETUP_OS400_H */
|
||||||
|
@ -1,5 +1,5 @@
|
|||||||
#ifndef __LIB_CURL_SETUP_H
|
#ifndef HEADER_CURL_LIB_SETUP_H
|
||||||
#define __LIB_CURL_SETUP_H
|
#define HEADER_CURL_LIB_SETUP_H
|
||||||
/***************************************************************************
|
/***************************************************************************
|
||||||
* _ _ ____ _
|
* _ _ ____ _
|
||||||
* Project ___| | | | _ \| |
|
* Project ___| | | | _ \| |
|
||||||
@ -549,4 +549,4 @@ int netware_init(void);
|
|||||||
#include "setup_once.h"
|
#include "setup_once.h"
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
#endif /* __LIB_CURL_SETUP_H */
|
#endif /* HEADER_CURL_LIB_SETUP_H */
|
||||||
|
@ -1,18 +1,18 @@
|
|||||||
#ifndef __SPEEDCHECK_H
|
#ifndef HEADER_CURL_SPEEDCHECK_H
|
||||||
#define __SPEEDCHECK_H
|
#define HEADER_CURL_SPEEDCHECK_H
|
||||||
/***************************************************************************
|
/***************************************************************************
|
||||||
* _ _ ____ _
|
* _ _ ____ _
|
||||||
* Project ___| | | | _ \| |
|
* Project ___| | | | _ \| |
|
||||||
* / __| | | | |_) | |
|
* / __| | | | |_) | |
|
||||||
* | (__| |_| | _ <| |___
|
* | (__| |_| | _ <| |___
|
||||||
* \___|\___/|_| \_\_____|
|
* \___|\___/|_| \_\_____|
|
||||||
*
|
*
|
||||||
* Copyright (C) 1998 - 2009, Daniel Stenberg, <daniel@haxx.se>, et al.
|
* Copyright (C) 1998 - 2010, Daniel Stenberg, <daniel@haxx.se>, et al.
|
||||||
*
|
*
|
||||||
* This software is licensed as described in the file COPYING, which
|
* This software is licensed as described in the file COPYING, which
|
||||||
* you should have received as part of this distribution. The terms
|
* you should have received as part of this distribution. The terms
|
||||||
* are also available at http://curl.haxx.se/docs/copyright.html.
|
* are also available at http://curl.haxx.se/docs/copyright.html.
|
||||||
*
|
*
|
||||||
* You may opt to use, copy, modify, merge, publish, distribute and/or sell
|
* You may opt to use, copy, modify, merge, publish, distribute and/or sell
|
||||||
* copies of the Software, and permit persons to whom the Software is
|
* copies of the Software, and permit persons to whom the Software is
|
||||||
* furnished to do so, under the terms of the COPYING file.
|
* furnished to do so, under the terms of the COPYING file.
|
||||||
@ -31,4 +31,4 @@ void Curl_speedinit(struct SessionHandle *data);
|
|||||||
CURLcode Curl_speedcheck(struct SessionHandle *data,
|
CURLcode Curl_speedcheck(struct SessionHandle *data,
|
||||||
struct timeval now);
|
struct timeval now);
|
||||||
|
|
||||||
#endif
|
#endif /* HEADER_CURL_SPEEDCHECK_H */
|
||||||
|
19
lib/strdup.h
19
lib/strdup.h
@ -1,18 +1,18 @@
|
|||||||
#ifndef __CURL_STRDUP_H
|
#ifndef HEADER_CURL_STRDUP_H
|
||||||
#define __CURL_STRDUP_H
|
#define HEADER_CURL_STRDUP_H
|
||||||
/***************************************************************************
|
/***************************************************************************
|
||||||
* _ _ ____ _
|
* _ _ ____ _
|
||||||
* Project ___| | | | _ \| |
|
* Project ___| | | | _ \| |
|
||||||
* / __| | | | |_) | |
|
* / __| | | | |_) | |
|
||||||
* | (__| |_| | _ <| |___
|
* | (__| |_| | _ <| |___
|
||||||
* \___|\___/|_| \_\_____|
|
* \___|\___/|_| \_\_____|
|
||||||
*
|
*
|
||||||
* Copyright (C) 1998 - 2008, Daniel Stenberg, <daniel@haxx.se>, et al.
|
* Copyright (C) 1998 - 2010, Daniel Stenberg, <daniel@haxx.se>, et al.
|
||||||
*
|
*
|
||||||
* This software is licensed as described in the file COPYING, which
|
* This software is licensed as described in the file COPYING, which
|
||||||
* you should have received as part of this distribution. The terms
|
* you should have received as part of this distribution. The terms
|
||||||
* are also available at http://curl.haxx.se/docs/copyright.html.
|
* are also available at http://curl.haxx.se/docs/copyright.html.
|
||||||
*
|
*
|
||||||
* You may opt to use, copy, modify, merge, publish, distribute and/or sell
|
* You may opt to use, copy, modify, merge, publish, distribute and/or sell
|
||||||
* copies of the Software, and permit persons to whom the Software is
|
* copies of the Software, and permit persons to whom the Software is
|
||||||
* furnished to do so, under the terms of the COPYING file.
|
* furnished to do so, under the terms of the COPYING file.
|
||||||
@ -28,5 +28,4 @@
|
|||||||
extern char *curlx_strdup(const char *str);
|
extern char *curlx_strdup(const char *str);
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
#endif
|
#endif /* HEADER_CURL_STRDUP_H */
|
||||||
|
|
||||||
|
19
lib/strtok.h
19
lib/strtok.h
@ -1,18 +1,18 @@
|
|||||||
#ifndef __CURL_STRTOK_H
|
#ifndef HEADER_CURL_STRTOK_H
|
||||||
#define __CURL_STRTOK_H
|
#define HEADER_CURL_STRTOK_H
|
||||||
/***************************************************************************
|
/***************************************************************************
|
||||||
* _ _ ____ _
|
* _ _ ____ _
|
||||||
* Project ___| | | | _ \| |
|
* Project ___| | | | _ \| |
|
||||||
* / __| | | | |_) | |
|
* / __| | | | |_) | |
|
||||||
* | (__| |_| | _ <| |___
|
* | (__| |_| | _ <| |___
|
||||||
* \___|\___/|_| \_\_____|
|
* \___|\___/|_| \_\_____|
|
||||||
*
|
*
|
||||||
* Copyright (C) 1998 - 2008, Daniel Stenberg, <daniel@haxx.se>, et al.
|
* Copyright (C) 1998 - 2010, Daniel Stenberg, <daniel@haxx.se>, et al.
|
||||||
*
|
*
|
||||||
* This software is licensed as described in the file COPYING, which
|
* This software is licensed as described in the file COPYING, which
|
||||||
* you should have received as part of this distribution. The terms
|
* you should have received as part of this distribution. The terms
|
||||||
* are also available at http://curl.haxx.se/docs/copyright.html.
|
* are also available at http://curl.haxx.se/docs/copyright.html.
|
||||||
*
|
*
|
||||||
* You may opt to use, copy, modify, merge, publish, distribute and/or sell
|
* You may opt to use, copy, modify, merge, publish, distribute and/or sell
|
||||||
* copies of the Software, and permit persons to whom the Software is
|
* copies of the Software, and permit persons to whom the Software is
|
||||||
* furnished to do so, under the terms of the COPYING file.
|
* furnished to do so, under the terms of the COPYING file.
|
||||||
@ -32,5 +32,4 @@ char *Curl_strtok_r(char *s, const char *delim, char **last);
|
|||||||
#include <string.h>
|
#include <string.h>
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
#endif
|
#endif /* HEADER_CURL_STRTOK_H */
|
||||||
|
|
||||||
|
@ -1,5 +1,5 @@
|
|||||||
#ifndef _CURL_STRTOOFFT_H
|
#ifndef HEADER_CURL_STRTOOFFT_H
|
||||||
#define _CURL_STRTOOFFT_H
|
#define HEADER_CURL_STRTOOFFT_H
|
||||||
/***************************************************************************
|
/***************************************************************************
|
||||||
* _ _ ____ _
|
* _ _ ____ _
|
||||||
* Project ___| | | | _ \| |
|
* Project ___| | | | _ \| |
|
||||||
@ -7,7 +7,7 @@
|
|||||||
* | (__| |_| | _ <| |___
|
* | (__| |_| | _ <| |___
|
||||||
* \___|\___/|_| \_\_____|
|
* \___|\___/|_| \_\_____|
|
||||||
*
|
*
|
||||||
* Copyright (C) 1998 - 2008, Daniel Stenberg, <daniel@haxx.se>, et al.
|
* Copyright (C) 1998 - 2010, Daniel Stenberg, <daniel@haxx.se>, et al.
|
||||||
*
|
*
|
||||||
* This software is licensed as described in the file COPYING, which
|
* This software is licensed as described in the file COPYING, which
|
||||||
* you should have received as part of this distribution. The terms
|
* you should have received as part of this distribution. The terms
|
||||||
@ -30,7 +30,7 @@
|
|||||||
* to implement string conversion to our curl_off_t integral data type.
|
* to implement string conversion to our curl_off_t integral data type.
|
||||||
*
|
*
|
||||||
* Notice that curl_off_t might be 64 or 32 bit wide, and that it might use
|
* Notice that curl_off_t might be 64 or 32 bit wide, and that it might use
|
||||||
* an undelying data type which might be 'long', 'int64_t', 'long long' or
|
* an undelying data type which might be 'long', 'int64_t', 'long long' or
|
||||||
* '__int64' and more remotely other data types.
|
* '__int64' and more remotely other data types.
|
||||||
*
|
*
|
||||||
* On systems where the size of curl_off_t is greater than the size of 'long'
|
* On systems where the size of curl_off_t is greater than the size of 'long'
|
||||||
@ -61,5 +61,4 @@
|
|||||||
#define CURL_LLONG_MAX CURL_OFF_T_C(0x7FFFFFFFFFFFFFFF)
|
#define CURL_LLONG_MAX CURL_OFF_T_C(0x7FFFFFFFFFFFFFFF)
|
||||||
#define CURL_LLONG_MIN (-CURL_LLONG_MAX - CURL_OFF_T_C(1))
|
#define CURL_LLONG_MIN (-CURL_LLONG_MAX - CURL_OFF_T_C(1))
|
||||||
|
|
||||||
#endif
|
#endif /* HEADER_CURL_STRTOOFFT_H */
|
||||||
|
|
||||||
|
4
maketgz
4
maketgz
@ -9,7 +9,7 @@
|
|||||||
# | (__| |_| | _ <| |___
|
# | (__| |_| | _ <| |___
|
||||||
# \___|\___/|_| \_\_____|
|
# \___|\___/|_| \_\_____|
|
||||||
#
|
#
|
||||||
# Copyright (C) 1998 - 2009, Daniel Stenberg, <daniel@haxx.se>, et al.
|
# Copyright (C) 1998 - 2010, Daniel Stenberg, <daniel@haxx.se>, et al.
|
||||||
#
|
#
|
||||||
# This software is licensed as described in the file COPYING, which
|
# This software is licensed as described in the file COPYING, which
|
||||||
# you should have received as part of this distribution. The terms
|
# you should have received as part of this distribution. The terms
|
||||||
@ -61,7 +61,7 @@ sed -e 's/^#define LIBCURL_VERSION .*/#define LIBCURL_VERSION "'$libversion'"/g'
|
|||||||
# Replace version number in header file:
|
# Replace version number in header file:
|
||||||
sed 's/#define CURL_VERSION .*/#define CURL_VERSION "'$curlversion'"/g' $CHEADER >$CHEADER.dist
|
sed 's/#define CURL_VERSION .*/#define CURL_VERSION "'$curlversion'"/g' $CHEADER >$CHEADER.dist
|
||||||
|
|
||||||
# Generate VC8 and VC9 versions from the VC6 Makefile versions
|
# Generate VC8 and VC9 versions from the VC6 Makefile versions
|
||||||
for ver in vc8 vc9; do
|
for ver in vc8 vc9; do
|
||||||
make -f Makefile.dist $ver
|
make -f Makefile.dist $ver
|
||||||
mv src/Makefile.$ver src/Makefile.$ver.dist
|
mv src/Makefile.$ver src/Makefile.$ver.dist
|
||||||
|
@ -12,22 +12,22 @@ The spec file in this directory is based on the Linux ssl and non-ssl
|
|||||||
curl spec files, plus additions to make it AIX Toolbox compatible.
|
curl spec files, plus additions to make it AIX Toolbox compatible.
|
||||||
|
|
||||||
The AIX Toolbox setup (installs into /opt/freeware, with symlinks in
|
The AIX Toolbox setup (installs into /opt/freeware, with symlinks in
|
||||||
/usr/bin,/usr/lib,/usr/include) are based on IBM's aixtoolbox spec
|
/usr/bin,/usr/lib,/usr/include) are based on IBM's aixtoolbox spec
|
||||||
file written by David Clissold <cliss@austin.ibm.com>, see
|
file written by David Clissold <cliss@austin.ibm.com>, see
|
||||||
|
|
||||||
ftp://ftp.software.ibm.com/aixtoolbox/SPECS/curl-7.9.3-2.spec
|
ftp://ftp.software.ibm.com/aixtoolbox/SPECS/curl-7.9.3-2.spec
|
||||||
|
|
||||||
This spec file is designed to be a drop-in replacement for the
|
This spec file is designed to be a drop-in replacement for the
|
||||||
old spec file found at the above link. Thus, like the old spec file
|
old spec file found at the above link. Thus, like the old spec file
|
||||||
this version is also a unified ssl/non-ssl version. To get non-ssl
|
this version is also a unified ssl/non-ssl version. To get non-ssl
|
||||||
RPMs just pass --define 'nossl 1' to the command line when building
|
RPMs just pass --define 'nossl 1' to the command line when building
|
||||||
the RPM, e.g.
|
the RPM, e.g.
|
||||||
|
|
||||||
rpm -bb --define 'nossl 1' curl.spec
|
rpm -bb --define 'nossl 1' curl.spec
|
||||||
|
|
||||||
Default is to build with ssl support.
|
Default is to build with ssl support.
|
||||||
|
|
||||||
Lastly, the spec file expects the Curl source distribution file to be
|
Lastly, the spec file expects the Curl source distribution file to be
|
||||||
in .tar.bz2 format.
|
in .tar.bz2 format.
|
||||||
|
|
||||||
The nifty cURL header of this README is a ripoff of the vms/readme file.
|
The nifty cURL header of this README is a ripoff of the vms/readme file.
|
||||||
|
@ -38,14 +38,14 @@ Note: this version is compiled without SSL support.
|
|||||||
%package devel
|
%package devel
|
||||||
Summary: Development files for the curl libary
|
Summary: Development files for the curl libary
|
||||||
Group: Development/Libraries
|
Group: Development/Libraries
|
||||||
%if %{SSL} == 1
|
%if %{SSL} == 1
|
||||||
Requires: openssl >= 0.9.5
|
Requires: openssl >= 0.9.5
|
||||||
%endif
|
%endif
|
||||||
Requires: curl = %{version}
|
Requires: curl = %{version}
|
||||||
Provides: curl-devel
|
Provides: curl-devel
|
||||||
|
|
||||||
%description devel
|
%description devel
|
||||||
libcurl is the core engine of curl; this packages contains all the
|
libcurl is the core engine of curl; this packages contains all the
|
||||||
libs, headers, and manual pages to develop applications using libcurl.
|
libs, headers, and manual pages to develop applications using libcurl.
|
||||||
|
|
||||||
%define DEFCC xlc
|
%define DEFCC xlc
|
||||||
@ -61,7 +61,7 @@ if [[ -z "$CC" ]]
|
|||||||
then
|
then
|
||||||
if test "X`type %{DEFCC} 2>/dev/null`" != 'X'; then
|
if test "X`type %{DEFCC} 2>/dev/null`" != 'X'; then
|
||||||
export CC=%{DEFCC}
|
export CC=%{DEFCC}
|
||||||
else
|
else
|
||||||
export CC=gcc
|
export CC=gcc
|
||||||
fi
|
fi
|
||||||
fi
|
fi
|
||||||
@ -109,9 +109,9 @@ make DESTDIR=%{buildroot} install-strip
|
|||||||
%if %{SSL} == 1
|
%if %{SSL} == 1
|
||||||
%{_datadir}/curl/curl-ca-bundle.crt
|
%{_datadir}/curl/curl-ca-bundle.crt
|
||||||
%endif
|
%endif
|
||||||
%doc CHANGES COPYING README RELEASE-NOTES
|
%doc CHANGES COPYING README RELEASE-NOTES
|
||||||
%doc docs/BUGS docs/CONTRIBUTE docs/FAQ docs/FEATURES docs/HISTORY
|
%doc docs/BUGS docs/CONTRIBUTE docs/FAQ docs/FEATURES docs/HISTORY
|
||||||
%doc docs/INSTALL docs/KNOWN_BUGS
|
%doc docs/INSTALL docs/KNOWN_BUGS
|
||||||
%doc docs/MANUAL docs/RESOURCES docs/THANKS docs/VERSIONS docs/TODO
|
%doc docs/MANUAL docs/RESOURCES docs/THANKS docs/VERSIONS docs/TODO
|
||||||
%doc docs/TheArtOfHttpScripting
|
%doc docs/TheArtOfHttpScripting
|
||||||
%if %{SSL} == 1
|
%if %{SSL} == 1
|
||||||
|
@ -40,13 +40,13 @@ headers, and manual pages to develop applications using libcurl.
|
|||||||
|
|
||||||
%prep
|
%prep
|
||||||
|
|
||||||
%setup -q -n %{tarball}-%{version}
|
%setup -q -n %{tarball}-%{version}
|
||||||
|
|
||||||
%build
|
%build
|
||||||
cd %{curlroot} && (if [ -f configure.in ]; then mv -f configure.in configure.in.rpm; fi)
|
cd %{curlroot} && (if [ -f configure.in ]; then mv -f configure.in configure.in.rpm; fi)
|
||||||
%configure
|
%configure
|
||||||
cd %{curlroot} && (if [ -f configure.in.rpm ]; then mv -f configure.in.rpm configure.in; fi)
|
cd %{curlroot} && (if [ -f configure.in.rpm ]; then mv -f configure.in.rpm configure.in; fi)
|
||||||
make
|
make
|
||||||
|
|
||||||
%install
|
%install
|
||||||
[ "%{buildroot}" != "/" ] && rm -rf %{buildroot}
|
[ "%{buildroot}" != "/" ] && rm -rf %{buildroot}
|
||||||
|
@ -42,7 +42,7 @@ rm -rf %{builddir}
|
|||||||
|
|
||||||
%build
|
%build
|
||||||
%configure --without-ssl --prefix=%{prefix}
|
%configure --without-ssl --prefix=%{prefix}
|
||||||
make
|
make
|
||||||
|
|
||||||
%install
|
%install
|
||||||
rm -rf $RPM_BUILD_ROOT
|
rm -rf $RPM_BUILD_ROOT
|
||||||
|
@ -28,5 +28,5 @@ EXTRA_DIST = README \
|
|||||||
Symbian/readme.txt \
|
Symbian/readme.txt \
|
||||||
TPF/curl.mak \
|
TPF/curl.mak \
|
||||||
TPF/maketpf.env_curl \
|
TPF/maketpf.env_curl \
|
||||||
TPF/maketpf.env_curllib
|
TPF/maketpf.env_curllib
|
||||||
|
|
||||||
|
@ -1,7 +1,7 @@
|
|||||||
_ _ ____ _
|
_ _ ____ _
|
||||||
___| | | | _ \| |
|
___| | | | _ \| |
|
||||||
/ __| | | | |_) | |
|
/ __| | | | |_) | |
|
||||||
| (__| |_| | _ <| |___
|
| (__| |_| | _ <| |___
|
||||||
\___|\___/|_| \_\_____|
|
\___|\___/|_| \_\_____|
|
||||||
|
|
||||||
PACKAGES
|
PACKAGES
|
||||||
@ -14,14 +14,14 @@ of those custom formats.
|
|||||||
The hierarchy for these directories is something like this:
|
The hierarchy for these directories is something like this:
|
||||||
|
|
||||||
packages/[OS]/[FORMAT]/
|
packages/[OS]/[FORMAT]/
|
||||||
|
|
||||||
Currently, we have Win32 and Linux for [OS]. There might be different formats
|
Currently, we have Win32 and Linux for [OS]. There might be different formats
|
||||||
for the same OS so for Linux we have RPM as format.
|
for the same OS so for Linux we have RPM as format.
|
||||||
|
|
||||||
We might need to add some differentiation for CPU as well, as there is
|
We might need to add some differentiation for CPU as well, as there is
|
||||||
Linux-RPMs for several CPUs. However, it might not be necessary since the
|
Linux-RPMs for several CPUs. However, it might not be necessary since the
|
||||||
packaging should be pretty much the same no matter what CPU that is used.
|
packaging should be pretty much the same no matter what CPU that is used.
|
||||||
|
|
||||||
For each unique OS-FORMAT pair, there's a directory to "fill"! I'd like to
|
For each unique OS-FORMAT pair, there's a directory to "fill"! I'd like to
|
||||||
see a single README with as much details as possible, and then I'd like some
|
see a single README with as much details as possible, and then I'd like some
|
||||||
template files for the package process.
|
template files for the package process.
|
||||||
|
@ -1,8 +1,8 @@
|
|||||||
//
|
//
|
||||||
// curl file transfer utility command-line utility
|
// curl file transfer utility command-line utility
|
||||||
//
|
//
|
||||||
// Use this file with buildrom to add curl to a device ROM
|
// Use this file with buildrom to add curl to a device ROM
|
||||||
//
|
//
|
||||||
|
|
||||||
#ifndef CURL_IBY
|
#ifndef CURL_IBY
|
||||||
#define CURL_IBY
|
#define CURL_IBY
|
||||||
|
@ -38,7 +38,7 @@ USERINCLUDE ../../../lib ../../../include/curl
|
|||||||
#ifdef ENABLE_SSL
|
#ifdef ENABLE_SSL
|
||||||
USERINCLUDE /epoc32/include/osextensions/stdapis
|
USERINCLUDE /epoc32/include/osextensions/stdapis
|
||||||
// Older versions of the SDK need this instead:
|
// Older versions of the SDK need this instead:
|
||||||
//USERINCLUDE /epoc32/include/stdapis/openssl
|
//USERINCLUDE /epoc32/include/stdapis/openssl
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
SYSTEMINCLUDE ../../../include /epoc32/include/stdapis /epoc32/include
|
SYSTEMINCLUDE ../../../include /epoc32/include/stdapis /epoc32/include
|
||||||
|
@ -9,7 +9,7 @@ from client applications as well as creating a GUI application to allow
|
|||||||
file transfers. The author has no current plans to do so.
|
file transfers. The author has no current plans to do so.
|
||||||
|
|
||||||
This means that integration with standard Symbian OS programs can be
|
This means that integration with standard Symbian OS programs can be
|
||||||
tricky, since libcurl isn't designed with Symbian's native asynchronous
|
tricky, since libcurl isn't designed with Symbian's native asynchronous
|
||||||
message passing idioms in mind. However, it may be possible to use libcurl
|
message passing idioms in mind. However, it may be possible to use libcurl
|
||||||
in an active object-based application through libcurl's multi interface.
|
in an active object-based application through libcurl's multi interface.
|
||||||
The port is most easily used when porting POSIX applications to Symbian
|
The port is most easily used when porting POSIX applications to Symbian
|
||||||
|
@ -6,7 +6,8 @@
|
|||||||
|
|
||||||
################################################################################
|
################################################################################
|
||||||
# Define the directories where the shared objects reside
|
# Define the directories where the shared objects reside
|
||||||
################################################################################
|
################################################################################
|
||||||
|
|
||||||
ROOTLIBDIRS := $(foreach d,$(TPF_ROOT),$d/opensource/curl/output/lib)
|
ROOTLIBDIRS := $(foreach d,$(TPF_ROOT),$d/opensource/curl/output/lib)
|
||||||
|
|
||||||
################################################################################
|
################################################################################
|
||||||
|
@ -6,19 +6,21 @@
|
|||||||
|
|
||||||
################################################################################
|
################################################################################
|
||||||
# Define the directories where the shared objects reside
|
# Define the directories where the shared objects reside
|
||||||
################################################################################
|
################################################################################
|
||||||
|
|
||||||
ROOTLIBDIRS := $(foreach d,$(TPF_ROOT),$d/opensource/curl/output/lib)
|
ROOTLIBDIRS := $(foreach d,$(TPF_ROOT),$d/opensource/curl/output/lib)
|
||||||
|
|
||||||
################################################################################
|
################################################################################
|
||||||
# Define the directories where the loadables (XXXXVV) are to be written
|
# Define the directories where the loadables (XXXXVV) are to be written
|
||||||
################################################################################
|
################################################################################
|
||||||
|
|
||||||
ROOTLOADDIRS := $(foreach d,$(TPF_ROOT),$d/opensource/curl/output/load)
|
ROOTLOADDIRS := $(foreach d,$(TPF_ROOT),$d/opensource/curl/output/load)
|
||||||
|
|
||||||
################################################################################
|
################################################################################
|
||||||
# Define the location of the export files used by the LD postprocessor
|
# Define the location of the export files used by the LD postprocessor
|
||||||
# - currently expected that .exp files will also live in lib dir
|
# - currently expected that .exp files will also live in lib dir
|
||||||
################################################################################
|
################################################################################
|
||||||
|
|
||||||
ROOTEXPDIRS := $(foreach d,$(TPF_ROOT_LM),$d/opensource/curl/output/exp)
|
ROOTEXPDIRS := $(foreach d,$(TPF_ROOT_LM),$d/opensource/curl/output/exp)
|
||||||
|
|
||||||
################################################################################
|
################################################################################
|
||||||
|
@ -6,7 +6,7 @@ EXTRA_DIST = README
|
|||||||
# Read the README file for details on using this Makefile
|
# Read the README file for details on using this Makefile
|
||||||
#
|
#
|
||||||
# NOTE: As I'm not particularly familiar with Makefiles, this was the
|
# NOTE: As I'm not particularly familiar with Makefiles, this was the
|
||||||
# best I could come up with. It should probably be enhanced someday
|
# best I could come up with. It should probably be enhanced someday
|
||||||
# to actually use the correct target and pre-requisite names, etc...
|
# to actually use the correct target and pre-requisite names, etc...
|
||||||
# If anyone else wants to volunteer, feel free ;-)
|
# If anyone else wants to volunteer, feel free ;-)
|
||||||
#
|
#
|
||||||
|
@ -1,7 +1,7 @@
|
|||||||
Curl is a tool for transferring files with URL syntax, supporting
|
Curl is a tool for transferring files with URL syntax, supporting
|
||||||
FTP, FTPS, HTTP, HTTPS, TELNET, DICT, FILE and LDAP.
|
FTP, FTPS, HTTP, HTTPS, TELNET, DICT, FILE and LDAP.
|
||||||
Curl supports HTTPS certificates, HTTP POST, HTTP PUT,
|
Curl supports HTTPS certificates, HTTP POST, HTTP PUT,
|
||||||
FTP uploading, kerberos, HTTP form based upload, proxies,
|
FTP uploading, kerberos, HTTP form based upload, proxies,
|
||||||
cookies, user+password authentication, file transfer resume,
|
cookies, user+password authentication, file transfer resume,
|
||||||
http proxy tunneling and a busload of other useful tricks.
|
http proxy tunneling and a busload of other useful tricks.
|
||||||
|
|
||||||
@ -43,7 +43,7 @@ Build Instructions (to recompile from the cygwin source tarball):
|
|||||||
http://mail.gnu.org/pipermail/libtool/2001-September/005549.html
|
http://mail.gnu.org/pipermail/libtool/2001-September/005549.html
|
||||||
The copy of ltmain.sh that is distributed with cURL includes this patch.
|
The copy of ltmain.sh that is distributed with cURL includes this patch.
|
||||||
|
|
||||||
As of curl 7.9.1, the official source compiles (under Cygwin) and tests
|
As of curl 7.9.1, the official source compiles (under Cygwin) and tests
|
||||||
100% cleanly OOTB (Out Of The Box)
|
100% cleanly OOTB (Out Of The Box)
|
||||||
|
|
||||||
---NO SSL RELEASE---
|
---NO SSL RELEASE---
|
||||||
@ -63,7 +63,7 @@ Packaging Instructions:
|
|||||||
|
|
||||||
where n is the cygwin release number (e.g. the "1" in curl-7.9-1),
|
where n is the cygwin release number (e.g. the "1" in curl-7.9-1),
|
||||||
and "CYGBUILD=n" is optional (n defaults to 1 if not specified)
|
and "CYGBUILD=n" is optional (n defaults to 1 if not specified)
|
||||||
|
|
||||||
Assuming everything worked, you'll find your binary tarballs in
|
Assuming everything worked, you'll find your binary tarballs in
|
||||||
$(buildtop)/packages/Win32/cygwin/
|
$(buildtop)/packages/Win32/cygwin/
|
||||||
|
|
||||||
@ -77,8 +77,8 @@ Packaging Instructions:
|
|||||||
$ cd curl-7.9-1; mkdir CYGWIN-PATCHES
|
$ cd curl-7.9-1; mkdir CYGWIN-PATCHES
|
||||||
$ cp packages/Win32/cygwin/README CYGWIN-PATCHES/curl-7.9-1.README
|
$ cp packages/Win32/cygwin/README CYGWIN-PATCHES/curl-7.9-1.README
|
||||||
4. if applicable, document any changes in the README file
|
4. if applicable, document any changes in the README file
|
||||||
5. create a patch which, when applied
|
5. create a patch which, when applied
|
||||||
(using `patch -p1 < curl-7.9-$(REL).patch`)
|
(using `patch -p1 < curl-7.9-$(REL).patch`)
|
||||||
will remove any changes you've made to the pristine source:
|
will remove any changes you've made to the pristine source:
|
||||||
$ cd ..
|
$ cd ..
|
||||||
$ diff -Nrup curl-7.9-1 curl-7.9 > curl-7.9-1.patch
|
$ diff -Nrup curl-7.9-1 curl-7.9 > curl-7.9-1.patch
|
||||||
@ -91,9 +91,9 @@ Packaging Instructions:
|
|||||||
@ curl
|
@ curl
|
||||||
sdesc: "a client that groks URLs"
|
sdesc: "a client that groks URLs"
|
||||||
ldesc: "Curl is a tool for transferring files with URL syntax,
|
ldesc: "Curl is a tool for transferring files with URL syntax,
|
||||||
supporting FTP, FTPS, HTTP, HTTPS, TELNET, DICT, FILE
|
supporting FTP, FTPS, HTTP, HTTPS, TELNET, DICT, FILE
|
||||||
and LDAP. Curl supports HTTPS certificates, HTTP POST, HTTP PUT,
|
and LDAP. Curl supports HTTPS certificates, HTTP POST, HTTP PUT,
|
||||||
FTP uploading, kerberos, HTTP form based upload, proxies,
|
FTP uploading, kerberos, HTTP form based upload, proxies,
|
||||||
cookies, user+password authentication, file transfer resume,
|
cookies, user+password authentication, file transfer resume,
|
||||||
http proxy tunneling and a busload of other useful tricks."
|
http proxy tunneling and a busload of other useful tricks."
|
||||||
category: Web Libs
|
category: Web Libs
|
||||||
|
@ -1,5 +1,5 @@
|
|||||||
$! $Id$
|
$! $Id$
|
||||||
$! BUILD_VMS.COM
|
$! BUILD_VMS.COM
|
||||||
$!
|
$!
|
||||||
$! I've taken the original build_vms.com, supplied by Nico Baggus, if
|
$! I've taken the original build_vms.com, supplied by Nico Baggus, if
|
||||||
$! memory serves me correctly, and made some modifications.
|
$! memory serves me correctly, and made some modifications.
|
||||||
@ -45,11 +45,11 @@ $! 29-JAN-2004, MSK, moved logical defines into defines.com
|
|||||||
$! 6-FEB-2004, MSK, put in various SSL support bits
|
$! 6-FEB-2004, MSK, put in various SSL support bits
|
||||||
$! 9-MAR-2004, MSK, the config-vms.h* files are now copied to the lib and
|
$! 9-MAR-2004, MSK, the config-vms.h* files are now copied to the lib and
|
||||||
$! src directories as curl_config.h.
|
$! src directories as curl_config.h.
|
||||||
$! 15-MAR-2004, MSK, All of the curlmsg*.* files have also been moved to
|
$! 15-MAR-2004, MSK, All of the curlmsg*.* files have also been moved to
|
||||||
$! this build directory. They will be copied to the src
|
$! this build directory. They will be copied to the src
|
||||||
$! directory before build. The .msg file will be compiled
|
$! directory before build. The .msg file will be compiled
|
||||||
$! to get the .obj for messages, but the .h and .sdl files
|
$! to get the .obj for messages, but the .h and .sdl files
|
||||||
$! are not automatically created since they partly rely on
|
$! are not automatically created since they partly rely on
|
||||||
$! the freeware SDL tool.
|
$! the freeware SDL tool.
|
||||||
$! 8-FEB-2005, MSK, merged the two config-vms.h* files into one that uses
|
$! 8-FEB-2005, MSK, merged the two config-vms.h* files into one that uses
|
||||||
$! USE_SSLEAY to define if the target has SSL support built
|
$! USE_SSLEAY to define if the target has SSL support built
|
||||||
@ -95,7 +95,7 @@ $ orig_def = f$environment( "DEFAULT")
|
|||||||
$ on error then goto Common_Exit
|
$ on error then goto Common_Exit
|
||||||
$ on control_y then goto Common_Exit
|
$ on control_y then goto Common_Exit
|
||||||
$!
|
$!
|
||||||
$ ctrl_y = 1556
|
$ ctrl_y = 1556
|
||||||
$ proc = f$environment( "PROCEDURE")
|
$ proc = f$environment( "PROCEDURE")
|
||||||
$ proc_dev_dir = -
|
$ proc_dev_dir = -
|
||||||
f$parse( proc, , , "DEVICE")+ f$parse( proc, , , "DIRECTORY")
|
f$parse( proc, , , "DEVICE")+ f$parse( proc, , , "DIRECTORY")
|
||||||
@ -467,8 +467,8 @@ $ link 'link_qual' /executable = 'exedir'CURL.EXE -
|
|||||||
$!
|
$!
|
||||||
$ goto Common_Exit
|
$ goto Common_Exit
|
||||||
$!
|
$!
|
||||||
$! Subroutine to build everything with a filetype passed in via P2 in
|
$! Subroutine to build everything with a filetype passed in via P2 in
|
||||||
$! the directory passed in via P1 and put it in the object library named
|
$! the directory passed in via P1 and put it in the object library named
|
||||||
$! via P3. Exclude items in P4.
|
$! via P3. Exclude items in P4.
|
||||||
$!
|
$!
|
||||||
$build: subroutine
|
$build: subroutine
|
||||||
@ -533,7 +533,7 @@ $ set default 'build_def'
|
|||||||
$ exit 'sts'
|
$ exit 'sts'
|
||||||
$ endsubroutine ! Build
|
$ endsubroutine ! Build
|
||||||
$!
|
$!
|
||||||
$! Based on the file TYPE, do the right compile command.
|
$! Based on the file TYPE, do the right compile command.
|
||||||
$! Only C and MSG supported.
|
$! Only C and MSG supported.
|
||||||
$!
|
$!
|
||||||
$compile: subroutine
|
$compile: subroutine
|
||||||
|
@ -205,7 +205,7 @@
|
|||||||
#define HAVE_SYS_TYPES_H 1
|
#define HAVE_SYS_TYPES_H 1
|
||||||
|
|
||||||
/* Define if you have the <termios.h> header file. */
|
/* Define if you have the <termios.h> header file. */
|
||||||
#undef HAVE_TERMIOS_H
|
#undef HAVE_TERMIOS_H
|
||||||
|
|
||||||
/* Define if you have the <time.h> header file. */
|
/* Define if you have the <time.h> header file. */
|
||||||
#define HAVE_TIME_H 1
|
#define HAVE_TIME_H 1
|
||||||
|
@ -114,7 +114,7 @@
|
|||||||
#define CURL_SSL_CRL_BADFILE 251757210
|
#define CURL_SSL_CRL_BADFILE 251757210
|
||||||
#define CURL_SSL_ISSUER_ERROR 251757218
|
#define CURL_SSL_ISSUER_ERROR 251757218
|
||||||
#define CURL_CURL_LAST 251757226
|
#define CURL_CURL_LAST 251757226
|
||||||
|
|
||||||
#pragma __member_alignment __restore
|
#pragma __member_alignment __restore
|
||||||
|
|
||||||
#endif /* HEADER_CURLMSG_H */
|
#endif /* HEADER_CURLMSG_H */
|
||||||
|
@ -1,22 +1,22 @@
|
|||||||
! $Id$
|
! $Id$
|
||||||
!
|
!
|
||||||
! These VMS error codes are generated by taking apart the curl.h
|
! These VMS error codes are generated by taking apart the curl.h
|
||||||
! file and putting all the CURLE_* enum stuff into this file,
|
! file and putting all the CURLE_* enum stuff into this file,
|
||||||
! CURLMSG.MSG. An .SDL file is created from this file with
|
! CURLMSG.MSG. An .SDL file is created from this file with
|
||||||
! MESSAGE/SDL. The .H file is created using the freeware SDL tool
|
! MESSAGE/SDL. The .H file is created using the freeware SDL tool
|
||||||
! against the .SDL file with SDL/ALPHA/LANG=CC command.
|
! against the .SDL file with SDL/ALPHA/LANG=CC command.
|
||||||
!
|
!
|
||||||
! With the exception of CURLE_OK, all of the messages are at
|
! With the exception of CURLE_OK, all of the messages are at
|
||||||
! the error severity level. With the exception of
|
! the error severity level. With the exception of
|
||||||
! PEER_FAILED_VERIF, which is a shortened form of
|
! PEER_FAILED_VERIF, which is a shortened form of
|
||||||
! PEER_FAILED_VERIFICATION, these are the same names as the
|
! PEER_FAILED_VERIFICATION, these are the same names as the
|
||||||
! CURLE_ ones in include/curl.h. The Message Utility manual states
|
! CURLE_ ones in include/curl.h. The Message Utility manual states
|
||||||
! "The combined length of the prefix and the message symbol name cannot
|
! "The combined length of the prefix and the message symbol name cannot
|
||||||
! exceed 31 characters." With a prefix of five that leaves us with 26
|
! exceed 31 characters." With a prefix of five that leaves us with 26
|
||||||
! for the message name.
|
! for the message name.
|
||||||
!
|
!
|
||||||
! If you update this file also update curlmsg_vms.h so that they are in sync
|
! If you update this file also update curlmsg_vms.h so that they are in sync
|
||||||
!
|
!
|
||||||
.TITLE CURLMSG Message files
|
.TITLE CURLMSG Message files
|
||||||
.FACILITY CURL,1793 /PREFIX=CURL_
|
.FACILITY CURL,1793 /PREFIX=CURL_
|
||||||
.BASE 1
|
.BASE 1
|
||||||
|
@ -1,29 +1,29 @@
|
|||||||
|
|
||||||
|
|
||||||
MODULE $CURDEF;
|
MODULE $CURDEF;
|
||||||
|
|
||||||
/*
|
/*
|
||||||
/* This SDL File Generated by VAX-11 Message V04-00 on 3-SEP-2008 13:33:54.09
|
/* This SDL File Generated by VAX-11 Message V04-00 on 3-SEP-2008 13:33:54.09
|
||||||
/*
|
/*
|
||||||
/* $ID: CURLMSG.MSG,V 1.7 2008-05-30 23:51:09 CURLVMS EXP $
|
/* $ID: CURLMSG.MSG,V 1.7 2008-05-30 23:51:09 CURLVMS EXP $
|
||||||
/*
|
/*
|
||||||
/* THESE VMS ERROR CODES ARE GENERATED BY TAKING APART THE CURL.H
|
/* THESE VMS ERROR CODES ARE GENERATED BY TAKING APART THE CURL.H
|
||||||
/* FILE AND PUTTING ALL THE CURLE_* ENUM STUFF INTO THIS FILE,
|
/* FILE AND PUTTING ALL THE CURLE_* ENUM STUFF INTO THIS FILE,
|
||||||
/* CURLMSG.MSG. AN .SDL FILE IS CREATED FROM THIS FILE WITH
|
/* CURLMSG.MSG. AN .SDL FILE IS CREATED FROM THIS FILE WITH
|
||||||
/* MESSAGE/SDL. THE .H FILE IS CREATED USING THE FREEWARE SDL TOOL
|
/* MESSAGE/SDL. THE .H FILE IS CREATED USING THE FREEWARE SDL TOOL
|
||||||
/* AGAINST THE .SDL FILE WITH SDL/ALPHA/LANG=CC COMMAND.
|
/* AGAINST THE .SDL FILE WITH SDL/ALPHA/LANG=CC COMMAND.
|
||||||
/*
|
/*
|
||||||
/* WITH THE EXCEPTION OF CURLE_OK, ALL OF THE MESSAGES ARE AT
|
/* WITH THE EXCEPTION OF CURLE_OK, ALL OF THE MESSAGES ARE AT
|
||||||
/* THE ERROR SEVERITY LEVEL. WITH THE EXCEPTION OF
|
/* THE ERROR SEVERITY LEVEL. WITH THE EXCEPTION OF
|
||||||
/* PEER_FAILED_VERIF, WHICH IS A SHORTENED FORM OF
|
/* PEER_FAILED_VERIF, WHICH IS A SHORTENED FORM OF
|
||||||
/* PEER_FAILED_VERIFICATION, THESE ARE THE SAME NAMES AS THE
|
/* PEER_FAILED_VERIFICATION, THESE ARE THE SAME NAMES AS THE
|
||||||
/* CURLE_ ONES IN INCLUDE/CURL.H. THE MESSAGE UTILITY MANUAL STATES
|
/* CURLE_ ONES IN INCLUDE/CURL.H. THE MESSAGE UTILITY MANUAL STATES
|
||||||
/* "THE COMBINED LENGTH OF THE PREFIX AND THE MESSAGE SYMBOL NAME CANNOT
|
/* "THE COMBINED LENGTH OF THE PREFIX AND THE MESSAGE SYMBOL NAME CANNOT
|
||||||
/* EXCEED 31 CHARACTERS." WITH A PREFIX OF FIVE THAT LEAVES US WITH 26
|
/* EXCEED 31 CHARACTERS." WITH A PREFIX OF FIVE THAT LEAVES US WITH 26
|
||||||
/* FOR THE MESSAGE NAME.
|
/* FOR THE MESSAGE NAME.
|
||||||
/*
|
/*
|
||||||
/* IF YOU UPDATE THIS FILE ALSO UPDATE CURLMSG_VMS.H SO THAT THEY ARE IN SYNC
|
/* IF YOU UPDATE THIS FILE ALSO UPDATE CURLMSG_VMS.H SO THAT THEY ARE IN SYNC
|
||||||
/*
|
/*
|
||||||
CONSTANT
|
CONSTANT
|
||||||
"FACILITY" EQUALS 3841 PREFIX "CURL" TAG ""
|
"FACILITY" EQUALS 3841 PREFIX "CURL" TAG ""
|
||||||
,"OK" EQUALS %X0F018009 PREFIX "CURL" TAG ""
|
,"OK" EQUALS %X0F018009 PREFIX "CURL" TAG ""
|
||||||
|
@ -1,7 +1,7 @@
|
|||||||
_ _ ____ _
|
_ _ ____ _
|
||||||
___| | | | _ \| |
|
___| | | | _ \| |
|
||||||
/ __| | | | |_) | |
|
/ __| | | | |_) | |
|
||||||
| (__| |_| | _ <| |___
|
| (__| |_| | _ <| |___
|
||||||
\___|\___/|_| \_\_____|
|
\___|\___/|_| \_\_____|
|
||||||
|
|
||||||
Perl
|
Perl
|
||||||
|
@ -103,7 +103,7 @@ sub SplitURL {
|
|||||||
$getpath ="";
|
$getpath ="";
|
||||||
$getdocument = $3;
|
$getdocument = $3;
|
||||||
}
|
}
|
||||||
|
|
||||||
}
|
}
|
||||||
elsif ($inurl=~ /^([^:]+):\/\/(.*)/ ) {
|
elsif ($inurl=~ /^([^:]+):\/\/(.*)/ ) {
|
||||||
$getprotocol = $1;
|
$getprotocol = $1;
|
||||||
@ -199,7 +199,7 @@ sub LinkWorks {
|
|||||||
return "GOOD";
|
return "GOOD";
|
||||||
}
|
}
|
||||||
else {
|
else {
|
||||||
|
|
||||||
if($head && ($error >= 500)) {
|
if($head && ($error >= 500)) {
|
||||||
# This server doesn't like HEAD!
|
# This server doesn't like HEAD!
|
||||||
@doc = `$linkcheckfull \"$check\"`;
|
@doc = `$linkcheckfull \"$check\"`;
|
||||||
@ -223,7 +223,7 @@ sub GetLinks {
|
|||||||
$tag = $1;
|
$tag = $1;
|
||||||
|
|
||||||
if($tag =~ /^<!--/) {
|
if($tag =~ /^<!--/) {
|
||||||
# this is a comment tag, ignore it
|
# this is a comment tag, ignore it
|
||||||
}
|
}
|
||||||
else {
|
else {
|
||||||
if($tag =~ /(src|href|background|archive) *= *(\"[^\"]\"|[^ )>]*)/i) {
|
if($tag =~ /(src|href|background|archive) *= *(\"[^\"]\"|[^ )>]*)/i) {
|
||||||
@ -239,7 +239,7 @@ sub GetLinks {
|
|||||||
if($url eq "") {
|
if($url eq "") {
|
||||||
# if the link was nothing than a #-link it may now have
|
# if the link was nothing than a #-link it may now have
|
||||||
# been emptied completely so then we skip the rest
|
# been emptied completely so then we skip the rest
|
||||||
next getlinkloop;
|
next getlinkloop;
|
||||||
}
|
}
|
||||||
|
|
||||||
if($done{$url}) {
|
if($done{$url}) {
|
||||||
|
@ -140,7 +140,7 @@ sub SplitURL {
|
|||||||
$getpath ="";
|
$getpath ="";
|
||||||
$getdocument = $3;
|
$getdocument = $3;
|
||||||
}
|
}
|
||||||
|
|
||||||
}
|
}
|
||||||
elsif ($inurl=~ /^([^:]+):\/\/(.*)/ ) {
|
elsif ($inurl=~ /^([^:]+):\/\/(.*)/ ) {
|
||||||
$getprotocol = $1;
|
$getprotocol = $1;
|
||||||
@ -235,7 +235,7 @@ sub LinkWorks {
|
|||||||
return "GOOD";
|
return "GOOD";
|
||||||
}
|
}
|
||||||
else {
|
else {
|
||||||
|
|
||||||
if($head && ($error >= 500)) {
|
if($head && ($error >= 500)) {
|
||||||
# This server doesn't like HEAD!
|
# This server doesn't like HEAD!
|
||||||
@doc = `$linkcheckfull \"$check\"`;
|
@doc = `$linkcheckfull \"$check\"`;
|
||||||
@ -258,7 +258,7 @@ sub GetLinks {
|
|||||||
my $tag = $1;
|
my $tag = $1;
|
||||||
|
|
||||||
if($tag =~ /^<!--/) {
|
if($tag =~ /^<!--/) {
|
||||||
# this is a comment tag, ignore it
|
# this is a comment tag, ignore it
|
||||||
}
|
}
|
||||||
else {
|
else {
|
||||||
if($tag =~ /(src|href|background|archive) *= *(\"[^\"]\"|[^ \)>]*)/i) {
|
if($tag =~ /(src|href|background|archive) *= *(\"[^\"]\"|[^ \)>]*)/i) {
|
||||||
@ -274,7 +274,7 @@ sub GetLinks {
|
|||||||
if($url eq "") {
|
if($url eq "") {
|
||||||
# if the link was nothing than a #-link it may now have
|
# if the link was nothing than a #-link it may now have
|
||||||
# been emptied completely so then we skip the rest
|
# been emptied completely so then we skip the rest
|
||||||
next;
|
next;
|
||||||
}
|
}
|
||||||
|
|
||||||
if($done{$url}) {
|
if($done{$url}) {
|
||||||
@ -355,7 +355,7 @@ while(1) {
|
|||||||
#print "path = $getpath\n";
|
#print "path = $getpath\n";
|
||||||
#print "document = $getdocument\n";
|
#print "document = $getdocument\n";
|
||||||
#exit;
|
#exit;
|
||||||
|
|
||||||
#
|
#
|
||||||
# Extracts all links from the given HTML buffer
|
# Extracts all links from the given HTML buffer
|
||||||
#
|
#
|
||||||
@ -377,7 +377,7 @@ while(1) {
|
|||||||
if($external) {
|
if($external) {
|
||||||
next;
|
next;
|
||||||
}
|
}
|
||||||
|
|
||||||
# this is a link on the same server:
|
# this is a link on the same server:
|
||||||
if($url =~ /^\//) {
|
if($url =~ /^\//) {
|
||||||
# from root
|
# from root
|
||||||
@ -386,7 +386,7 @@ while(1) {
|
|||||||
else {
|
else {
|
||||||
# from the scanned page's dir
|
# from the scanned page's dir
|
||||||
my $nyurl=$url;
|
my $nyurl=$url;
|
||||||
|
|
||||||
if(length($getpath) &&
|
if(length($getpath) &&
|
||||||
($getpath !~ /\/$/) &&
|
($getpath !~ /\/$/) &&
|
||||||
($nyurl !~ /^\//)) {
|
($nyurl !~ /^\//)) {
|
||||||
@ -402,7 +402,7 @@ while(1) {
|
|||||||
my $count = $done{$url};
|
my $count = $done{$url};
|
||||||
|
|
||||||
$allcount += $count;
|
$allcount += $count;
|
||||||
|
|
||||||
print "$success $count <".$tagtype{$url}."> $link $url\n";
|
print "$success $count <".$tagtype{$url}."> $link $url\n";
|
||||||
|
|
||||||
if("BAD" eq $success) {
|
if("BAD" eq $success) {
|
||||||
@ -430,7 +430,7 @@ while(1) {
|
|||||||
$rooturls{$link}++; # check this if not checked already
|
$rooturls{$link}++; # check this if not checked already
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Some files were not shown because too many files have changed in this diff Show More
Loading…
x
Reference in New Issue
Block a user