« * K @bellsoft.bsky.social

BellSoft @bellsoft.bsky.social

2026-10-14 14:38 UTC

A connect timeout alone is not enough to bound an HTTP request. Java's HttpClient has a client-level timeout for establishing new connections, and HttpRequest can set a per-request timeout for receiving the response. Set connectTimeout() on the client and timeout() on the request. Java 11+. #Java

1 picture (not shown on this phone)

1 likes, 1 reposts, 0 replies

3 Next post4 More from @bellsoft.bsky.socialBackBluesky home
☆ Save to home · 0 Home · Find · Games · Chat · AI · Setup