Merge pull request #85 from Hsiny/Hsiny-patch-1

fix do not close socket output correctly
This commit is contained in:
Alexey Danilov
2016-08-31 11:30:03 +03:00
committed by GitHub

View File

@@ -299,7 +299,7 @@ public class HttpProxyCacheServer {
private void closeSocketOutput(Socket socket) {
try {
if (socket.isOutputShutdown()) {
if (!socket.isOutputShutdown()) {
socket.shutdownOutput();
}
} catch (IOException e) {