]> git.ipfire.org Git - thirdparty/cups.git/commitdiff
Remove KeepAliveTimeout directive since it hasn't been wired up for years
authorMichael R Sweet <michael.r.sweet@gmail.com>
Wed, 7 Apr 2021 21:56:34 +0000 (17:56 -0400)
committerMichael R Sweet <michael.r.sweet@gmail.com>
Wed, 7 Apr 2021 21:56:34 +0000 (17:56 -0400)
(Apple #5733)

CHANGES.md
man/cupsd.conf.5
scheduler/conf.c
scheduler/conf.h

index 29fb40ea26e2a2d8929ca29827203c1350b5cffa..1128fe57612f2ce6ae83a627bb80d2eff99ed79b 100644 (file)
@@ -38,8 +38,8 @@ CUPS v2.4rc1 (Pending)
 - Deprecated cups-config (Issue #97)
 - Deprecated Kerberos (`AuthType Negotiate`) authentication (Issue #98)
 - Removed support for the (long deprecated and unused) `FontPath`,
-  `LPDConfigFile`, `RIPCache`, and `SMBConfigFile` directives in `cupsd.conf`
-  and `cups-files.conf`.
+  `LPDConfigFile`, `KeepAliveTimeout`, `RIPCache`, and `SMBConfigFile`
+  directives in `cupsd.conf` and `cups-files.conf`.
 
 
 CUPS v2.3.3op2 (February 1, 2021)
index 58decc8f366046ad64b1aa28889843d75e6535cc..972826ec61fee2a40ab4d3fedfe85268fa0e4a86 100644 (file)
@@ -207,11 +207,6 @@ The default is "5".
 \fBKeepAlive No\fR
 Specifies whether to support HTTP keep-alive connections.
 The default is "Yes".
-.\"#KeepAliveTimeout
-.TP 5
-\fBKeepAliveTimeout \fIseconds\fR
-Specifies how long an idle client connection remains open.
-The default is "30".
 .\"#LimitIPP
 .TP 5
 \fB<Limit \fIoperation \fR...\fB> \fR... \fB</Limit>\fR
index 27256bd0b155c10ee06fec8a4f55bec178d16bc5..96109ddf4a4b316aa36a7c3232929b08f99db0c5 100644 (file)
@@ -96,7 +96,6 @@ static const cupsd_var_t      cupsd_vars[] =
   { "JobKillDelay",            &JobKillDelay,          CUPSD_VARTYPE_TIME },
   { "JobRetryLimit",           &JobRetryLimit,         CUPSD_VARTYPE_INTEGER },
   { "JobRetryInterval",                &JobRetryInterval,      CUPSD_VARTYPE_TIME },
-  { "KeepAliveTimeout",                &KeepAliveTimeout,      CUPSD_VARTYPE_TIME },
   { "KeepAlive",               &KeepAlive,             CUPSD_VARTYPE_BOOLEAN },
 #ifdef HAVE_LAUNCHD
   { "LaunchdTimeout",          &IdleExitTimeout,       CUPSD_VARTYPE_TIME },
@@ -715,7 +714,6 @@ cupsdReadConfiguration(void)
   FilterNice               = 0;
   HostNameLookups          = FALSE;
   KeepAlive                = TRUE;
-  KeepAliveTimeout         = DEFAULT_KEEPALIVE;
   ListenBackLog            = SOMAXCONN;
   LogDebugHistory          = 200;
   LogFilePerm              = CUPS_DEFAULT_LOG_FILE_PERM;
index adc205a9a7b34945c6b3c6aa9691f4e55f5d5daa..e72756aa2c666ab6c81a120040644c61dd449160 100644 (file)
@@ -200,8 +200,6 @@ VAR int                     MaxClients              VALUE(100),
                                        /* Timeout during requests */
                        KeepAlive               VALUE(TRUE),
                                        /* Support the Keep-Alive option? */
-                       KeepAliveTimeout        VALUE(DEFAULT_KEEPALIVE),
-                                       /* Timeout between requests */
                        FileDevice              VALUE(FALSE),
                                        /* Allow file: devices? */
                        FilterLimit             VALUE(0),