You are viewing a plain text version of this content. The canonical link for it is here.
Posted to cvs@httpd.apache.org by co...@apache.org on 2014/07/15 22:09:28 UTC

svn commit: r1610833 - /httpd/test/framework/trunk/c-modules/echo_post_chunk/mod_echo_post_chunk.c

Author: covener
Date: Tue Jul 15 20:09:28 2014
New Revision: 1610833

URL: http://svn.apache.org/r1610833
Log:
use r->trailers_in in latest trunk/2.5

Modified:
    httpd/test/framework/trunk/c-modules/echo_post_chunk/mod_echo_post_chunk.c

Modified: httpd/test/framework/trunk/c-modules/echo_post_chunk/mod_echo_post_chunk.c
URL: http://svn.apache.org/viewvc/httpd/test/framework/trunk/c-modules/echo_post_chunk/mod_echo_post_chunk.c?rev=1610833&r1=1610832&r2=1610833&view=diff
==============================================================================
--- httpd/test/framework/trunk/c-modules/echo_post_chunk/mod_echo_post_chunk.c (original)
+++ httpd/test/framework/trunk/c-modules/echo_post_chunk/mod_echo_post_chunk.c Tue Jul 15 20:09:28 2014
@@ -67,6 +67,8 @@ static int echo_post_chunk_handler(reque
 
 #ifdef APACHE1
     trailer_header = ap_table_get(r->headers_in, "X-Chunk-Trailer");
+#elif (MODULE_MAGIC_COOKIE >= 0x41503235UL) && AP_MODULE_MAGIC_AT_LEAST(20140627,5)
+    trailer_header = apr_table_get(r->trailers_in, "X-Chunk-Trailer");
 #else
     trailer_header = apr_table_get(r->headers_in, "X-Chunk-Trailer");
 #endif