You are viewing a plain text version of this content. The canonical link for it is here.
Posted to test-cvs@httpd.apache.org by gb...@apache.org on 2001/11/13 19:54:53 UTC
cvs commit: httpd-test/perl-framework/c-modules/test_rwrite mod_test_rwrite.c
gbenson 01/11/13 10:54:53
Modified: perl-framework/c-modules/echo_post mod_echo_post.c
perl-framework/c-modules/test_rwrite mod_test_rwrite.c
Log:
Send headers when used with Apache 1.3
Revision Changes Path
1.8 +4 -0 httpd-test/perl-framework/c-modules/echo_post/mod_echo_post.c
Index: mod_echo_post.c
===================================================================
RCS file: /home/cvs/httpd-test/perl-framework/c-modules/echo_post/mod_echo_post.c,v
retrieving revision 1.7
retrieving revision 1.8
diff -u -r1.7 -r1.8
--- mod_echo_post.c 2001/11/09 16:52:41 1.7
+++ mod_echo_post.c 2001/11/13 18:54:53 1.8
@@ -37,6 +37,10 @@
return OK;
}
+#ifdef APACHE1
+ ap_send_http_header(r);
+#endif
+
if (r->args) {
ap_rprintf(r, "%ld:", r->remaining);
}
1.5 +4 -0 httpd-test/perl-framework/c-modules/test_rwrite/mod_test_rwrite.c
Index: mod_test_rwrite.c
===================================================================
RCS file: /home/cvs/httpd-test/perl-framework/c-modules/test_rwrite/mod_test_rwrite.c,v
retrieving revision 1.4
retrieving revision 1.5
diff -u -r1.4 -r1.5
--- mod_test_rwrite.c 2001/10/22 10:46:36 1.4
+++ mod_test_rwrite.c 2001/11/13 18:54:53 1.5
@@ -26,6 +26,10 @@
remaining = atol(r->args);
}
+#ifdef APACHE1
+ ap_send_http_header(r);
+#endif
+
fprintf(stderr, "[mod_test_rwrite] going to echo %ld bytes\n",
remaining);