Newsgroups: php.internals Path: news.php.net Xref: news.php.net php.internals:44811 Return-Path: Mailing-List: contact internals-help@lists.php.net; run by ezmlm Delivered-To: mailing list internals@lists.php.net Received: (qmail 96560 invoked from network); 8 Jul 2009 01:26:28 -0000 Received: from unknown (HELO lists.php.net) (127.0.0.1) by localhost with SMTP; 8 Jul 2009 01:26:28 -0000 Authentication-Results: pb1.pair.com smtp.mail=kingwez@gmail.com; spf=pass; sender-id=pass Authentication-Results: pb1.pair.com header.from=kingwez@gmail.com; sender-id=pass; domainkeys=bad Received-SPF: pass (pb1.pair.com: domain gmail.com designates 209.85.219.210 as permitted sender) DomainKey-Status: bad X-DomainKeys: Ecelerity dk_validate implementing draft-delany-domainkeys-base-01 X-PHP-List-Original-Sender: kingwez@gmail.com X-Host-Fingerprint: 209.85.219.210 mail-ew0-f210.google.com Received: from [209.85.219.210] ([209.85.219.210:42398] helo=mail-ew0-f210.google.com) by pb1.pair.com (ecelerity 2.1.1.9-wez r(12769M)) with ESMTP id A9/EB-37453-2C5F35A4 for ; Tue, 07 Jul 2009 21:26:27 -0400 Received: by ewy6 with SMTP id 6so220763ewy.23 for ; Tue, 07 Jul 2009 18:26:23 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:mime-version:received:in-reply-to:references :date:message-id:subject:from:to:cc:content-type :content-transfer-encoding; bh=KSRuRY+UITfPVPCCpFR+AVlS9ztRK84h0NByjDMggio=; b=dc/OrPeT64M5cYYTMhm+ui04Q2pKBX8lCCKEGawjDjcoCJP2P3rzjGFOHFLmlcMest 43gNv5iL/aP6C3KhaJg8+uSxk9zSZPnkr0mLfBeHRTYP/mnEnRVm/pX6FQZ5+e2Ix9/r llYdePVXqNB5wHy+jqRq8LfWxQaUxP1BYU+Oo= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :cc:content-type:content-transfer-encoding; b=VbagLmzTQQGskBTadMeMK0vR6X3lWoE9jPJSt/kXK0aEv7a3NcqEEAafR2MKgd73fq kjlro0UyuT8PP+Ej2MN7VQZXtY/5BCEJvVbG9SlfeYxT+cq5Fc49dBMOA5FYlqCS7FD+ 8mlNk0GTHuHH8dDkVK9Rhb5VEFiwG5HHs3si4= MIME-Version: 1.0 Received: by 10.210.132.3 with SMTP id f3mr7950749ebd.41.1247016383832; Tue, 07 Jul 2009 18:26:23 -0700 (PDT) In-Reply-To: <7f3ed2c30907070248w262fdd6fpdc6a87b29aa5ecd7@mail.gmail.com> References: <1246489315.2449.2761.camel@soundwave.ws.pitbpa0.priv.collaborativefusion.com> <7f3ed2c30907070248w262fdd6fpdc6a87b29aa5ecd7@mail.gmail.com> Date: Tue, 7 Jul 2009 21:26:23 -0400 Message-ID: <4e89b4260907071826g3797f33ayab7ac203e82f5d1c@mail.gmail.com> To: Hannes Magnusson Cc: "Brian A. Seklecki" , PHP internals Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable Subject: Re: [PHP-DEV] Socket Timeout Documentation From: kingwez@gmail.com (Wez Furlong) This option sets the default value for the timeout, as though you manually called stream_set_timeout on the stream. The behavior is equivalent to using select() to wait for up to the timeout duration prior to a read or write operation. PHP does not implement "idle" timeouts; that's an application level behavio= r. It should be noted that a timeout in this sense can be a transient condition in the case of a read operation, it does not necessarily indicate that the connection is bad, just that no new data is available within the time allotted. More general streams bits here that may or may not be apparent from the doc= s: http://www.slideshare.net/wezfurlong/php-streams-lucky-dip --Wez. On Tue, Jul 7, 2009 at 5:48 AM, Hannes Magnusson wrote: > On Thu, Jul 2, 2009 at 01:01, Brian A. > Seklecki wrote: >> All: >> >> Perhaps we should clarify the socket tuneables such as: >> >> =A0; Default timeout for socket based streams (seconds) >> =A0default_socket_timeout =3D 60 >> >> These are slightly ambiguous. =A0e.g., we should clarify connect() >> timeouts v.s. "idle" timeouts. > > Anyone that knows the answer to this? > > >> There are at least a dozen tickets open related to timeout behavior and >> a lot of the confusion results of ambiguity in the variable naming >> convention and documentation. > > Could you post the ones you know of here please? > > -Hannes > > -- > PHP Internals - PHP Runtime Development Mailing List > To unsubscribe, visit: http://www.php.net/unsub.php > >