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/08/22 22:38:58 UTC

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

Author: covener
Date: Fri Aug 22 20:38:58 2014
New Revision: 1619925

URL: http://svn.apache.org/r1619925
Log:
support reading trailers properly in 2.2.29

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=1619925&r1=1619924&r2=1619925&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 Fri Aug 22 20:38:58 2014
@@ -69,6 +69,8 @@ static int echo_post_chunk_handler(reque
     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");
+#elif (MODULE_MAGIC_COOKIE == 0x41503232UL) && AP_MODULE_MAGIC_AT_LEAST(20051115,36)
+    trailer_header = apr_table_get(r->trailers_in, "X-Chunk-Trailer");
 #else
     trailer_header = apr_table_get(r->headers_in, "X-Chunk-Trailer");
 #endif