SMTP Service Extension for Command Pipelining
Voir toute la rfc dans une seule page
Page : 5 / 9
Télécharger le PDF
Auteur(s) :
N. Freed
Classé sous :
Mail,
Transfer,
Tcp,
Protocol,
Transmission,
Control,
Simple,
Smtp-pipe
RFC 2920 SMTP for Command Pipelining September 2000
(7) MUST send all pending responses immediately whenever the local
TCP input buffer is emptied.
(8) MUST NOT make assumptions about commands that are yet to be
received.
(9) MUST NOT flush or otherwise lose the contents of the TCP input
buffer under any circumstances whatsoever.
(10) SHOULD issue response text that indicates, either implicitly
or explicitly, what command the response matches.
The overriding intent of these server requirements is to make it as
easy as possible for servers to conform to these pipelining
extensions.
4. Examples
Consider the following SMTP dialogue that does not use pipelining:
S: <wait for open connection>
C: <open connection to server>
S: 220 Innosoft.com SMTP service ready
C: HELO dbc.mtview.ca.us
S: 250 Innosoft.com
C: MAIL FROM:<mrose@dbc.mtview.ca.us>
S: 250 sender <mrose@dbc.mtview.ca.us> OK
C: RCPT TO:<ned@innosoft.com>
S: 250 recipient <ned@innosoft.com> OK
C: RCPT TO:<dan@innosoft.com>
S: 250 recipient <dan@innosoft.com> OK
C: RCPT TO:<kvc@innosoft.com>
S: 250 recipient <kvc@innosoft.com> OK
C: DATA
S: 354 enter mail, end with line containing only "."
...
C: .
S: 250 message sent
C: QUIT
S: 221 goodbye
The client waits for a server response a total of 9 times in this
simple example. But if pipelining is employed the following dialogue
is possible:
S: <wait for open connection>
C: <open connection to server>
S: 220 innosoft.com SMTP service ready
Freed Standards Track [Page 5]