[prev in list] [next in list] [prev in thread] [next in thread] 

List:       varnish-commit
Subject:    [master] 82ad74ad2 move backend error state reason and code struct field to end of struct
From:       Poul-Henning Kamp <phk () FreeBSD ! org>
Date:       2019-08-14 7:41:07
Message-ID: 20190814074107.9BEB9A4A5B () lists ! varnish-cache ! org
[Download RAW message or body]


commit 82ad74ad29504481267c3e986b6b8e5465c389a3
Author: Andrew Wiik <andrew@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;
 };
 
 
_______________________________________________
varnish-commit mailing list
varnish-commit@varnish-cache.org
https://www.varnish-cache.org/lists/mailman/listinfo/varnish-commit
[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic