PEAR is archived and read-only

This mirror preserves historical PEAR package releases and metadata so existing references remain available.

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);