Comments (8)
是啊 不超时,有时候程序卡死
from hutool.
HttpRequest.get(url).timeout(10000).execute().body()
HttpRequest.post(url).timeout(10000).execute().body()
from hutool.
设置了,然而根本无效,4.5.6
from hutool.
我也遇到了,设置了超时,但是一直不超时,把线程独占了
from hutool.
版本5.4.3
from hutool.
版本 5.5.4 在 Linux 环境下遇到了超时无效的问题
from hutool.
此方法本质上是设置:
HttpURLConnection urlCon = (HttpURLConnection)url.openConnection();
urlCon.setConnectTimeout();
urlCon.setReadTimeout();
具体为啥无效暂时无法测试也未找到原因。欢迎提供思路。
from hutool.
@looly 确实很奇怪,我在 Mac 上是可以正常超时的,jar 包放在 Linux(CentOS 8.2.2004)运行就不行
from hutool.
Related Issues (20)
- SshjSftp cd逻辑有误 返回布尔值总是false HOT 1
- Setting.autoLoad 中 WatchMonitor监听回调问题 HOT 1
- excel导入日期相关问题 HOT 3
- HtmlUtil.removeHtmlAttr HtmlUtil.removeAllHtmlAttr 无法处理属性值里有空格的标签; 无法处理闭标签有属性值
- hutool-json toBean后的对象在dubbo3协议下传输序列化异常 HOT 7
- RSA 解密的时候出现了乱码 HOT 3
- 使用Convert转换实体对象异常 HOT 2
- 邮箱工具不支持openjdk17对应的jakarta.mail HOT 1
- ExcelUtil.getReader读取文件后更新某行某列,原文件无变化 HOT 1
- DateException: No format fit for date String HOT 4
- `Hutool.getAllUtils()` 获取不到 Base64 等工具类 HOT 3
- ChineseDate 农历日期中添加个方法为法定节假日(传统节日中包含信息过多,想要取得一个简化版) HOT 1
- Converter2 接口 是否需要 HOT 2
- TemplateEngine模板无法解析${paymentInfo.userService.operator}层级对象 HOT 1
- 邮件发送
- json bean处理字段序列化忽略 HOT 1
- SM2算法同样的公钥使用不同的构造方法,加密结果不一致 HOT 6
- 反序列化空对象异常
- fillBeanWithMap方法的isToCamelCase无效 #3452延续 HOT 2
- 使用JakartaServletUtil.getClientIP()获取客户端IP地址,获取到的IP带端口号
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from hutool.