Connection keep-alive support is ready for testing,
authorFabian Keil <fk@fabiankeil.de>
Sat, 18 Oct 2008 11:17:52 +0000 (11:17 +0000)
committerFabian Keil <fk@fabiankeil.de>
Sat, 18 Oct 2008 11:17:52 +0000 (11:17 +0000)
allow enabling it through the configure script.

acconfig.h
configure.in

index 76dca51..a8be622 100644 (file)
  *
  * Revisions   :
  *    $Log: acconfig.h,v $
+ *    Revision 1.35  2008/04/06 15:18:33  fabiankeil
+ *    Oh well, rename the --enable-pcre-host-patterns option to
+ *    --enable-extended-host-patterns as it's not really PCRE syntax.
+ *
  *    Revision 1.34  2008/04/06 14:54:26  fabiankeil
  *    Use PCRE syntax in host patterns when configured
  *    with --enable-pcre-host-patterns.
  */
 #undef FEATURE_EXTENDED_HOST_PATTERNS
 
+/*
+ * Keep outgoing connections alive if possible.
+ */
+#undef FEATURE_CONNECTION_KEEP_ALIVE
+
 /*
  * Use POSIX threads instead of native threads.
  */
index 685b0df..fe09ca1 100644 (file)
@@ -1,6 +1,6 @@
 dnl Process this file with autoconf to produce a configure script.
 dnl 
-dnl $Id: configure.in,v 1.120 2008/08/21 17:19:50 fabiankeil Exp $
+dnl $Id: configure.in,v 1.121 2008/08/30 12:03:07 fabiankeil Exp $
 dnl 
 dnl Written by and Copyright (C) 2001-2008 the SourceForge
 dnl Privoxy team. http://www.privoxy.org/
@@ -28,6 +28,9 @@ dnl or write to the Free Software Foundation, Inc., 59
 dnl Temple Place - Suite 330, Boston, MA  02111-1307, USA.
 dnl 
 dnl $Log: configure.in,v $
+dnl Revision 1.121  2008/08/30 12:03:07  fabiankeil
+dnl Remove FEATURE_COOKIE_JAR.
+dnl
 dnl Revision 1.120  2008/08/21 17:19:50  fabiankeil
 dnl Change version to 3.0.11 UNRELEASED.
 dnl
@@ -547,7 +550,7 @@ dnl =================================================================
 dnl AutoConf Initialization
 dnl =================================================================
 
-AC_REVISION($Revision: 1.120 $)
+AC_REVISION($Revision: 1.121 $)
 AC_INIT(jcc.c)
 
 if test ! -f config.h.in; then
@@ -1218,7 +1221,7 @@ AC_FUNC_SETPGRP
 AC_TYPE_SIGNAL
 dnl uncommenting does not work for swa. suse linux
 dnl AC_FUNC_STAT
-AC_CHECK_FUNCS([access atexit getcwd gethostbyaddr gethostbyaddr_r gethostbyname gethostbyname_r gettimeofday inet_ntoa localtime_r memchr memmove memset putenv random regcomp select setlocale snprintf socket strchr strdup strerror strftime strlcat strlcpy strptime strstr strtoul timegm tzset])
+AC_CHECK_FUNCS([access atexit getcwd gethostbyaddr gethostbyaddr_r gethostbyname gethostbyname_r gettimeofday inet_ntoa localtime_r memchr memmove memset poll putenv random regcomp select setlocale snprintf socket strchr strdup strerror strftime strlcat strlcpy strptime strstr strtoul timegm tzset])
 
 
 dnl =================================================================
@@ -1349,6 +1352,12 @@ AC_ARG_ENABLE(extended-host-patterns,
   AC_DEFINE(FEATURE_EXTENDED_HOST_PATTERNS)
 fi])
 
+AC_ARG_ENABLE(connection-keep-alive,
+[  --enable-connection-keep-alive  Keep outgoing connections alive if possible. Experimental.],
+[if test $enableval = yes; then
+  AC_DEFINE(FEATURE_CONNECTION_KEEP_ALIVE)
+fi])
+
 dnl pcre/pcrs is needed for CGI anyway, so
 dnl the choice is only between static and
 dnl dynamic: