comparison src/org/eclipse/jetty/server/Connector.java @ 898:39c12b2306a2

remove _useDNS
author Franklin Schmidt <fschmidt@gmail.com>
date Thu, 06 Oct 2016 23:57:43 -0600
parents 821e4634b787
children 3abf945c33e3
comparison
equal deleted inserted replaced
897:821e4634b787 898:39c12b2306a2
62 public final Server server; 62 public final Server server;
63 private String _host; 63 private String _host;
64 public final int port; 64 public final int port;
65 private int _acceptors = 1; 65 private int _acceptors = 1;
66 private int _acceptorPriorityOffset = 0; 66 private int _acceptorPriorityOffset = 0;
67 private boolean _useDNS;
68 67
69 protected int _maxIdleTime = 200000; 68 protected int _maxIdleTime = 200000;
70 protected int _lowResourceMaxIdleTime = -1; 69 protected int _lowResourceMaxIdleTime = -1;
71 protected int _soLingerTime = -1; 70 protected int _soLingerTime = -1;
72 71
344 protected abstract void accept(int acceptorID) throws IOException, InterruptedException; 343 protected abstract void accept(int acceptorID) throws IOException, InterruptedException;
345 344
346 /* ------------------------------------------------------------ */ 345 /* ------------------------------------------------------------ */
347 public void stopAccept(int acceptorID) throws Exception 346 public void stopAccept(int acceptorID) throws Exception
348 { 347 {
349 }
350
351 /* ------------------------------------------------------------ */
352 public boolean getResolveNames()
353 {
354 return _useDNS;
355 }
356
357 /* ------------------------------------------------------------ */
358 public void setResolveNames(boolean resolve)
359 {
360 _useDNS = resolve;
361 } 348 }
362 349
363 public int getRequestBufferSize() 350 public int getRequestBufferSize()
364 { 351 {
365 return _buffers.getRequestBufferSize(); 352 return _buffers.getRequestBufferSize();