[master] 93e6dd706 Constify
Poul-Henning Kamp
phk at FreeBSD.org
Mon Aug 5 08:38:11 UTC 2019
commit 93e6dd706074d5f5815bd03e76d63fa30f6666c9
Author: Poul-Henning Kamp <phk at FreeBSD.org>
Date: Mon Aug 5 05:43:37 2019 +0000
Constify
diff --git a/bin/varnishd/http2/cache_http2.h b/bin/varnishd/http2/cache_http2.h
index a7a1001f5..430ab060c 100644
--- a/bin/varnishd/http2/cache_http2.h
+++ b/bin/varnishd/http2/cache_http2.h
@@ -223,8 +223,8 @@ void H2_Send_Frame(struct worker *, struct h2_sess *,
h2_frame type, uint8_t flags, uint32_t len, uint32_t stream,
const void *);
-void H2_Send_RST(struct worker *wrk, struct h2_sess *h2, struct h2_req *r2,
- uint32_t stream, h2_error h2e);
+void H2_Send_RST(struct worker *wrk, struct h2_sess *h2,
+ const struct h2_req *r2, uint32_t stream, h2_error h2e);
void H2_Send(struct worker *, struct h2_req *, h2_frame type, uint8_t flags,
uint32_t len, const void *, uint64_t *acct);
diff --git a/bin/varnishd/http2/cache_http2_send.c b/bin/varnishd/http2/cache_http2_send.c
index 87b3ceb00..37f052d26 100644
--- a/bin/varnishd/http2/cache_http2_send.c
+++ b/bin/varnishd/http2/cache_http2_send.c
@@ -392,7 +392,7 @@ h2_send(struct worker *wrk, struct h2_req *r2, h2_frame ftyp, uint8_t flags,
}
void
-H2_Send_RST(struct worker *wrk, struct h2_sess *h2, struct h2_req *r2,
+H2_Send_RST(struct worker *wrk, struct h2_sess *h2, const struct h2_req *r2,
uint32_t stream, h2_error h2e)
{
char b[4];
More information about the varnish-commit
mailing list