comparison src/org/eclipse/jetty/server/AbstractHttpConnection.java @ 913:17f4fe8271de

simplify connectors
author Franklin Schmidt <fschmidt@gmail.com>
date Sat, 08 Oct 2016 23:57:11 -0600
parents cab5830e1ab0
children 3268ddf919d4
comparison
equal deleted inserted replaced
912:1d0c304e12b5 913:17f4fe8271de
709 709
710 /* ------------------------------------------------------------ */ 710 /* ------------------------------------------------------------ */
711 public int getMaxIdleTime() 711 public int getMaxIdleTime()
712 { 712 {
713 if (_connector.isLowResources() && _endp.getMaxIdleTime()==_connector.getMaxIdleTime()) 713 if (_connector.isLowResources() && _endp.getMaxIdleTime()==_connector.getMaxIdleTime())
714 return _connector.getLowResourceMaxIdleTime(); 714 return 0;
715 if (_endp.getMaxIdleTime()>0) 715 if (_endp.getMaxIdleTime()>0)
716 return _endp.getMaxIdleTime(); 716 return _endp.getMaxIdleTime();
717 return _connector.getMaxIdleTime(); 717 return _connector.getMaxIdleTime();
718 } 718 }
719 719