Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
私が見るほとんどすべての長いポーリングの例では、クライアント側で 30 秒のタイムアウトのようなものがあります。これの正確な理由は何ですか?
一部のルーター、プロキシ、または中間にあるデバイスは、長時間アイドル状態になっている TCP/IP 接続をドロップすることを決定する場合があります。また、時々接続を更新すると、サーバーの障害をより迅速に発見できるようになります。