~ubuntu-branches/ubuntu/natty/curl/natty-security

« back to all changes in this revision

Viewing changes to lib/README.pingpong

  • Committer: Bazaar Package Importer
  • Author(s): Bhavani Shankar
  • Date: 2010-06-20 13:56:28 UTC
  • mfrom: (3.4.7 sid)
  • Revision ID: james.westby@ubuntu.com-20100620135628-e30tp9jldq6hq985
Tags: 7.21.0-1ubuntu1
* Merge from debian unstable.  Remaining changes: LP: #596334
  - Keep build deps in main:
    - Drop build dependencies: stunnel, libssh2-1-dev
    - Add build-dependency on openssh-server
    - Drop libssh2-1-dev from libcurl4-openssl-dev's Depends.

Show diffs side-by-side

added added

removed removed

Lines of Context:
 
1
Date: December 5, 2009
 
2
 
 
3
Pingpong
 
4
========
 
5
 
 
6
 Pingpong is just my (Daniel's) jestful collective name on the protocols that
 
7
 share a very similar kind of back-and-forth procedure with command and
 
8
 responses to and from the server. FTP was previously the only protocol in
 
9
 that family that libcurl supported, but when POP3, IMAP and SMTP joined the
 
10
 team I moved some of the internals into a separate pingpong module to be
 
11
 easier to get used by all these protocols to reduce code duplication and ease
 
12
 code re-use between these protocols.
 
13
 
 
14
FTP
 
15
 
 
16
 In 7.20.0 we converted code to use the new pingpong code from previously
 
17
 having been all "native" FTP code.
 
18
 
 
19
POP3
 
20
 
 
21
 There's no support in the documented URL format to specify the exact mail to
 
22
 get, but we support that as the path specified in the URL.
 
23
 
 
24
IMAP
 
25
 
 
26
SMTP
 
27
 
 
28
 There's no official URL syntax defined for SMTP, but we use only the generic
 
29
 one and we provide two additional libcurl options to specify receivers and
 
30
 sender of the actual mail.