[master] d260e98 Fix the three obj.{proto, reason, status} variables to match reality.

Poul-Henning Kamp phk at FreeBSD.org
Wed Mar 19 23:41:22 CET 2014


commit d260e9874bc89d550f89462f7ea237a672c0f265
Author: Poul-Henning Kamp <phk at FreeBSD.org>
Date:   Wed Mar 19 22:18:44 2014 +0000

    Fix the three obj.{proto,reason,status} variables to match reality.

diff --git a/lib/libvcc/generate.py b/lib/libvcc/generate.py
index c63274e..7c7e9db 100755
--- a/lib/libvcc/generate.py
+++ b/lib/libvcc/generate.py
@@ -491,21 +491,21 @@ sp_variables = [
 	('obj.proto',
 		'STRING',
 		( 'hit', ),
-		( 'hit', ), """
+		( ), """
 		The HTTP protocol version used when the object was retrieved.
 		"""
 	),
 	('obj.status',
 		'INT',
-		( 'synth',),
-		( 'synth',), """
+		( 'hit',),
+		( ), """
 		The HTTP status code returned by the server.
 		"""
 	),
 	('obj.reason',
 		'STRING',
-		( 'synth',),
-		( 'synth',), """
+		( 'hit',),
+		( ), """
 		The HTTP status message returned by the server.
 		"""
 	),



More information about the varnish-commit mailing list