summaryrefslogtreecommitdiff
path: root/modules/http2/h2_io.c
diff options
context:
space:
mode:
Diffstat (limited to 'modules/http2/h2_io.c')
-rw-r--r--modules/http2/h2_io.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/modules/http2/h2_io.c b/modules/http2/h2_io.c
index a1d9eff317..6bd2b83739 100644
--- a/modules/http2/h2_io.c
+++ b/modules/http2/h2_io.c
@@ -52,7 +52,7 @@ void h2_io_set_response(h2_io *io, h2_response *response)
AP_DEBUG_ASSERT(io->pool);
AP_DEBUG_ASSERT(response);
AP_DEBUG_ASSERT(!io->response);
- io->response = h2_response_copy(io->pool, response);
+ io->response = h2_response_clone(io->pool, response);
if (response->rst_error) {
h2_io_rst(io, response->rst_error);
}