Default timeout for HttpComponent Client

后端 未结 5 655
我寻月下人不归
我寻月下人不归 2021-02-12 17:57

I can\'t find any documentation on the default httpParams for httpclient 4.1 ?

What\'s the default socket timeout when I do a GET ?

5条回答
  •  予麋鹿
    予麋鹿 (楼主)
    2021-02-12 18:52

    According to the documentation, the http.socket.timeout parameter controls the SO_TIMEOUT value, and:

    If this parameter is not set, read operations will not time out (infinite timeout).

提交回复
热议问题