httpd-cvs mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From cove...@apache.org
Subject svn commit: r1610833 - /httpd/test/framework/trunk/c-modules/echo_post_chunk/mod_echo_post_chunk.c
Date Tue, 15 Jul 2014 20:09:28 GMT
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



Mime
View raw message