[5.2] 2c533be Don't swallow RST with the $ABI stanza

PÃ¥l Hermunn Johansen hermunn at varnish-software.com
Fri Sep 15 11:17:29 UTC 2017


commit 2c533be6a5624a7a678334cffa5953375ac8a63e
Author: Dridi Boukelmoune <dridi.boukelmoune at gmail.com>
Date:   Thu Sep 14 10:45:10 2017 +0200

    Don't swallow RST with the $ABI stanza

diff --git a/lib/libvcc/vmodtool.py b/lib/libvcc/vmodtool.py
index b7f58e5..d2e7a30 100755
--- a/lib/libvcc/vmodtool.py
+++ b/lib/libvcc/vmodtool.py
@@ -484,6 +484,7 @@ class s_abi(stanza):
 			err("Valid ABI types are 'strict' or 'vrt', got '%s'\n" %
 			    self.line[1])
 		strict_abi = self.line[1] == 'strict'
+		self.vcc.contents.append(self)
 
 class s_event(stanza):
 	def parse(self):
diff --git a/lib/libvmod_blob/vmod.vcc b/lib/libvmod_blob/vmod.vcc
index e1db306..96dea4e 100644
--- a/lib/libvmod_blob/vmod.vcc
+++ b/lib/libvmod_blob/vmod.vcc
@@ -7,6 +7,7 @@
 #
 
 $Module blob 3 utilities for the VCL blob type
+$ABI strict
 
 ::
 
@@ -424,5 +425,3 @@ SEE ALSO
 * :ref:`varnishd(1)`
 * :ref:`vcl(7)`
 * :ref:`vmod_std(3)`
-
-$ABI strict


More information about the varnish-commit mailing list