[master] 64c2b6642 Make h2_del_req take a non-const struct h2_req
Dridi Boukelmoune
dridi.boukelmoune at gmail.com
Mon Aug 30 08:31:07 UTC 2021
commit 64c2b66421dee8e1c70ed59cdd9285ecb467711d
Author: Martin Blix Grydeland <martin at varnish-software.com>
Date: Tue Jun 22 11:49:10 2021 +0200
Make h2_del_req take a non-const struct h2_req
diff --git a/bin/varnishd/http2/cache_http2.h b/bin/varnishd/http2/cache_http2.h
index ea5eb528d..ee91d6fac 100644
--- a/bin/varnishd/http2/cache_http2.h
+++ b/bin/varnishd/http2/cache_http2.h
@@ -237,7 +237,7 @@ void H2_Send(struct worker *, struct h2_req *, h2_frame type, uint8_t flags,
struct h2_req * h2_new_req(const struct worker *, struct h2_sess *,
unsigned stream, struct req *);
int h2_stream_tmo(struct h2_sess *, const struct h2_req *, vtim_real);
-void h2_del_req(struct worker *, const struct h2_req *);
+void h2_del_req(struct worker *, struct h2_req *);
void h2_kill_req(struct worker *, struct h2_sess *, struct h2_req *, h2_error);
int h2_rxframe(struct worker *, struct h2_sess *);
h2_error h2_set_setting(struct h2_sess *, const uint8_t *);
diff --git a/bin/varnishd/http2/cache_http2_proto.c b/bin/varnishd/http2/cache_http2_proto.c
index b668523a7..61c97a894 100644
--- a/bin/varnishd/http2/cache_http2_proto.c
+++ b/bin/varnishd/http2/cache_http2_proto.c
@@ -168,7 +168,7 @@ h2_new_req(const struct worker *wrk, struct h2_sess *h2,
}
void
-h2_del_req(struct worker *wrk, const struct h2_req *r2)
+h2_del_req(struct worker *wrk, struct h2_req *r2)
{
struct h2_sess *h2;
struct sess *sp;
More information about the varnish-commit
mailing list