[master] 82ad74ad2 move backend error state reason and code struct field to end of struct

Poul-Henning Kamp phk at FreeBSD.org
Wed Aug 14 07:41:07 UTC 2019


commit 82ad74ad29504481267c3e986b6b8e5465c389a3
Author: Andrew Wiik <andrew at varnish-software.com>
Date:   Mon Aug 12 13:05:07 2019 -0400

    move backend error state reason and code struct field to end of struct

diff --git a/bin/varnishd/cache/cache.h b/bin/varnishd/cache/cache.h
index a204200c1..778db6861 100644
--- a/bin/varnishd/cache/cache.h
+++ b/bin/varnishd/cache/cache.h
@@ -412,9 +412,6 @@ struct busyobj {
 
 	struct http_conn	*htc;
 
-	uint16_t		err_code;
-	const char		*err_reason;
-
 	struct pool_task	fetch_task;
 
 #define BO_FLAG(l, r, w, d) unsigned	l:1;
@@ -442,6 +439,9 @@ struct busyobj {
 
 	uint8_t			digest[DIGEST_LEN];
 	struct vrt_privs	privs[1];
+
+	uint16_t		err_code;
+	const char		*err_reason;
 };
 
 


More information about the varnish-commit mailing list