www-apache-bugdb mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Wolfram Kahl <k...@cas.mcmaster.ca>
Subject mod_cgi/9983: ``nph-'' ignored, destroying server-push.
Date Wed, 27 Feb 2002 22:48:35 GMT

>Number:         9983
>Category:       mod_cgi
>Synopsis:       ``nph-'' ignored, destroying server-push.
>Confidential:   no
>Severity:       non-critical
>Priority:       medium
>Responsible:    apache
>State:          open
>Class:          sw-bug
>Submitter-Id:   apache
>Arrival-Date:   Wed Feb 27 14:50:00 PST 2002
>Originator:     kahl@cas.mcmaster.ca
>Release:        2.0.32

Linux demokrit 2.4.16-4GB #1 Wed Dec 19 09:08:41 GMT 2001 i686 unknown

SuSE 7.3 with updates up to last week

gcc-2.95.3, glibc-2.2.4-64

The output of a CGI program called nph-cgi is prefixed
with full set of headers, in particular with Content-Length.
For the calculation of the latter, apache has to wait for all
parts of the server-push x-multipart-replace to have been produced.

Therefore, the server push effect is destroyed,
and the ``script'' response is display as text/plain,
including the ``script''-produced headers.

The same ``script'' works properly in apache-1.3.23
Probably any server-push script does it.


has Linux i386 binary, OCaml (http://caml.inria.fr/) source
and tar.gz containing both (an my ./configure call):

-rwxr-xr-x         266665 Feb 27 17:24 nph-push*
-rw-r--r--          2691 Feb 27 17:23 push.ml
-rw-r--r--         102715 Feb 27 17:28 push.tar.gz
-rw-r--r--            324 Feb 21 12:10 config1
I verified that mod_cgid is taking the ``if(nph)'' branch,
so somewhere downstream from that something ignores
the fact that the script output comes with headers.
 [In order for any reply to be added to the PR database, you need]
 [to include <apbugs@Apache.Org> in the Cc line and make sure the]
 [subject line starts with the report component and number, with ]
 [or without any 'Re:' prefixes (such as "general/1098:" or      ]
 ["Re: general/1098:").  If the subject doesn't match this       ]
 [pattern, your message will be misfiled and ignored.  The       ]
 ["apbugs" address is not added to the Cc line of messages from  ]
 [the database automatically because of the potential for mail   ]
 [loops.  If you do not include this Cc, your reply may be ig-   ]
 [nored unless you are responding to an explicit request from a  ]
 [developer.  Reply only with text; DO NOT SEND ATTACHMENTS!     ]

View raw message