~ubuntu-branches/ubuntu/precise/curl/precise-proposed

« back to all changes in this revision

Viewing changes to docs/libcurl/curl_easy_cleanup.3

  • Committer: Package Import Robot
  • Author(s): Timo Aaltonen
  • Date: 2011-11-25 17:30:45 UTC
  • mfrom: (3.4.23 sid)
  • Revision ID: package-import@ubuntu.com-20111125173045-2l3ni88jv16kath0
Tags: 7.22.0-3ubuntu1
* Merge from Debian unstable, remaining changes:
  - Drop dependencies not in main:
    + Build-Depends: Drop stunnel4 and libssh2-1-dev.
    + Drop libssh2-1-dev from libcurl4-openssl-dev's Depends.
  - Add new libcurl3-udeb package.

Show diffs side-by-side

added added

removed removed

Lines of Context:
5
5
.\" *                            | (__| |_| |  _ <| |___
6
6
.\" *                             \___|\___/|_| \_\_____|
7
7
.\" *
8
 
.\" * Copyright (C) 1998 - 2007, Daniel Stenberg, <daniel@haxx.se>, et al.
 
8
.\" * Copyright (C) 1998 - 2011, 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
37
37
has kept open until now. Don't call this function if you intend to transfer
38
38
more files.
39
39
 
40
 
Any uses of the \fBhandle\fP after this function has been called are
41
 
illegal. This kills the handle and all memory associated with it!
 
40
Occasionally you may get your progress callback or header callback called from
 
41
within \fIcurl_easy_cleanup(3)\fP (if previously set for the handle using
 
42
\fIcurl_easy_setopt(3)\fP). Like if libcurl decides to shut down the
 
43
connection and the protocol is of a kind that requires a command/response
 
44
sequence before disconnect. Examples of such protocols are FTP, POP3 and IMAP.
 
45
 
 
46
Any uses of the \fBhandle\fP after this function has been called and have
 
47
returned, are illegal. This kills the handle and all memory associated with
 
48
it!
42
49
 
43
50
With libcurl versions prior to 7.17.: when you've called this, you can safely
44
51
remove all the strings you've previously told libcurl to use, as it won't use