RFR[9] JDK-8171043: ServerIdentityTest.java fails on Windows

Xuelei Fan xuelei.fan at oracle.com
Mon Dec 12 05:07:23 UTC 2016


Hi John,

It's a good catch of the problem.  Looks like the server side should 
read the HTTP request at first, and then write the HTTP response. 
That's the server call:
      InputStream sslIS = socket.getInputStream();
      sslIS.read();
and then write the "HTTP/1.1, ...".

Thanks,
Xuelei

On 12/11/2016 4:11 AM, John Jiang wrote:
> Hi,
> Please review this patch for test
> sun/net/www/protocol/https/HttpsClient/ServerIdentityTest.java
> Before the client get the response, the server may close.
>
> Webrev: http://cr.openjdk.java.net/~jjiang/8171043/webrev.00/
> Issue: https://bugs.openjdk.java.net/browse/JDK-8171043
>
> Best regards,
> John Jiang
>



More information about the security-dev mailing list