Apache Request findet kein Ende

Apache, Lighttpd, nginx, Cherokee
cye
Posts: 144
Joined: 2003-03-27 19:18
Location: Bayerischer Wald
 

Apache Request findet kein Ende

Post by cye »

Hi,

ich habe auf einem Windows Rechner XAMP mit einem simplen Script laufen:

Code: Select all

<?php
  echo "123;  sleep(600);
?>
wenn ich dieses Script von einem anderen Rechner via wget ausführe,
dann bleibt wget bis zum timeout stehen (timeout höher als 600: 10 Minuten eingestellt)

Code: Select all

HTTP request sent, awaiting response...
warum beendet sich der Request nicht, obwohl das Script schon lange fertig ist ...
User avatar
Joe User
Project Manager
Project Manager
Posts: 11183
Joined: 2003-02-27 01:00
Location: Hamburg
 

Re: Apache Request findet kein Ende

Post by Joe User »

Lesen (insbesondere die Kommentare) und beachten:
http://www.php.net/manual/en/function.flush.php
http://www.php.net/manual/en/function.ob-flush.php


Tippfehler? (Beim echo fehlt ein Hochkomma)
PayPal.Me/JoeUserFreeBSD Remote Installation
Wings for LifeWings for Life World Run

„If there’s more than one possible outcome of a job or task, and one
of those outcomes will result in disaster or an undesirable consequence,
then somebody will do it that way.“ -- Edward Aloysius Murphy Jr.