On Tue, July 7, 2009 4:48 am, Hannes Magnusson wrote: > On Thu, Jul 2, 2009 at 01:01, Brian A. > Seklecki<sekle...@noc.cfi.pgh.pa.us> wrote: >> All: >> >> Perhaps we should clarify the socket tuneables such as: >> >> ; Default timeout for socket based streams (seconds) >> default_socket_timeout = 60 >> >> These are slightly ambiguous. e.g., we should clarify connect() >> timeouts v.s. "idle" timeouts. > > Anyone that knows the answer to this?
IIRC: The one in php.ini is for "connect" timeout. The one you pass in as an arg is for "idle" timeout. So to make the connection time out in a reasonable time-frame (60 seconds ain't it) you need to $old = set_ini(); open(); set_ini($old); -- Some people ask for gifts here. I just want you to buy an Indie CD for yourself: http://cdbaby.com/search/from/lynch -- PHP Internals - PHP Runtime Development Mailing List To unsubscribe, visit: http://www.php.net/unsub.php