JDK-8165070 : Request Java 8 fix for JDK-8158196
  • Type: Bug
  • Component: javafx
  • Sub-Component: web
  • Affected Version: 8u65
  • Priority: P3
  • Status: Closed
  • Resolution: Duplicate
  • Submitted: 2016-08-30
  • Updated: 2017-07-31
  • Resolved: 2016-08-31
Related Reports
Duplicate :  
Description
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"}"
Comments
If this really is a P3 issue, then we should bump the priority of JDK-8158196 to match.
30-08-2016