Simon Horman 
		4463d19d48 
		
	 
	
	
	MEDIUM: stats: Only report drain state in stats if server has SRV_ADMF_DRAIN set ... 
			There are some similarities between a weight of zero and the
administratively set drain state: both allow existing connections
to continue while not accepting any new ones.
However, when reporting a server state generally a distinction is made
between state=UP,weight=0 and state=DRAIN,weight=*. This patch makes
stats reporting consistent in this regard.
This patch does not alter the behaviour that if a server's weight
is zero then its stats row is blue when accessed via HTML. This remains
the case regardless of if the state is UP or DRAIN.
Signed-off-by: Simon Horman <horms@verge.net.au> 
		
	 
		2015-04-23 09:57:53 +02:00 
	 
	
	
		 
	
	
		
			
			
			
			
			
			2015-04-06 11:37:25 +02:00 
		 
	
		
			
			
			
			
			
			2015-02-28 23:12:32 +01:00 
		 
	
		
			
			
			
			
			
			2015-02-28 23:12:32 +01:00 
		 
	
		
			
			
			
			
			
			2014-08-29 21:06:31 +02:00 
		 
	
		
			
			
			
			
			
			2015-04-06 11:37:29 +02:00 
		 
	
		
			
			
			
			
			
			2010-10-30 19:04:33 +02:00 
		 
	
		
			
			
			
			
			
			2015-03-10 10:17:54 +01:00 
		 
	
		
			
			
			
			
			
			2015-04-06 11:37:32 +02:00 
		 
	
		
			
			
			
			
			
			2015-03-13 14:00:47 +01:00 
		 
	
		
			
			
			
			
			
			2015-04-06 11:23:57 +02:00 
		 
	
		
			
			
			
			
			
			2014-05-09 19:16:13 +02:00 
		 
	
		
			
			
			
			
			
			2015-04-06 11:37:29 +02:00 
		 
	
		
			
			
			
			
			
			2015-04-06 11:23:56 +02:00 
		 
	
		
			
			
			
			
			
			2012-10-05 22:18:07 +02:00 
		 
	
		
			
			
			
			
			
			2015-04-23 09:57:53 +02:00 
		 
	
		
			
			
			
			
			
			2015-04-13 20:47:51 +02:00 
		 
	
		
			
			
			
			
			
			2015-04-13 20:47:51 +02:00 
		 
	
		
			
			
			
			
			
			2015-04-13 20:47:51 +02:00 
		 
	
		
			
			
			
			
			
			2015-04-13 20:47:51 +02:00 
		 
	
		
			
			
			
			
			
			2014-11-21 20:37:32 +01:00 
		 
	
		
			
			
			
			
			
			2012-12-29 21:50:07 +01:00 
		 
	
		
			
			
			
			
			
			2015-04-06 11:37:35 +02:00 
		 
	
		
			
			
			
			
			
			2015-03-04 10:11:57 +01:00 
		 
	
		
			
			
			
			
			
			2015-04-20 11:36:57 +02:00 
		 
	
		
			
			
			
			
			
			2015-01-20 19:48:05 +01:00 
		 
	
		
			
			
			
			
			
			2011-10-24 18:15:04 +02:00 
		 
	
		
			
			
			
			
			
			2015-04-08 18:26:29 +02:00 
		 
	
		
			
			
			
			
			
			2012-10-08 20:11:03 +02:00 
		 
	
		
			
			
			
			
			
			2014-05-22 11:27:00 +02:00 
		 
	
		
			
			
			
			
			
			2014-05-22 11:27:00 +02:00 
		 
	
		
			
			
			
			
			
			2014-05-22 11:27:00 +02:00 
		 
	
		
			
			
			
			
			
			2014-05-22 11:27:00 +02:00 
		 
	
		
			
			
			
			
			
			2014-05-23 14:29:11 +02:00 
		 
	
		
			
			
			
			
			
			2015-04-14 12:10:06 +02:00 
		 
	
		
			
			
			
			
			
			2015-04-06 11:37:25 +02:00 
		 
	
		
			
			
			
			
			
			2015-02-03 00:24:16 +01:00 
		 
	
		
			
			
			
			
			
			2015-04-07 15:56:21 +02:00 
		 
	
		
			
			
			
			
			
			2014-12-24 23:47:31 +01:00 
		 
	
		
			
			
			
			
			
			2014-11-21 07:51:57 +01:00 
		 
	
		
			
			
			
			
			
			2015-02-06 18:04:36 +01:00 
		 
	
		
			
			
			
			
			
			2015-04-06 11:37:25 +02:00 
		 
	
		
			
			
			
			
			
			2015-04-08 18:26:29 +02:00 
		 
	
		
			
			
			
			
			
			2011-10-24 17:09:22 +02:00 
		 
	
		
			
			
			
			
			
			2015-04-21 18:15:13 +02:00 
		 
	
		
			
			
			
			
			
			2015-04-20 13:46:20 +02:00 
		 
	
		
			
			
			
			
			
			2015-04-06 11:23:57 +02:00 
		 
	
		
			
			
			
			
			
			2015-02-28 23:12:31 +01:00 
		 
	
		
			
			
			
			
			
			2015-04-06 11:37:29 +02:00 
		 
	
		
			
			
			
			
			
			2015-04-06 11:23:57 +02:00 
		 
	
		
			
			
			
			
			
			2014-03-04 07:27:18 +01:00 
		 
	
		
			
			
			
			
			
			2007-01-07 02:12:57 +01:00 
		 
	
		
			
			
			
			
			
			2015-01-22 14:24:53 +01:00 
		 
	
		
			
			
			
			
			
			2015-04-06 11:37:25 +02:00 
		 
	
		
			
			
			
			
			
			2015-04-06 11:23:57 +02:00 
		 
	
		
			
			
			
			
			
			2015-04-08 18:26:29 +02:00 
		 
	
		
			
			
			
			
			
			2008-08-13 23:43:26 +02:00 
		 
	
		
			
			
			
			
			
			2014-05-28 16:53:04 +02:00 
		 
	
		
			
			
			
			
			
			2013-01-24 16:19:19 +01:00 
		 
	
		
			
			
			
			
			
			2015-04-11 10:28:59 +02:00 
		 
	
		
			
			
			
			
			
			2015-03-13 14:10:28 +01:00 
		 
	
		
			
			
			
			
			
			2015-04-06 11:37:25 +02:00 
		 
	
		
			
			
			
			
			
			2015-04-06 11:37:32 +02:00 
		 
	
		
			
			
			
			
			
			2015-04-08 18:26:29 +02:00 
		 
	
		
			
			
			
			
			
			2015-04-06 11:23:56 +02:00 
		 
	
		
			
			
			
			
			
			2012-12-29 21:50:07 +01:00 
		 
	
		
			
			
			
			
			
			2012-05-26 00:12:37 +02:00 
		 
	
		
			
			
			
			
			
			2013-01-24 16:19:19 +01:00