Reflection
Reflection

Reputation: 2106

How can HTTP server application reject an HTTP Pipeline request gracefully?

Is there a specific (or agreed upon) HTTP response message (or another action except for disconnection) to clarify that the server does not accept pipelined HTTP requests?

I'm looking for something that will make the client stop pipelining it's requests, and to send each request separately.

If so, what is it? Thank you!

Upvotes: 3

Views: 1114

Answers (2)

regilero
regilero

Reputation: 30536

I'm a bit late on this one :-)

For reference the clean way of rejecting a pipelined connection is to add a Connection: close header on the first and unique response.

An HTTP client receiving a close on the first response of a pipeline MUST replay all remaining queries, and will certainly choose to stop pipelining.

Upvotes: 4

Fisherman
Fisherman

Reputation: 6131

i think you should execute some command on your server ..

See Here Look at the comment also

Upvotes: 0

Related Questions