Page MenuHomeMiraheze

Varnish wiping Transfer-Encoding leading into slowness
Closed, ResolvedPublic


Special:CentralAutoLogin/(start|checkLoggedIn) and such (I thought this happens when saving pages too) send 302 responses with a Location header and a Transfer-Encoding, but without a Content-Length header. This is correct behaviour, but due to this bug, Transfer-Encoding is being wiped by Varnish, with as result nginx and curl are waiting 5 seconds for a response before they move on.

The result is that responses from nginx are being very slow. Solution seems to use the external APT repo.

Event Timeline

This was actually never really a problem for nginx, until I set proxy_http_version 1.1; and proxy_set_header Connection ""; for all proxy instances.

As a temp fix until Varnish has been upgraded, I'll revert that.

Southparkfan lowered the priority of this task from High to Low.May 9 2016, 16:46
Redtmr1 claimed this task.
Void removed Redtmr1 as the assignee of this task.
Void added subscribers: Redtmr1, Void.

No indication that this has been fixed

John subscribed.

Stretch has Varnish 5 which seems to be a version where a fix for this has been applied.

We have upgraded cp2, cp4 and cp5 to stretch which has varnish 5 now.

John claimed this task.

Wording implies V5 is a fix without further action.