test/jdk/java/net/httpclient/http2/ProxyTest2.java
branchhttp-client-branch
changeset 56233 1753108d07b9
parent 56167 96fa4f49a9ff
child 56265 ec34ae013fbe
equal deleted inserted replaced
56227:278e1c6c3e99 56233:1753108d07b9
   174             accept = new Thread(this::accept);
   174             accept = new Thread(this::accept);
   175             accept.setDaemon(true);
   175             accept.setDaemon(true);
   176         }
   176         }
   177 
   177 
   178         void start() throws IOException {
   178         void start() throws IOException {
       
   179             ss.setReuseAddress(false);
   179             ss.bind(new InetSocketAddress(0));
   180             ss.bind(new InetSocketAddress(0));
   180             accept.start();
   181             accept.start();
   181         }
   182         }
   182 
   183 
   183         // Pipe the input stream to the output stream.
   184         // Pipe the input stream to the output stream.