[6.0] 27886a38a move backend error state reason and code struct field to end of struct

Reza Naghibi reza at naghibi.com
Thu Dec 19 21:11:07 UTC 2019


commit 27886a38a483fea584b5f6e4793ce6e3082d200b
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 42b2272fc..6dbefa84e 100644
--- a/bin/varnishd/cache/cache.h
+++ b/bin/varnishd/cache/cache.h
@@ -407,9 +407,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;
@@ -437,6 +434,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