Backports
Issue | Fix Version | Assignee | Priority | Status | Resolution | Resolved In Build |
---|---|---|---|---|---|---|
JDK-8072307 | 7u85 | Kurchi Subhra Hazra | P4 | Resolved | Fixed | b01 |
JDK-8043528 | 7u80 | Robert Mckenna | P4 | Resolved | Fixed | b03 |
Description
com.sun.net.httpServer uses a selector to get notified for interesting events (such as arrival of a new connection, or data available to read on an existing connection), but imposes a timeout of 1000 ms on the selector. Although this is not a problem when the server uses a threadpool, but for a single threaded server, this timeout gives rise to a bottleneck and should be reduced to a lower value.
Attachments
Issue Links
- backported by
-
JDK-8043528 Selector in HttpServer introduces a 1000 ms delay when using KeepAlive
- Resolved
-
JDK-8072307 Selector in HttpServer introduces a 1000 ms delay when using KeepAlive
- Resolved
- duplicates
-
JDK-8009548 HttpServer and URLConnection introduce a 38 ms delay when using keep-alive
- Closed
-
JDK-8014032 com.sun.net.httpserver.HttpServer slowdown in Java7
- Closed
- relates to
-
JDK-8009548 HttpServer and URLConnection introduce a 38 ms delay when using keep-alive
- Closed