httpd-bugs mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From bugzi...@apache.org
Subject DO NOT REPLY [Bug 11993] - PDFs served through ProxyPass show up blank
Date Wed, 02 Apr 2003 10:50:32 GMT
DO NOT REPLY TO THIS EMAIL, BUT PLEASE POST YOUR BUG 
RELATED COMMENTS THROUGH THE WEB INTERFACE AVAILABLE AT
<http://nagoya.apache.org/bugzilla/show_bug.cgi?id=11993>.
ANY REPLY MADE TO THIS MESSAGE WILL NOT BE COLLECTED AND 
INSERTED IN THE BUG DATABASE.

http://nagoya.apache.org/bugzilla/show_bug.cgi?id=11993

PDFs served through ProxyPass show up blank





------- Additional Comments From alum@security.gft.com  2003-04-02 10:50 -------
The diff is basically the patch above ;) 
 
--- proxy_http.c.orig   2003-04-02 12:43:15.000000000 +0200 
+++ proxy_http.c        2003-02-03 18:31:50.000000000 +0100 
@@ -1,7 +1,7 @@ 
 /* 
==================================================================== 
  * The Apache Software License, Version 1.1 
  * 
- * Copyright (c) 2000-2002 The Apache Software Foundation.  All rights 
+ * Copyright (c) 2000-2003 The Apache Software Foundation.  All rights 
  * reserved. 
  * 
  * Redistribution and use in source and binary forms, with or without 
@@ -907,16 +907,12 @@ 
 
             /* We need to copy the output headers and treat them as input 
              * headers as well.  BUT, we need to do this before we remove 
-             * TE and C-L, so that they are preserved accordingly for 
+             * TE, so that they are preserved accordingly for 
              * ap_http_filter to know where to end. 
              */ 
             rp->headers_in = apr_table_copy(r->pool, r->headers_out); 
 
-            /* In order for ap_set_keepalive to work properly, we can NOT 
-             * have any length information stored in the output headers. 
-             */ 
             apr_table_unset(r->headers_out,"Transfer-Encoding"); 
-            apr_table_unset(r->headers_out,"Content-Length"); 
 
             ap_log_error(APLOG_MARK, APLOG_DEBUG, 0, r->server, 
                          "proxy: start body send");

---------------------------------------------------------------------
To unsubscribe, e-mail: bugs-unsubscribe@httpd.apache.org
For additional commands, e-mail: bugs-help@httpd.apache.org


Mime
View raw message