JETTY-1423 force connection to be closed returned
This commit is contained in:
parent
0bd7519a2e
commit
633f3b1588
|
@ -97,6 +97,17 @@ class SocketConnector extends AbstractLifeCycle implements HttpClient.Connector
|
|||
destination.onException(e);
|
||||
}
|
||||
}
|
||||
finally
|
||||
{
|
||||
try
|
||||
{
|
||||
destination.returnConnection(connection,true);
|
||||
}
|
||||
catch (IOException e)
|
||||
{
|
||||
LOG.debug(e);
|
||||
}
|
||||
}
|
||||
}
|
||||
});
|
||||
|
||||
|
|
Loading…
Reference in New Issue