[prev in list] [next in list] [prev in thread] [next in thread]
List: httpcomponents-commits
Subject: svn commit: r469020 -
From: olegk () apache ! org
Date: 2006-10-29 22:41:55
Message-ID: 20061029224155.771351A9846 () eris ! apache ! org
[Download RAW message or body]
Author: olegk
Date: Sun Oct 29 14:41:54 2006
New Revision: 469020
URL: http://svn.apache.org/viewvc?view=rev&rev=469020
Log:
Fixed file descriptor leak
Modified:
jakarta/httpcomponents/httpcore/trunk/module-nio/src/examples/org/apache/http/nio/examples/NHttpServer.java
Modified: jakarta/httpcomponents/httpcore/trunk/module-nio/src/examples/org/apache/http/nio/examples/NHttpServer.java
URL: http://svn.apache.org/viewvc/jakarta/httpcomponents/httpcore/trunk/module-nio/src \
/examples/org/apache/http/nio/examples/NHttpServer.java?view=diff&rev=469020&r1=469019&r2=469020
==============================================================================
--- jakarta/httpcomponents/httpcore/trunk/module-nio/src/examples/org/apache/http/nio/examples/NHttpServer.java \
(original)
+++ jakarta/httpcomponents/httpcore/trunk/module-nio/src/examples/org/apache/http/nio/examples/NHttpServer.java \
Sun Oct 29 14:41:54 2006 @@ -300,6 +300,7 @@
}
if (encoder.isCompleted()) {
+ channel.close();
if (!this.connStrategy.keepAlive(response, context)) {
conn.close();
}
[prev in list] [next in list] [prev in thread] [next in thread]
Configure |
About |
News |
Add a list |
Sponsored by KoreLogic