src/jdk.httpserver/share/classes/sun/net/httpserver/ServerImpl.java
branchhttp-client-branch
changeset 56262 d818a6a8295a
parent 55973 4d9b002587db
child 56344 2f3c34e2b691
equal deleted inserted replaced
56261:a339fe1aab55 56262:d818a6a8295a
   525                     /* figure out what kind of connection this is */
   525                     /* figure out what kind of connection this is */
   526                     newconnection = true;
   526                     newconnection = true;
   527                     if (https) {
   527                     if (https) {
   528                         if (sslContext == null) {
   528                         if (sslContext == null) {
   529                             logger.log (Level.WARNING,
   529                             logger.log (Level.WARNING,
   530                                 "SSL connection received. No https contxt created");
   530                                 "SSL connection received. No https context created");
   531                             throw new HttpError ("No SSL context established");
   531                             throw new HttpError ("No SSL context established");
   532                         }
   532                         }
   533                         sslStreams = new SSLStreams (ServerImpl.this, sslContext, chan);
   533                         sslStreams = new SSLStreams (ServerImpl.this, sslContext, chan);
   534                         rawin = sslStreams.getInputStream();
   534                         rawin = sslStreams.getInputStream();
   535                         rawout = sslStreams.getOutputStream();
   535                         rawout = sslStreams.getOutputStream();