summaryrefslogtreecommitdiffstats
path: root/modules/http2/h2_stream.c
diff options
context:
space:
mode:
authorStefan Eissing <icing@apache.org>2019-06-14 14:01:01 +0200
committerStefan Eissing <icing@apache.org>2019-06-14 14:01:01 +0200
commita7a4ddad17f883981fe1e03c85ca9d2dd62ea750 (patch)
tree7393bbd18bfeda299f68e7adc1d845fc210ca574 /modules/http2/h2_stream.c
parent *) mod_proxy_http2: adding support for handling trailers in both directions... (diff)
downloadapache2-a7a4ddad17f883981fe1e03c85ca9d2dd62ea750.tar.xz
apache2-a7a4ddad17f883981fe1e03c85ca9d2dd62ea750.zip
* mod_http2: adding support for the new trailer tests.
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@1861338 13f79535-47bb-0310-9956-ffa450edef68
Diffstat (limited to 'modules/http2/h2_stream.c')
-rw-r--r--modules/http2/h2_stream.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/modules/http2/h2_stream.c b/modules/http2/h2_stream.c
index 9b7d2c5655..0b2fdb1f6a 100644
--- a/modules/http2/h2_stream.c
+++ b/modules/http2/h2_stream.c
@@ -683,6 +683,8 @@ static apr_status_t add_trailer(h2_stream *stream,
hvalue = apr_pstrndup(stream->pool, value, vlen);
h2_util_camel_case_header(hname, nlen);
apr_table_mergen(stream->trailers, hname, hvalue);
+ ap_log_cerror(APLOG_MARK, APLOG_TRACE2, 0, c,
+ H2_STRM_MSG(stream, "added trailer '%s: %s'"), hname, hvalue);
return APR_SUCCESS;
}