Home » XML » XML_Parser » Bug #2451
Socket timeout
Details
| Request #2451 | Socket timeout |
|---|---|
| Submitted | 2004-10-04 21:10 UTC |
| From | eh at escio dot no |
| Assigned | schst |
| Status | Wont fix |
| Package | XML_Parser |
| PHP Version | 4.3.7 |
| OS | WIn XP |
| Roadmaps | (Not assigned) |
Comments
[2004-10-04 21:10 UTC] eh at escio dot no
Description:
------------
XML_Parser::setInputFile will try to fopen for default_socket_timeout seconds (from php.ini). When working with remote files it should be possible to set a shorter timeout-period in case the remote resource is not available - or be other means do more errorchecking for remote connections.
Suggest to add method for setting timeout period (default: use default_socket_timeout from php.ini):
setTimeoutPeriod($timeout)