mirror of
https://github.com/zhigang1992/AndroidVideoCache.git
synced 2026-03-06 22:32:57 +08:00
Merge pull request #85 from Hsiny/Hsiny-patch-1
fix do not close socket output correctly
This commit is contained in:
@@ -299,7 +299,7 @@ public class HttpProxyCacheServer {
|
||||
|
||||
private void closeSocketOutput(Socket socket) {
|
||||
try {
|
||||
if (socket.isOutputShutdown()) {
|
||||
if (!socket.isOutputShutdown()) {
|
||||
socket.shutdownOutput();
|
||||
}
|
||||
} catch (IOException e) {
|
||||
|
||||
Reference in New Issue
Block a user