aufs or diskd stores
- Added --enable-stacktraces configure option to set PRINT_STACK_TRACE,
and extended support for this to Linux/GNU libc.
+ - Disabled the "request timeout" error message sent if the user agent
+ did not provide a request in a timely manner after opening the
+ connection. Now the connection is silently closed. The error message
+ was confusing user agents utilizing persistent connections.
Changes to Squid-2.4.DEVEL3 ():
/*
- * $Id: client_side.cc,v 1.487 2000/05/29 01:22:24 wessels Exp $
+ * $Id: client_side.cc,v 1.488 2000/05/30 09:35:50 hno Exp $
*
* DEBUG: section 33 Client-side Routines
* AUTHOR: Duane Wessels
ConnStateData *conn = data;
ErrorState *err;
debug(33, 3) ("requestTimeout: FD %d: lifetime is expired.\n", fd);
+#if THIS_CONFUSES_PERSISTENT_CONNECTION_AWARE_BROWSERS_AND_USERS
if (fd_table[fd].rwstate) {
/*
* Some data has been sent to the client, just close the FD
*/
commSetSelect(fd, COMM_SELECT_READ, NULL, NULL, 0);
}
+#else
+ /*
+ * Just close the connection to not confuse browsers
+ * using persistent connections. Some browsers opens
+ * an connection and then does not use it until much
+ * later (presumeably because the request triggering
+ * the open has already been completed on another
+ * connection)
+ */
+ comm_close(fd);
+#endif
}
static int