From 5bc92071d71cc45c582cf2a8b44e38f4817b2ecf Mon Sep 17 00:00:00 2001 From: Glenn Strauss Date: Thu, 17 Jun 2021 09:05:10 -0400 Subject: [PATCH] [core] reset large path buffers from long URLs --- src/reqpool.c | 2 ++ 1 file changed, 2 insertions(+) diff --git a/src/reqpool.c b/src/reqpool.c index 86acf96c..b634edeb 100644 --- a/src/reqpool.c +++ b/src/reqpool.c @@ -184,6 +184,8 @@ request_reset_ex (request_st * const r) buffer_clear(&r->uri.authority); buffer_reset(&r->uri.path); buffer_reset(&r->uri.query); + buffer_reset(&r->physical.path); + buffer_reset(&r->physical.rel_path); buffer_reset(&r->target_orig); buffer_reset(&r->target); /*(see comments in request_reset())*/ buffer_reset(&r->pathinfo); /*(see comments in request_reset())*/