PEAR is discontinued

This is a static archive preserving historical releases and metadata. No new packages or updates will be published. For updates to existing packages, or to publish new packages, please use Composer and Packagist.

Home » Networking » Net_SMTP » Bug #982

Persistent connections disabled

Details

Submitted2004-03-09 15:35 UTC
Fromash at bigfoot dot de
Assignedjon
StatusClosed
PackageNet_SMTP
PHP Version5.0.0b4 (beta4)
OSWindows NT HAL 5.1 build 2600
Roadmaps(Not assigned)

Comments

[2004-03-09 15:35 UTC] ash at bigfoot dot de

Description:
------------
Hello,
persistent connections are programmatically disabled in function connect:

function connect($timeout = null) {
$result = $this->_socket->connect($this->host, $this->port, false, $timeout);

I propose the following code.

Keep up the good work,
René

Reproduce code:
---------------
function connect($timeout = null, $persistent = FALSE) {
$result = $this->_socket->connect($this->host, $this->port, $persistent, $timeout);