cvs: phpdoc /en/features connection-handling.xml

From: Date: Wed, 29 Dec 2004 11:15:06 +0000
Subject: cvs: phpdoc /en/features connection-handling.xml
Groups: php.doc 
Request: Send a blank email to phpdoc+get-969365640@lists.php.net to get a copy of this message
vrana Wed Dec 29 06:15:06 2004 EDT Modified files: /phpdoc/en/features connection-handling.xml Log: connection_timeout() is deprecated (bug #31009) http://cvs.php.net/diff.php/phpdoc/en/features/connection-handling.xml?r1=1.15&r2=1.16&ty=u Index: phpdoc/en/features/connection-handling.xml diff -u phpdoc/en/features/connection-handling.xml:1.15 phpdoc/en/features/connection-handling.xml:1.16 --- phpdoc/en/features/connection-handling.xml:1.15 Thu May 20 18:40:42 2004 +++ phpdoc/en/features/connection-handling.xml Wed Dec 29 06:15:05 2004 @@ -1,5 +1,5 @@ <?xml version="1.0" encoding="iso-8859-1"?> -<!-- $Revision: 1.15 $ --> +<!-- $Revision: 1.16 $ --> <chapter id="features.connection-handling"> <title>Connection handling</title> @@ -56,8 +56,8 @@ disconnect case, if a shutdown function has been registered it will be called. Within this shutdown function you can check to see if a timeout caused the shutdown function to be called by calling the - <function>connection_timeout</function> function. This function will - return &true; if a timeout caused the shutdown function to be called.</simpara> + <function>connection_status</function> function. This function will + return 2 if a timeout caused the shutdown function to be called.</simpara> <simpara> One thing to note is that both the ABORTED and the TIMEOUT states @@ -66,12 +66,8 @@ a user may have broken the connection, but the script will keep running. If it then hits the time limit it will be aborted and your shutdown function, if any, will be called. At this point - you will find that <function>connection_timeout</function> - and <function>connection_aborted</function> return &true;. - You can also check both states in a single call by using the - <function>connection_status</function>. This function returns a - bitfield of the active states. So, if both states are active it - would return 3, for example.</simpara> + you will find that <function>connection_status</function> + returns 3. </chapter>

« previous php.doc (#969365640) next »