Gets or sets a timeout of the HTTP connection.

Syntax

PHP

public function getConnectionTimeout() {
}

public function setConnectionTimeout($value) {
}

Property Value

Type: integer

The HTTP timeout (in milliseconds). If 0, timeout is infinite (i.e. disabled).

Default value is 0.

Remarks

When timeout expires, the Image Uploader assumes that the connection has been lost and terminates the upload process.