Fwd: Backend handling of Expect: 100-Continue header

Kamil Gorlo kgorlo at gmail.com
Mon Jul 18 13:48:51 UTC 2011


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.

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.

Regards, Łukasz Osipiuk


--
Łukasz Osipiuk
mailto:lukasz at osipiuk.net



--
--
Łukasz Osipiuk
mailto:lukasz at osipiuk.net



More information about the nginx mailing list