httpd-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Jacob Coby" <jc...@listingbook.com>
Subject Re: [users@httpd] Intentional time out?
Date Thu, 29 May 2003 20:01:38 GMT
> On Thursday, May 29, 2003, at 10:09  AM, Charlie Farinella wrote:
>
> > For testing purposes I need to access a page that will cause the
> > browser
> > to time out.  I'm dreaming up ways to do it, but thought there may be a
> > simple answer out here.

With php (or other similar languages), you could do something like:

<?php
set_time_limit(0);

while(1);
?>

That might cause the server to hang, I dunno.  You could also just make it
sit idle for 2 min and then return.

-Jacob


---------------------------------------------------------------------
The official User-To-User support forum of the Apache HTTP Server Project.
See <URL:http://httpd.apache.org/userslist.html> for more info.
To unsubscribe, e-mail: users-unsubscribe@httpd.apache.org
   "   from the digest: users-digest-unsubscribe@httpd.apache.org
For additional commands, e-mail: users-help@httpd.apache.org


Mime
View raw message