-
Tatsuhiro Tsujikawa authored
It turns out that writing successfully to network is not enough. After apparently successful network write, read fails and then we first know network has been lost (at least my android mobile network). In this change, we say connection check is successful only when successful read. We already send PING in this case, so we just wait PING ACK with short timeout. If timeout has expired, drop connection. Since waiting for PING ACK could degrade performance for fast reliably connected network, we decided to disable connection check by default. Use --backend-http2-connection-check to enable it.
41e26618