hg: jdk/jdk: 8218554: HttpServer: allow custom handlers to request that the connection be closed after the exchange.
daniel.fuchs at oracle.com
daniel.fuchs at oracle.com
Mon Feb 11 17:44:02 UTC 2019
Changeset: 3e451bff6f7f
Author: dfuchs
Date: 2019-02-11 18:41 +0100
URL: http://hg.openjdk.java.net/jdk/jdk/rev/3e451bff6f7f
8218554: HttpServer: allow custom handlers to request that the connection be closed after the exchange.
Summary: custom handler code can supply `Connection: close` to response headers in order to force connection close after the exchange terminates.
Reviewed-by: chegar
! src/jdk.httpserver/share/classes/com/sun/net/httpserver/HttpExchange.java
! src/jdk.httpserver/share/classes/sun/net/httpserver/ExchangeImpl.java
+ test/jdk/com/sun/net/httpserver/bugs/HandlerConnectionClose.java
More information about the jdk-all-changes
mailing list