src/java.net.http/share/classes/jdk/internal/net/http/SSLDelegate.java
branchhttp-client-branch
changeset 56101 983e338eeb50
parent 56092 fd85b2bf2b0d
equal deleted inserted replaced
56100:4a0ad0602b99 56101:983e338eeb50
   435                             tmp = r.buf;
   435                             tmp = r.buf;
   436                         }
   436                         }
   437                         assert tmp.position() == 0;
   437                         assert tmp.position() == 0;
   438                         break;
   438                         break;
   439                 }
   439                 }
   440                 hs_status = r.result.getHandshakeStatus();
   440                 if (r != null) {
       
   441                     hs_status = r.result.getHandshakeStatus();
       
   442                 }
   441             }
   443             }
   442             Log.logSSL(getSessionInfo());
   444             Log.logSSL(getSessionInfo());
   443             if (!wasBlocking) {
   445             if (!wasBlocking) {
   444                 chan.configureBlocking(false);
   446                 chan.configureBlocking(false);
   445             }
   447             }