gpt4 book ai didi

java - HttpComponent 客户端的默认超时

转载 作者:搜寻专家 更新时间:2023-10-30 19:50:02 26 4
gpt4 key购买 nike

我找不到任何关于 httpclient 4.1 的默认 httpParams 的文档?

执行 GET 时的默认套接字超时是多少?

最佳答案

根据documentationhttp.socket.timeout 参数控制 SO_TIMEOUT 值,并且:

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

关于java - HttpComponent 客户端的默认超时,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/9734384/

26 4 0
Copyright 2021 - 2024 cfsdn All Rights Reserved 蜀ICP备2022000587号
广告合作:1813099741@qq.com 6ren.com