author | dfuchs |
Thu, 22 Mar 2018 16:09:01 +0000 | |
branch | http-client-branch |
changeset 56343 | 2aa07dd36870 |
parent 56342 | 5c2ea761455b |
child 56344 | 2f3c34e2b691 |
src/java.net.http/share/classes/jdk/internal/net/http/HttpRequestImpl.java | file | annotate | diff | comparison | revisions |
--- a/src/java.net.http/share/classes/jdk/internal/net/http/HttpRequestImpl.java Thu Mar 22 14:45:30 2018 +0000 +++ b/src/java.net.http/share/classes/jdk/internal/net/http/HttpRequestImpl.java Thu Mar 22 16:09:01 2018 +0000 @@ -117,8 +117,8 @@ } } else { HttpRequestBuilderImpl.checkURI(requestURI); + checkTimeout(timeout); this.systemHeaders = new HttpHeadersImpl(); - checkTimeout(timeout); } this.systemHeaders.setHeader("User-Agent", USER_AGENT); this.uri = requestURI;