8282017: sun/net/www/protocol/https/HttpsURLConnection/B6216082.java fails with "SocketException: Unexpected end of file from server"
Reviewed-by: dfuchs
This commit is contained in:
parent
a6f8a386ef
commit
cd9a3cf05b
@ -597,8 +597,6 @@ java/net/MulticastSocket/SetGetNetworkInterfaceTest.java 8219083 windows-
|
||||
|
||||
java/net/ServerSocket/AcceptInheritHandle.java 8211854 aix-ppc64
|
||||
|
||||
sun/net/www/protocol/https/HttpsURLConnection/B6216082.java 8282017 generic-all
|
||||
|
||||
############################################################################
|
||||
|
||||
# jdk_nio
|
||||
|
@ -261,9 +261,9 @@ public class TunnelProxy {
|
||||
boolean res;
|
||||
try {
|
||||
InputStream is = new BufferedInputStream (new NioInputStream (chan));
|
||||
String requestline = readLine (is);
|
||||
HttpHeaderParser mhead = new HttpHeaderParser (is);
|
||||
String[] req = requestline.split (" ");
|
||||
HttpHeaderParser mHead = new HttpHeaderParser (is);
|
||||
String requestLine = mHead.getRequestDetails();
|
||||
String[] req = requestLine.split (" ");
|
||||
if (req.length < 2) {
|
||||
/* invalid request line */
|
||||
return false;
|
||||
|
Loading…
Reference in New Issue
Block a user