We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 79868ee commit 535b651Copy full SHA for 535b651
src/main/java/com/github/shyiko/mysql/binlog/network/protocol/PacketChannel.java
@@ -75,6 +75,12 @@ public boolean isOpen() {
75
76
@Override
77
public void close() throws IOException {
78
+ try {
79
+ socket.shutdownInput(); // for socketInputStream.setEOF(true)
80
+ } catch (Exception ignore) {}
81
82
+ socket.shutdownOutput();
83
84
socket.close();
85
}
86
0 commit comments