EVENT: while abusing the timeout trigger for aborting the session we need to specify...
authorWilfried Goesgens <dothebart@citadel.org>
Thu, 11 Oct 2012 14:59:13 +0000 (16:59 +0200)
committerWilfried Goesgens <dothebart@citadel.org>
Thu, 11 Oct 2012 14:59:13 +0000 (16:59 +0200)
citadel/event_client.c

index 7122ffc720035fe0102995cccfbe405346b34f8e..f3fd300cbf70c8d136b2bfddd3c5d847cddce269 100644 (file)
@@ -586,7 +586,7 @@ IO_send_callback(struct ev_loop *loop, ev_io *watcher, int revents)
                        StrBufPrintf(IO->ErrMsg,
                                     "Socket Invalid! [%s]",
                                     strerror(errno));
-                       SetNextTimeout(IO, 0.0);
+                       SetNextTimeout(IO, 0.01);
                }
        }
        /* else : must write more. */
@@ -819,7 +819,7 @@ IO_recv_callback(struct ev_loop *loop, ev_io *watcher, int revents)
                        StrBufPrintf(IO->ErrMsg,
                                     "Socket Invalid! [%s]",
                                     strerror(errno));
-                       SetNextTimeout(IO, 0.0);
+                       SetNextTimeout(IO, 0.01);
                }
                return;
        }