-
Notifications
You must be signed in to change notification settings - Fork 61
Open
Description
HttpsURLConnection is not very flexible (and even broken in my opinion) when it comes to the persistence of the connections.
On all JVM that I tested (openjdk 11-17, oracle 11-17) there is a timeout around 10 seconds, which to my knowledge is not configurable, that will terminate the connection if no subsequent query is sent regardless of OS' configuration.
I quickly and dirtily (dropped all features I did not need and did not update the test suite) modified ResCU to use OKHttp client instead of HttpsURLConnection and all my problems related to that issue disappeared.
Would that make sense to add to this project the support for a more capable HTTP client (not necessarily OKHttp)?
Metadata
Metadata
Assignees
Labels
No labels