Skip to content

Commit

Permalink
Merge pull request #328 from rhusar/MODCLUSTER-653
Browse files Browse the repository at this point in the history
MODCLUSTER-653 DefaultMCMPHandler should close a connection when rece…
  • Loading branch information
rhusar committed Apr 16, 2018
2 parents f4d08f2 + 1f17399 commit 200ca68
Showing 1 changed file with 4 additions and 0 deletions.
Expand Up @@ -681,6 +681,10 @@ private String sendRequest(MCMPRequest request, Proxy proxy) {
proxy.setIoExceptionLogged(false);
}

if (close) {
proxy.closeConnection();
}

return result.toString();
} catch (IOException e) {
// Most likely this is a connection error with the proxy
Expand Down

0 comments on commit 200ca68

Please sign in to comment.