GitHub user rschmitt opened a pull request:
https://github.com/apache/httpcomponents-core/pull/75
Respect CloseMode when closing async TCP sockets
Previously, the IOSessionImpl implementation of ModalCloseable ignored
the CloseMode parameter and would always perform a GRACEFUL shutdown
(i.e. a TCP FIN). With this change, the CloseMode parameter will be
respected, and an IMMEDIATE shutdown will result in a TCP RST.
You can merge this pull request into a Git repository by running:
$ git pull https://github.com/rschmitt/httpcomponents-core async-close
Alternatively you can review and apply these changes as the patch at:
https://github.com/apache/httpcomponents-core/pull/75.patch
To close this pull request, make a commit to your master/trunk branch
with (at least) the following in the commit message:
This closes #75
----
commit 82eb0447acb67d16b6d26b8238d3d3f30890d2ba
Author: Ryan Schmitt <ryansch@...>
Date: 2018-08-31T01:16:01Z
Respect CloseMode when closing async TCP sockets
Previously, the IOSessionImpl implementation of ModalCloseable ignored
the CloseMode parameter and would always perform a GRACEFUL shutdown
(i.e. a TCP FIN). With this change, the CloseMode parameter will be
respected, and an IMMEDIATE shutdown will result in a TCP RST.
----
---
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]