src/java.net.http/share/classes/jdk/internal/net/http/common/SSLFlowDelegate.java
branchhttp-client-branch
changeset 56208 d37c08ce784a
parent 56207 03c89ed2070f
child 56223 377c5ebfc319
equal deleted inserted replaced
56207:03c89ed2070f 56208:d37c08ce784a
   353                                 handshaking = false;
   353                                 handshaking = false;
   354                                 resumeActivity();
   354                                 resumeActivity();
   355                             }
   355                             }
   356                         }
   356                         }
   357                     } catch (IOException ex) {
   357                     } catch (IOException ex) {
   358                         errorCommon(ex, true);
   358                         errorCommon(ex);
   359                         handleError(ex);
   359                         handleError(ex);
   360                     }
   360                     }
   361                     if (handshaking && !complete)
   361                     if (handshaking && !complete)
   362                         return;
   362                         return;
   363                 }
   363                 }
   373                     // activity.
   373                     // activity.
   374                     setALPN();
   374                     setALPN();
   375                     outgoing(Utils.EMPTY_BB_LIST, true);
   375                     outgoing(Utils.EMPTY_BB_LIST, true);
   376                 }
   376                 }
   377             } catch (Throwable ex) {
   377             } catch (Throwable ex) {
   378                 errorCommon(ex, true);
   378                 errorCommon(ex);
   379                 handleError(ex);
   379                 handleError(ex);
   380             }
   380             }
   381         }
   381         }
   382     }
   382     }
   383 
   383 
   579                 }
   579                 }
   580                 if (writeList.isEmpty() && needWrap()) {
   580                 if (writeList.isEmpty() && needWrap()) {
   581                     writer.addData(HS_TRIGGER);
   581                     writer.addData(HS_TRIGGER);
   582                 }
   582                 }
   583             } catch (Throwable ex) {
   583             } catch (Throwable ex) {
   584                 errorCommon(ex, true);
   584                 errorCommon(ex);
   585                 handleError(ex);
   585                 handleError(ex);
   586             }
   586             }
   587         }
   587         }
   588 
   588 
   589         private boolean needWrap() {
   589         private boolean needWrap() {