Fwd: Backend handling of Expect: 100-Continue header

Igor Sysoev igor at sysoev.ru
Mon Jul 18 15:17:09 UTC 2011


On Mon, Jul 18, 2011 at 03:48:51PM +0200, Kamil Gorlo wrote:
> Hi guys,
> 
> I am forwarding questions from my friend (it seems that he has some
> problems with posting to this group). Hope it's OK for you.

He should subscribe to the list to eb able to write here.
Currently his message was bounced.

> Cheers,
> Kamil
> 
> ---------- Forwarded message ----------
> From: Łukasz Osipiuk <lukasz at osipiuk.net>
> Date: Mon, Jul 18, 2011 at 3:46 PM
> Subject: Fwd: Backend handling of Expect: 100-Continue header
> To: Kamil Gorlo <kgorlo at gmail.com>
> 
> 
> ---------- Forwarded message ----------
> From: Łukasz Osipiuk <lukasz at osipiuk.net>
> Date: Mon, Jul 18, 2011 at 15:25
> Subject: Backend handling of Expect: 100-Continue header
> To: nginx at nginx.org
> 
> 
> Hi!
> 
> I searched through archives and I see that topic appeared on the list
> in the past but I did not find
> any concrete answers.
> 
> We use nginx to proxy large PUT (100M+) requests to backend servers.
> When issuing an request clients sets "Expect: 100-Continue" header.
> 
> We noticed that nginx does not forward request to backend server until
> it consumes it completely.
> That is not what we want.
> 
> 1. We need to disable automatic 100-Continue handling in nginx.
> Instead we need nginx to forward headers to backend server and let it
> determine if 100 Continue or final error code should be returned to
> client.
> 2. We need to disable request body buffering as we have upload request
> resuming implemented on the backend tier.
> 
> Are above achievable in current nginx version (maybe with some 3rd
> party modules)? AFAIK mogilefs module proxies uploaded file directly
> to backend servers withouth buffering.

Currently nginx does not support this, because it has been designed
as accelerator to minimize backend interaction with a client.


-- 
Igor Sysoev



More information about the nginx mailing list