-
Bug
-
Resolution: Duplicate
-
P3
-
None
-
8u65
Request for Java 8 fix for https://bugs.openjdk.java.net/browse/JDK-8158196
ACTUAL BEHAVIOR
JavaFX WebView Form Post fails if connection is closed before keepAliveTimeout
Load a page in a JavaFX WebView, which has the properties: "Connection: keepAlive" and "Keep-Alive: timeout=..." in the headers.
If a POST request is done before the timeout is reached, but the connection is already closed by the server, the connection close is not recognized and the POST request fails.
This problem occurs after moving from integrated WebView to JavaFX WebView.
If a debugger is attached to the WebEngine via webEngine.impl_getDebugger() with "Network.enable" this can be observed as
"{"response":{"method":"Network.loadingFailed","params":{"errorText":"Software caused connection abort: recv
failed","requestId":"0.502","timestamp":1.4641818912680063E9}},"timestamp":"15:11:31.278"}"
ACTUAL BEHAVIOR
JavaFX WebView Form Post fails if connection is closed before keepAliveTimeout
Load a page in a JavaFX WebView, which has the properties: "Connection: keepAlive" and "Keep-Alive: timeout=..." in the headers.
If a POST request is done before the timeout is reached, but the connection is already closed by the server, the connection close is not recognized and the POST request fails.
This problem occurs after moving from integrated WebView to JavaFX WebView.
If a debugger is attached to the WebEngine via webEngine.impl_getDebugger() with "Network.enable" this can be observed as
"{"response":{"method":"Network.loadingFailed","params":{"errorText":"Software caused connection abort: recv
failed","requestId":"0.502","timestamp":1.4641818912680063E9}},"timestamp":"15:11:31.278"}"
- duplicates
-
JDK-8158196 WebView Form Post fails if connection is closed before keepAlive-Timeout
- Resolved