本文へスキップ
onsuggest
ログイン
記事 en

ImapGoose: detecting wake-up from sleep

情報源: Hugo's weblog on WhyNotHugo (雨果) ·

After the system goes into sleep and wakes up again, ImapGoose would just hang for like 15–20 minutes before finally detecting the disconnection and reconnect. This was super annoying, and understanding the root cause was not trivial at all. ImapGoose sends a NOOP to the server every three minutes. This NOOP is basically like a ping to which the server must reply. The timeout it set to thirty seconds, so why did it take around 20 minutes to detect the disconnection? Part 1 [ permalink ] While the system is asleep, the server sends a RST indicating that the connection is terminated. This messag

キーボードショートカット

前の発見
←P
次の発見
→N
いいね
L
合わない
X
保存
S
このヘルプを表示
?
閉じる
Esc

ショートカットは発見ページで使えます。