- The LPD backend now supports a new "order" option:
"lpd://server/queue?order=control,data" (default) and
"lpd://server/queue?order=data,control".
+ - The scheduler enforced a 30 second timeout on all
+ clients regardless of the Timeout directive and if a
+ CGI was currently running.
CHANGES IN CUPS V1.1.6-3
#
-# "$Id: cups.spec,v 1.29 2001/02/21 17:01:15 mike Exp $"
+# "$Id: cups.spec,v 1.30 2001/03/06 18:37:49 mike Exp $"
#
# RPM "spec" file for the Common UNIX Printing System (CUPS).
#
Vendor: Easy Software Products
# use buildroot so as not to disturb the version already installed
BuildRoot: /var/tmp/%{name}-root
-Conflicts: lpr
+Conflicts: lpr, LPRng
%package devel
Summary: Common Unix Printing System - development environment
/sbin/chkconfig cups on
fi
-if test -f /sbin/init.d/cups; then
- /sbin/init.d/cups start
-fi
-if test -f /etc/rc.d/init.d/cups; then
- /etc/rc.d/init.d/cups start
-fi
-if test -f /etc/init.d/cups; then
- /etc/init.d/cups start
-fi
+# these lines automatically start cupsd after installation; commented out
+# by request...
+#if test -f /sbin/init.d/cups; then
+# /sbin/init.d/cups start
+#fi
+#if test -f /etc/rc.d/init.d/cups; then
+# /etc/rc.d/init.d/cups start
+#fi
+#if test -f /etc/init.d/cups; then
+# /etc/init.d/cups start
+#fi
%preun
if test -f /sbin/init.d/cups; then
%files
%defattr(-,root,root)
%dir /etc/cups
-%config /etc/cups/*.conf
+%config(noreplace) /etc/cups/*.conf
%dir /etc/cups/certs
%dir /etc/cups/interfaces
/etc/cups/mime.types
/usr/lib/*.a
#
-# End of "$Id: cups.spec,v 1.29 2001/02/21 17:01:15 mike Exp $".
+# End of "$Id: cups.spec,v 1.30 2001/03/06 18:37:49 mike Exp $".
#
/*
- * "$Id: main.c,v 1.55 2001/03/06 14:23:15 mike Exp $"
+ * "$Id: main.c,v 1.56 2001/03/06 18:37:49 mike Exp $"
*
* Scheduler main loop for the Common UNIX Printing System (CUPS).
*
for (i = 0, con = Clients; i < NumClients; i ++, con ++)
LogMessage(L_ERROR, "Clients[%d] = %d, file = %d, state = %d",
- i, con->http.fd, con->file, con->http.state);
+ i, con->http.fd, con->file, con->http.state);
for (i = 0, lis = Listeners; i < NumListeners; i ++, lis ++)
LogMessage(L_ERROR, "Listeners[%d] = %d", i, lis->fd);
* Check the activity and close old clients...
*/
- activity = time(NULL) - 30;
- if (con->http.activity < activity)
+ activity = time(NULL) - Timeout;
+ if (con->http.activity < activity && !con->pipe_pid)
{
CloseClient(con);
con --;
/*
- * End of "$Id: main.c,v 1.55 2001/03/06 14:23:15 mike Exp $".
+ * End of "$Id: main.c,v 1.56 2001/03/06 18:37:49 mike Exp $".
*/