[geary/mjog/imap-connection-fixes: 21/42] Remove last vestiges of TCP graceful disconnect from IMAP code
- From: Michael Gratton <mjog src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [geary/mjog/imap-connection-fixes: 21/42] Remove last vestiges of TCP graceful disconnect from IMAP code
- Date: Wed, 25 Mar 2020 22:01:58 +0000 (UTC)
commit 6f841cc54abbe00288df5f7525e7813b4ca8faa8
Author: Michael Gratton <mike vee net>
Date: Sun Dec 29 12:27:20 2019 +1030
Remove last vestiges of TCP graceful disconnect from IMAP code
src/engine/imap/transport/imap-client-connection.vala | 7 -------
1 file changed, 7 deletions(-)
---
diff --git a/src/engine/imap/transport/imap-client-connection.vala
b/src/engine/imap/transport/imap-client-connection.vala
index 7513adb7..6b742d7b 100644
--- a/src/engine/imap/transport/imap-client-connection.vala
+++ b/src/engine/imap/transport/imap-client-connection.vala
@@ -605,13 +605,6 @@ public class Geary.Imap.ClientConnection : BaseObject, Logging.Source {
private void on_command_timeout(Command command) {
this.sent_queue.remove(command);
command.response_timed_out.disconnect(on_command_timeout);
-
- // turn off graceful disconnect ... if the connection is hung,
- // don't want to be stalled trying to flush the pipe
- TcpConnection? tcp_cx = cx as TcpConnection;
- if (tcp_cx != null)
- tcp_cx.set_graceful_disconnect(false);
-
receive_failure(
new ImapError.TIMED_OUT(
"No response to command after %u seconds: %s",
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]