diff h2.t @ 783:dba6660b31db

Tests: stop decoding HTTP/2 headers on unknown format.
author Sergey Kandaurov <pluknet@nginx.com>
date Fri, 13 Nov 2015 23:52:56 +0300
parents 37396c3bc097
children d51f7d5d8b4c
line wrap: on
line diff
--- a/h2.t	Fri Nov 13 23:51:18 2015 +0300
+++ b/h2.t	Fri Nov 13 23:52:56 2015 +0300
@@ -3519,6 +3519,7 @@
 			$add->(\%headers, $name, $value);
 			next;
 		}
+		last;
 	}
 
 	return \%headers;