yahns Ruby server user/dev discussion
 help / color / mirror / code / Atom feed
* [PATCH 0/3] another round of proxy_pass fixes
@ 2016-07-05 13:50 Eric Wong
  2016-07-05 13:50 ` [PATCH 1/3] proxy_pass: avoid TOCTTOU race when unbuffering, too Eric Wong
                   ` (2 more replies)
  0 siblings, 3 replies; 4+ messages in thread
From: Eric Wong @ 2016-07-05 13:50 UTC (permalink / raw)
  To: yahns-public

I really hope this will be the last round of critical fixes :)

Stress-tested numerous times on a yet-to-be-public 800M+ git
repo over dumb HTTP cloning:

	GIT_SMART_HTTP=0 git clone (client)
	|
	v
	yahns HTTP/HTTPS proxy_pass(proxy_buffering: false)
	|
	v
	varnish 4.0.2 (random chunks results,
		       even given Content-Length :p)
	|
	v
	static file server (with some dynamic parts)

Eric Wong (3):
      proxy_pass: avoid TOCTTOU race when unbuffering, too
      proxy_pass: avoid accessing logger in env after hijacking
      proxy_pass: avoid stuck responses in "proxy_buffering: false"

 lib/yahns/proxy_http_response.rb | 8 +++-----
 lib/yahns/wbuf_lite.rb           | 8 ++++++--
 2 files changed, 9 insertions(+), 7 deletions(-)

P.S. and git dumb HTTP cloning could probably be better about
memory/CPU usage...


^ permalink raw reply	[flat|nested] 4+ messages in thread

end of thread, other threads:[~2016-07-05 13:50 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2016-07-05 13:50 [PATCH 0/3] another round of proxy_pass fixes Eric Wong
2016-07-05 13:50 ` [PATCH 1/3] proxy_pass: avoid TOCTTOU race when unbuffering, too Eric Wong
2016-07-05 13:50 ` [PATCH 2/3] proxy_pass: avoid accessing logger in env after hijacking Eric Wong
2016-07-05 13:50 ` [PATCH 3/3] proxy_pass: avoid stuck responses in "proxy_buffering: false" Eric Wong

Code repositories for project(s) associated with this public inbox

	https://yhbt.net/yahns.git/

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).