php.net |  support |  documentation |  report a bug |  advanced search |  search howto |  statistics |  random bug |  login
Request #10262 fgets/fputs timeout
Submitted: 2001-04-10 11:10 UTC Modified: 2002-11-28 06:07 UTC
Votes:1
Avg. Score:5.0 ± 0.0
Reproduced:0 of 1 (0.0%)
From: richard at heyes-computing dot net Assigned:
Status: Closed Package: Feature/Change Request
PHP Version: 4.0.4pl1 OS: Any
Private report: No CVE-ID: None
Welcome back! If you're the original bug submitter, here's where you can edit the bug or add additional notes.
If you forgot your password, you can retrieve your password here.
Password:
Status:
Package:
Bug Type:
Summary:
From: richard at heyes-computing dot net
New email:
PHP Version: OS:

 

 [2001-04-10 11:10 UTC] richard at heyes-computing dot net
How about an optional timeout argument on fgets/fputs in case connections are taking too long to respond?

Or even better a set_timeout() function which could be given a function to run, a timeout and the arguments to pass to said function which would return if the timeout is reached.

Patches

Pull Requests

History

AllCommentsChangesGit/SVN commitsRelated reports
 [2002-11-28 06:07 UTC] wez@php.net
Thank you for your bug report. This issue has already been fixed
in the latest released version of PHP, which you can download at 
http://www.php.net/downloads.php


 
PHP Copyright © 2001-2025 The PHP Group
All rights reserved.
Last updated: Thu May 08 00:01:29 2025 UTC