You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Has anyone tried to use gzipping and martini in a reverse proxy configuration? I.e I have two servers A and B where A acts as a proxy to B both using martini. I would like to gzip requests both internally and externally but gzipping fails at B while defer closing the gzipResponseWriter with an error:
Conn.Write wrote more than the declared Content-Length
Has anyone seen it? It seems like there is something wrong with removing Content-Length from headers logic.
Marek
PS/I will try to prepare a reproducible code soon.
The text was updated successfully, but these errors were encountered:
Hi,
Has anyone tried to use gzipping and martini in a reverse proxy configuration? I.e I have two servers A and B where A acts as a proxy to B both using martini. I would like to gzip requests both internally and externally but gzipping fails at B while defer closing the gzipResponseWriter with an error:
Conn.Write wrote more than the declared Content-Length
Has anyone seen it? It seems like there is something wrong with removing Content-Length from headers logic.
Marek
PS/I will try to prepare a reproducible code soon.
The text was updated successfully, but these errors were encountered: