-/* $Id: httpd.js,v 1.50 2007/01/17 16:43:47 mmondor Exp $ */
+/* $Id: httpd.js,v 1.51 2007/01/17 17:03:03 mmondor Exp $ */
/*
* Copyright (c) 2005-2006, Matthew Mondor
* Server identification
*/
const SERVER_VERSION = 'mmondor_js_httpd/0.2.1 (NetBSD)';
-const SERVER_CVSID = '$Id: httpd.js,v 1.50 2007/01/17 16:43:47 mmondor Exp $';
+const SERVER_CVSID = '$Id: httpd.js,v 1.51 2007/01/17 17:03:03 mmondor Exp $';
* Request timeout expired for this
* descriptor, we must close it.
*/
- fd.close();
+ Syslog.log(Syslog.LOG_NOTICE,
+ '- Closing expired FD');
+ try {
+ fd.close();
+ } catch (x) {}
climits.remove(fd);
pollset.remove(fd);
continue;
Syslog.log(Syslog.LOG_NOTICE,
'* ' + x +
' at accept(2)');
- fd.close();
+ try {
+ fd.close();
+ } catch (x) {}
}
}
continue;