Hi all,
In [1] when a client with keep-Alive setting is closing the connection, an
IO Exception is thrown, which is printed in the log as a warning message
with the exception. I checked the http core5 code as mentioned in the
method comment, and http core5 has decided to ignore this scenario and not
to throw an exception when the client closes the connection.

[1]
https://github.com/apache/axis-axis2-java-core/blob/master/modules/transport/http/src/main/java/org/apache/axis2/transport/http/server/AxisHttpConnectionImpl.java#L224
[2]
https://github.com/apache/httpcomponents-core/blob/5.3.x/httpcore5/src/main/java/org/apache/hc/core5/http/impl/io/DefaultBHttpServerConnection.java#L144
[3] https://issues.apache.org/jira/browse/HTTPCORE-677

Hence shall we change the code accordingly?

Regards
Nandika

Reply via email to