~ubuntu-branches/ubuntu/wily/curl/wily

« back to all changes in this revision

Viewing changes to docs/libcurl/opts/CURLOPT_CONNECTTIMEOUT_MS.3

  • Committer: Package Import Robot
  • Author(s): Gianfranco Costamagna
  • Date: 2015-05-28 15:53:47 UTC
  • mfrom: (3.4.56 sid)
  • Revision ID: package-import@ubuntu.com-20150528155347-9m253tuskbpkkd1d
Tags: 7.42.1-2ubuntu1
* Merge from Debian (LP: #1459685). Remaining changes:
  - Drop dependencies not in main:
    + Build-Depends: Drop stunnel4 and libssh2-1-dev.
    + Drop libssh2-1-dev from binary package Depends.
* Dropped patches:
  - debian/patches/CVE-2015-3143.patch: upstream
  - debian/patches/CVE-2015-3148.patch: upstream
  - debian/patches/CVE-2015-3144.patch: upstream
  - debian/patches/CVE-2015-3153.patch: upstream
  - debian/patches/CVE-2014-8150.patch: upstream
  - debian/patches/CVE-2015-3145.patch: upstream
* Dropped the added udeb packages. They were empty since trusty and were
  originally added for LP: #831496, this change is likely not needed any
  more.

Show diffs side-by-side

added added

removed removed

Lines of Context:
5
5
.\" *                            | (__| |_| |  _ <| |___
6
6
.\" *                             \___|\___/|_| \_\_____|
7
7
.\" *
8
 
.\" * Copyright (C) 1998 - 2014, Daniel Stenberg, <daniel@haxx.se>, et al.
 
8
.\" * Copyright (C) 1998 - 2015, Daniel Stenberg, <daniel@haxx.se>, et al.
9
9
.\" *
10
10
.\" * This software is licensed as described in the file COPYING, which
11
11
.\" * you should have received as part of this distribution. The terms
41
41
.SH PROTOCOLS
42
42
All
43
43
.SH EXAMPLE
44
 
TODO
 
44
.nf
 
45
CURL *curl = curl_easy_init();
 
46
if(curl) {
 
47
  curl_easy_setopt(curl, CURLOPT_URL, "http://example.com");
 
48
 
 
49
  /* complete connection within 10000 milliseconds */
 
50
  curl_easy_setopt(curl, CURLOPT_CONNECTTIMEOUT, 10000L);
 
51
 
 
52
  curl_easy_perform(curl);
 
53
}
 
54
.fi
45
55
.SH AVAILABILITY
46
56
Always
47
57
.SH RETURN VALUE