You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@hc.apache.org by gg...@apache.org on 2017/05/07 16:46:00 UTC
svn commit: r1794222 - in /httpcomponents/httpcore/branches/4.4.x:
RELEASE_NOTES.txt
httpcore-nio/src/main/java/org/apache/http/nio/protocol/HttpAsyncService.java
Author: ggregory
Date: Sun May 7 16:45:59 2017
New Revision: 1794222
URL: http://svn.apache.org/viewvc?rev=1794222&view=rev
Log:
[HTTPCORE-464] org.apache.http.nio.protocol.HttpAsyncService does not always log exceptions.
Modified:
httpcomponents/httpcore/branches/4.4.x/RELEASE_NOTES.txt
httpcomponents/httpcore/branches/4.4.x/httpcore-nio/src/main/java/org/apache/http/nio/protocol/HttpAsyncService.java
Modified: httpcomponents/httpcore/branches/4.4.x/RELEASE_NOTES.txt
URL: http://svn.apache.org/viewvc/httpcomponents/httpcore/branches/4.4.x/RELEASE_NOTES.txt?rev=1794222&r1=1794221&r2=1794222&view=diff
==============================================================================
--- httpcomponents/httpcore/branches/4.4.x/RELEASE_NOTES.txt (original)
+++ httpcomponents/httpcore/branches/4.4.x/RELEASE_NOTES.txt Sun May 7 16:45:59 2017
@@ -18,6 +18,9 @@ Changelog
* HTTPCORE-462: Deprecate SSLContextBuilder.useProtocol(String) in favor a new method setProtocol(String).
Contributed by Gary Gregory <ggregory at apache.org>
+* HTTPCORE-464: org.apache.http.nio.protocol.HttpAsyncService does not always log exceptions.
+ Contributed by Gary Gregory <ggregory at apache.org>
+
Release 4.4.6
-------------------
Modified: httpcomponents/httpcore/branches/4.4.x/httpcore-nio/src/main/java/org/apache/http/nio/protocol/HttpAsyncService.java
URL: http://svn.apache.org/viewvc/httpcomponents/httpcore/branches/4.4.x/httpcore-nio/src/main/java/org/apache/http/nio/protocol/HttpAsyncService.java?rev=1794222&r1=1794221&r2=1794222&view=diff
==============================================================================
--- httpcomponents/httpcore/branches/4.4.x/httpcore-nio/src/main/java/org/apache/http/nio/protocol/HttpAsyncService.java (original)
+++ httpcomponents/httpcore/branches/4.4.x/httpcore-nio/src/main/java/org/apache/http/nio/protocol/HttpAsyncService.java Sun May 7 16:45:59 2017
@@ -277,10 +277,10 @@ public class HttpAsyncService implements
@Override
public void exception(
final NHttpServerConnection conn, final Exception cause) {
+ log(cause);
final State state = getState(conn);
if (state == null) {
shutdownConnection(conn);
- log(cause);
return;
}
state.setTerminated();