]> git.ipfire.org Git - thirdparty/apache/httpd.git/commit
mod_h2: Make h2_headers_create() constant and simplfy code using it.
authorYann Ylavic <ylavic@apache.org>
Mon, 7 Jun 2021 15:11:10 +0000 (15:11 +0000)
committerYann Ylavic <ylavic@apache.org>
Mon, 7 Jun 2021 15:11:10 +0000 (15:11 +0000)
commit47c3dc06b762834dd5c5b7d385f385ac4232eb01
tree1835f4ffdc7160d826c9f13a7f354ad9a09429a7
parentacd6d0126718688c16fb093ea40efd2297997c78
mod_h2: Make h2_headers_create() constant and simplfy code using it.

Since h2_headers_create() copies its passed in tables, make them const and
simplify the callers.

Thus create_response() in h2_from_h1 can use r->headers_out directly without
copying.

git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@1890564 13f79535-47bb-0310-9956-ffa450edef68
modules/http2/h2_from_h1.c
modules/http2/h2_headers.c
modules/http2/h2_headers.h