yahns Ruby server user/dev discussion
 help / color / mirror / code / Atom feed
* [PATCH] extras/proxy_pass: remove unused CHUNK_SIZE constant
@ 2015-03-12 23:02 Eric Wong
  0 siblings, 0 replies; only message in thread
From: Eric Wong @ 2015-03-12 23:02 UTC (permalink / raw)
  To: yahns-public

It was never used.
---
 extras/proxy_pass.rb | 1 -
 1 file changed, 1 deletion(-)

diff --git a/extras/proxy_pass.rb b/extras/proxy_pass.rb
index 0bec4ee..ac01c34 100644
--- a/extras/proxy_pass.rb
+++ b/extras/proxy_pass.rb
@@ -16,7 +16,6 @@ require 'timeout'
 # cheap on GNU/Linux...
 # This is totally untested but currently doesn't serve anything important.
 class ProxyPass # :nodoc:
-  CHUNK_SIZE = 16384
   ERROR_502 = [ 502, {'Content-Length'=>'0','Content-Type'=>'text/plain'}, [] ]
 
   class ConnPool
-- 
EW

^ permalink raw reply related	[flat|nested] only message in thread

only message in thread, other threads:[~2015-03-12 23:02 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2015-03-12 23:02 [PATCH] extras/proxy_pass: remove unused CHUNK_SIZE constant 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).