cURL / Mailing Lists / curl-library / Single Mail

curl-library

Re: Pipelining and POST requests

From: Daniel Stenberg <daniel_at_haxx.se>
Date: Sun, 4 Mar 2012 22:39:55 +0100 (CET)

On Mon, 27 Feb 2012, ru-17 wrote:

> I'm very curious why does pipeline is enabled only for GET and HEAD types.

Because of this quote:

RFC 2616 section 8.1.2.2 Pipelining:

    Clients SHOULD NOT pipeline requests using non-idempotent methods or
    non-idempotent sequences of methods (see section 9.1.2). Otherwise, a
    premature termination of the transport connection could lead to
    indeterminate results. A client wishing to send a non-idempotent
    request SHOULD wait to send that request until it has received the
    response status for the previous request.

-- 
  / daniel.haxx.se
-------------------------------------------------------------------
List admin: http://cool.haxx.se/list/listinfo/curl-library
Etiquette:  http://curl.haxx.se/mail/etiquette.html
Received on 2012-03-04