test/jdk/java/net/httpclient/ProxyServer.java
branchhttp-client-branch
changeset 55764 34d7cc00f87a
parent 47216 71c04702a3d5
child 55819 18e431209168
equal deleted inserted replaced
55763:634d8e14c172 55764:34d7cc00f87a
   205                 if (params[0].equals("CONNECT")) {
   205                 if (params[0].equals("CONNECT")) {
   206                     doTunnel(params[1]);
   206                     doTunnel(params[1]);
   207                 } else {
   207                 } else {
   208                     doProxy(params[1], buf, p, cmd);
   208                     doProxy(params[1], buf, p, cmd);
   209                 }
   209                 }
   210             } catch (IOException e) {
   210             } catch (Throwable e) {
   211                 if (debug) {
   211                 if (debug) {
   212                     System.out.println (e);
   212                     System.out.println (e);
   213                 }
   213                 }
   214                 try {close(); } catch (IOException e1) {}
   214                 try {close(); } catch (IOException e1) {}
   215             }
   215             }