http_setTimeout(3)

http_setTimeout3

Changes the maximum amount of time http fetcher will wait on data.

Usage

#include <http_fetcher.h>

void http_setTimeout(int seconds);

Overview

HTTP Fetcher will wait seconds until timing out. The default value is 30 seconds. If the timeout value elapses without more data from the server, http_fetch will return with an error.

If you pass a value less than 0, reads will not time out.

Return value

http_setTimeout returns no value and should always
succeed.

Releases

Unchanged in 2 releases since Debian 3.0 (Woody).

  1. 3.0–3.1

From libhttpfetcher-dev 1.0.1-3 in Debian 3.1 (Sarge). Parsed by carta from the page's man source.