X-Git-Url: http://www.privoxy.org/gitweb/?p=privoxy.git;a=blobdiff_plain;f=gateway.h;h=73a60bcdf855825e6ee8ccd8131f77695d158e9c;hp=4b054ca78581f714f0c4d85d8e7104e8fb2f3631;hb=1e5dbf87271fb9afca4ccd18a19c42e6d4d80dea;hpb=c453a6c5675a72d33d7d2e1f499ee6f3a1c2ab02 diff --git a/gateway.h b/gateway.h index 4b054ca7..73a60bcd 100644 --- a/gateway.h +++ b/gateway.h @@ -1,6 +1,6 @@ #ifndef GATEWAY_H_INCLUDED #define GATEWAY_H_INCLUDED -#define GATEWAY_H_VERSION "$Id: gateway.h,v 1.10 2008/10/09 18:21:41 fabiankeil Exp $" +#define GATEWAY_H_VERSION "$Id: gateway.h,v 1.11 2008/11/13 09:08:42 fabiankeil Exp $" /********************************************************************* * * File : $Source: /cvsroot/ijbswa/current/gateway.h,v $ @@ -36,6 +36,9 @@ * * Revisions : * $Log: gateway.h,v $ + * Revision 1.11 2008/11/13 09:08:42 fabiankeil + * Add new config option: keep-alive-timeout. + * * Revision 1.10 2008/10/09 18:21:41 fabiankeil * Flush work-in-progress changes to keep outgoing connections * alive where possible. Incomplete and mostly #ifdef'd out. @@ -121,6 +124,7 @@ extern void forget_connection(jb_socket sfd); extern void remember_connection(jb_socket sfd, const struct http_request *http, const struct forward_spec *fwd); +extern int close_unusable_connections(void); #endif /* FEATURE_CONNECTION_KEEP_ALIVE */