From: Matthew Mondor Date: Thu, 25 Jan 2007 17:47:44 +0000 (+0000) Subject: *** empty log message *** X-Git-Tag: pgsql-branch-merge~15 X-Git-Url: http://git.pulsar-zone.net/?a=commitdiff_plain;h=abe8c275b82e192145201742627f3f791fc58c09;p=mmondor.git *** empty log message *** --- diff --git a/mmsoftware/js/js-sh/app/httpd/httpd.js b/mmsoftware/js/js-sh/app/httpd/httpd.js index b62da33..b6dcc3b 100644 --- a/mmsoftware/js/js-sh/app/httpd/httpd.js +++ b/mmsoftware/js/js-sh/app/httpd/httpd.js @@ -1,4 +1,4 @@ -/* $Id: httpd.js,v 1.52 2007/01/17 17:16:20 mmondor Exp $ */ +/* $Id: httpd.js,v 1.53 2007/01/25 17:47:44 mmondor Exp $ */ /* * Copyright (c) 2005-2006, Matthew Mondor @@ -82,7 +82,7 @@ * Server identification */ const SERVER_VERSION = 'mmondor_js_httpd/0.2.1 (NetBSD)'; -const SERVER_CVSID = '$Id: httpd.js,v 1.52 2007/01/17 17:16:20 mmondor Exp $'; +const SERVER_CVSID = '$Id: httpd.js,v 1.53 2007/01/25 17:47:44 mmondor Exp $'; @@ -2022,7 +2022,9 @@ function main() { 'Your browser has exceeded its maximum ' + 'allowed number of concurrent ' + 'connections.'); - fd.close(); + try { + fd.close(); + } catch (x) {} continue; } /* @@ -2035,9 +2037,7 @@ function main() { Syslog.log(Syslog.LOG_NOTICE, '* ' + x + ' at accept(2)'); - try { - fd.close(); - } catch (x) {} + /* No need to close fd */ } } continue;