Loading CHANGES +5 −0 Original line number Diff line number Diff line Loading @@ -7,6 +7,11 @@ Changelog Daniel (6 December 2004) - Dan Fandrich added the --disable-cookies option to configure to build libcurl without cookie support. This is mainly useful if you want to build a minimalistic libcurl with no cookies support at all. Like for embedded systems or similar. - Richard Atterer fixed libcurl's way of dealing with the EPSV response. Previously, libcurl would re-resolve the host name with the new port number and attempt to connect to that, while it should use the IP from Loading RELEASE-NOTES +2 −0 Original line number Diff line number Diff line Loading @@ -10,6 +10,8 @@ Curl and libcurl 7.12.3 This release includes the following changes: o new configure options: --disable-cookies, --disable-crypto-auth and --disable-verbose o persistent ftp request improvements o CURLOPT_IOCTLFUNCTION and CURLOPT_IOCTLDATA added. If your app uses HTTP Digest, NTLM or Negotiate authentication, you will most likely want to use Loading configure.ac +19 −0 Original line number Diff line number Diff line Loading @@ -1509,6 +1509,25 @@ AC_HELP_STRING([--disable-crypto-auth],[Disable cryptographic authentication]), AC_MSG_RESULT(yes) ) dnl ************************************************************ dnl disable cookies support dnl AC_MSG_CHECKING([whether to enable support for cookies]) AC_ARG_ENABLE(cookies, AC_HELP_STRING([--enable-cookies],[Enable cookies support]) AC_HELP_STRING([--disable-cookies],[Disable cookies support]), [ case "$enableval" in no) AC_MSG_RESULT(no) AC_DEFINE(CURL_DISABLE_COOKIES, 1, [to disable cookies support]) AC_SUBST(CURL_DISABLE_COOKIES) ;; *) AC_MSG_RESULT(yes) ;; esac ], AC_MSG_RESULT(yes) ) AM_CONDITIONAL(CROSSCOMPILING, test x$cross_compiling = xyes) AC_CONFIG_FILES([Makefile \ Loading lib/cookie.c +2 −2 Original line number Diff line number Diff line Loading @@ -80,7 +80,7 @@ Example set of cookies: #include "setup.h" #ifndef CURL_DISABLE_HTTP #if !defined(CURL_DISABLE_HTTP) && !defined(CURL_DISABLE_COOKIES) #include <stdlib.h> #include <string.h> Loading Loading @@ -878,4 +878,4 @@ int Curl_cookie_output(struct CookieInfo *c, char *dumphere) return 0; } #endif /* CURL_DISABLE_HTTP */ #endif /* CURL_DISABLE_HTTP || CURL_DISABLE_COOKIES */ lib/easy.c +1 −1 Original line number Diff line number Diff line Loading @@ -464,7 +464,7 @@ CURL *curl_easy_duphandle(CURL *incurl) outcurl->progress.flags = data->progress.flags; outcurl->progress.callback = data->progress.callback; #ifndef CURL_DISABLE_HTTP #if !defined(CURL_DISABLE_HTTP) && !defined(CURL_DISABLE_COOKIES) if(data->cookies) { /* If cookies are enabled in the parent handle, we enable them in the clone as well! */ Loading Loading
CHANGES +5 −0 Original line number Diff line number Diff line Loading @@ -7,6 +7,11 @@ Changelog Daniel (6 December 2004) - Dan Fandrich added the --disable-cookies option to configure to build libcurl without cookie support. This is mainly useful if you want to build a minimalistic libcurl with no cookies support at all. Like for embedded systems or similar. - Richard Atterer fixed libcurl's way of dealing with the EPSV response. Previously, libcurl would re-resolve the host name with the new port number and attempt to connect to that, while it should use the IP from Loading
RELEASE-NOTES +2 −0 Original line number Diff line number Diff line Loading @@ -10,6 +10,8 @@ Curl and libcurl 7.12.3 This release includes the following changes: o new configure options: --disable-cookies, --disable-crypto-auth and --disable-verbose o persistent ftp request improvements o CURLOPT_IOCTLFUNCTION and CURLOPT_IOCTLDATA added. If your app uses HTTP Digest, NTLM or Negotiate authentication, you will most likely want to use Loading
configure.ac +19 −0 Original line number Diff line number Diff line Loading @@ -1509,6 +1509,25 @@ AC_HELP_STRING([--disable-crypto-auth],[Disable cryptographic authentication]), AC_MSG_RESULT(yes) ) dnl ************************************************************ dnl disable cookies support dnl AC_MSG_CHECKING([whether to enable support for cookies]) AC_ARG_ENABLE(cookies, AC_HELP_STRING([--enable-cookies],[Enable cookies support]) AC_HELP_STRING([--disable-cookies],[Disable cookies support]), [ case "$enableval" in no) AC_MSG_RESULT(no) AC_DEFINE(CURL_DISABLE_COOKIES, 1, [to disable cookies support]) AC_SUBST(CURL_DISABLE_COOKIES) ;; *) AC_MSG_RESULT(yes) ;; esac ], AC_MSG_RESULT(yes) ) AM_CONDITIONAL(CROSSCOMPILING, test x$cross_compiling = xyes) AC_CONFIG_FILES([Makefile \ Loading
lib/cookie.c +2 −2 Original line number Diff line number Diff line Loading @@ -80,7 +80,7 @@ Example set of cookies: #include "setup.h" #ifndef CURL_DISABLE_HTTP #if !defined(CURL_DISABLE_HTTP) && !defined(CURL_DISABLE_COOKIES) #include <stdlib.h> #include <string.h> Loading Loading @@ -878,4 +878,4 @@ int Curl_cookie_output(struct CookieInfo *c, char *dumphere) return 0; } #endif /* CURL_DISABLE_HTTP */ #endif /* CURL_DISABLE_HTTP || CURL_DISABLE_COOKIES */
lib/easy.c +1 −1 Original line number Diff line number Diff line Loading @@ -464,7 +464,7 @@ CURL *curl_easy_duphandle(CURL *incurl) outcurl->progress.flags = data->progress.flags; outcurl->progress.callback = data->progress.callback; #ifndef CURL_DISABLE_HTTP #if !defined(CURL_DISABLE_HTTP) && !defined(CURL_DISABLE_COOKIES) if(data->cookies) { /* If cookies are enabled in the parent handle, we enable them in the clone as well! */ Loading