Permalink
Browse files

Specify the default socket timeout value in seconds (instead of null).

Bug: 18335
  • Loading branch information...
jparise committed Mar 11, 2011
1 parent 64654ec commit aece90b6d20e1c1bff0aa719bb2a0ed0423172f0
Showing with 2 additions and 1 deletion.
  1. +1 −1 SMTP.php
  2. +1 −0 package.xml
View
@@ -161,7 +161,7 @@ class Net_SMTP
* @since 1.0
*/
function Net_SMTP($host = null, $port = null, $localhost = null,
- $pipelining = false, $timeout = null)
+ $pipelining = false, $timeout = 0)
{
if (isset($host)) {
$this->host = $host;
View
@@ -31,6 +31,7 @@
</stability>
<license uri="http://www.php.net/license/3_01.txt">PHP License</license>
<notes>- Fixing SASL proxy authentication for DIGEST-MD5. (Bug 17538)
+- Fixing the default socket timeout. (Bug 18335)
</notes>
<contents>
<dir baseinstalldir="Net" name="/">

0 comments on commit aece90b

Please sign in to comment.