16
14

Delete article

Deleted articles cannot be recovered.

Draft of this article would be also deleted.

Are you sure you want to delete this article?

More than 5 years have passed since last update.

いろんなタイムアウトを一行で説明する

Last updated at Posted at 2018-04-20

タイムアウト三兄弟

Apache の HttpAsyncClient にはざっと3つのタイムアウトがある。下に行けば行くほど一般的な用途(なはず)

ConnectionRequestTimeout

ConnectionManager がフルの際、何ミリ秒リクエストを待機させるのか?

ConnectTimeout

client から server に接続要求を行って、ACK が帰ってくるまでの時間で何ミリ秒待つのか?

SocketTimeout

ソケット通信のスタートから終了まで、何ミリ秒経ったら強制的に終了するか?

16
14
0

Register as a new user and use Qiita more conveniently

  1. You get articles that match your needs
  2. You can efficiently read back useful information
  3. You can use dark theme
What you can do with signing up
16
14

Delete article

Deleted articles cannot be recovered.

Draft of this article would be also deleted.

Are you sure you want to delete this article?