Christopher Faulet  
		
	
	
		a4f9dd4a56 
		
	 
	
	
	BUG/MINOR: channel/htx: Don't alter channel during forward for empty HTX message  
		
			... 
			In channel_htx_forward() and channel_htx_forward_forever(), if the HTX message
is empty, the underlying buffer may be really empty too. And we have no warranty
the caller will call htx_to_buf() later. And in practice, it is almost never
done. So the channel's buffer must not be altered. Otherwise, the buffer may be
considered as full (data == size) for an empty HTX message and no outgoing data.
This patch must be backported to 1.9. 
		
	 
 
		2019-06-05 10:12:11 +02:00 
	 
	
	
		  ..
	 
	
	
		
			
			
			
			
			
			2017-10-31 11:36:12 +01:00 
		 
	
		
			
			
			
			
			
			2019-04-23 11:41:52 +02:00 
		 
	
		
			
			
			
			
			
			2019-05-20 21:14:14 +02:00 
		 
	
		
			
			
			
			
			
			2019-04-24 16:04:23 +02:00 
		 
	
		
			
			
			
			
			
			2016-03-15 22:11:52 +01:00 
		 
	
		
			
			
			
			
			
			2014-03-17 18:06:07 +01:00 
		 
	
		
			
			
			
			
			
			2019-04-16 11:21:14 +02:00 
		 
	
		
			
			
			
			
			
			2019-06-05 10:12:11 +02:00 
		 
	
		
			
			
			
			
			
			2017-11-07 11:10:24 +01:00 
		 
	
		
			
			
			
			
			
			2019-04-01 14:45:37 +02:00 
		 
	
		
			
			
			
			
			
			2016-02-09 14:53:15 +01:00 
		 
	
		
			
			
			
			
			
			2019-06-03 14:23:33 +02:00 
		 
	
		
			
			
			
			
			
			2019-06-05 08:33:35 +02:00 
		 
	
		
			
			
			
			
			
			2019-04-23 11:41:52 +02:00 
		 
	
		
			
			
			
			
			
			2019-04-18 19:19:59 +02:00 
		 
	
		
			
			
			
			
			
			2018-12-11 17:09:31 +01:00 
		 
	
		
			
			
			
			
			
			2018-12-11 17:09:31 +01:00 
		 
	
		
			
			
			
			
			
			2019-05-25 20:31:53 +02:00 
		 
	
		
			
			
			
			
			
			2015-04-06 11:23:56 +02:00 
		 
	
		
			
			
			
			
			
			2017-11-24 17:49:53 +01:00 
		 
	
		
			
			
			
			
			
			2016-11-24 21:35:10 +01:00 
		 
	
		
			
			
			
			
			
			2015-06-17 20:18:54 +02:00 
		 
	
		
			
			
			
			
			
			2019-04-17 15:12:27 +02:00 
		 
	
		
			
			
			
			
			
			2019-05-28 07:42:12 +02:00 
		 
	
		
			
			
			
			
			
			2018-10-02 18:28:05 +02:00 
		 
	
		
			
			
			
			
			
			2019-01-02 20:22:17 +01:00 
		 
	
		
			
			
			
			
			
			2012-02-21 22:27:27 +01:00 
		 
	
		
			
			
			
			
			
			2009-10-01 11:19:37 +02:00 
		 
	
		
			
			
			
			
			
			2009-10-01 11:19:37 +02:00 
		 
	
		
			
			
			
			
			
			2017-10-31 13:58:31 +01:00 
		 
	
		
			
			
			
			
			
			2019-02-28 17:05:29 +01:00 
		 
	
		
			
			
			
			
			
			2019-04-30 09:25:09 +02:00 
		 
	
		
			
			
			
			
			
			2015-08-20 17:13:46 +02:00 
		 
	
		
			
			
			
			
			
			2017-10-31 18:03:23 +01:00 
		 
	
		
			
			
			
			
			
			2019-05-22 11:29:18 +02:00 
		 
	
		
			
			
			
			
			
			2019-05-22 11:50:48 +02:00 
		 
	
		
			
			
			
			
			
			2017-07-04 10:45:53 +02:00 
		 
	
		
			
			
			
			
			
			2015-04-06 11:23:56 +02:00 
		 
	
		
			
			
			
			
			
			2019-06-05 08:42:33 +02:00 
		 
	
		
			
			
			
			
			
			2009-01-25 13:49:53 +01:00 
		 
	
		
			
			
			
			
			
			2019-04-30 15:10:17 +02:00 
		 
	
		
			
			
			
			
			
			2019-05-28 07:42:12 +02:00 
		 
	
		
			
			
			
			
			
			2018-09-12 07:20:17 +02:00 
		 
	
		
			
			
			
			
			
			2019-05-06 22:12:57 +02:00 
		 
	
		
			
			
			
			
			
			2016-04-14 11:18:22 +02:00 
		 
	
		
			
			
			
			
			
			2019-04-01 07:44:56 +02:00 
		 
	
		
			
			
			
			
			
			2018-12-02 18:42:49 +01:00 
		 
	
		
			
			
			
			
			
			2019-05-04 10:19:56 +02:00 
		 
	
		
			
			
			
			
			
			2018-11-26 19:50:32 +01:00 
		 
	
		
			
			
			
			
			
			2016-12-22 23:26:38 +01:00 
		 
	
		
			
			
			
			
			
			2018-11-18 22:26:42 +01:00 
		 
	
		
			
			
			
			
			
			2019-04-18 19:52:03 +02:00 
		 
	
		
			
			
			
			
			
			2019-05-02 12:08:39 +02:00 
		 
	
		
			
			
			
			
			
			2019-04-01 07:44:56 +02:00 
		 
	
		
			
			
			
			
			
			2018-11-26 19:50:32 +01:00 
		 
	
		
			
			
			
			
			
			2019-05-07 22:16:41 +02:00 
		 
	
		
			
			
			
			
			
			2019-05-10 09:58:43 +02:00 
		 
	
		
			
			
			
			
			
			2019-03-15 14:34:59 +01:00 
		 
	
		
			
			
			
			
			
			2019-06-05 08:33:35 +02:00 
		 
	
		
			
			
			
			
			
			2019-05-06 22:29:39 +02:00 
		 
	
		
			
			
			
			
			
			2019-05-28 07:42:12 +02:00 
		 
	
		
			
			
			
			
			
			2019-05-29 21:53:37 +02:00 
		 
	
		
			
			
			
			
			
			2017-10-31 11:36:12 +01:00 
		 
	
		
			
			
			
			
			
			2006-06-29 18:54:54 +02:00 
		 
	
		
			
			
			
			
			
			2016-11-09 22:57:01 +01:00