Commit a7da260a authored by Martin Blix Grydeland's avatar Martin Blix Grydeland Committed by Dridi Boukelmoune

Make h2_del_req take a non-const struct h2_req

parent 5c668420
......@@ -240,7 +240,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 *);
......
......@@ -165,7 +165,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;
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment