unicorn Ruby/Rack server user+dev discussion/patches/pulls/bugs/help
 help / color / mirror / code / Atom feed
Search results ordered by [date|relevance]  view[summary|nested|Atom feed]
thread overview below | download mbox.gz: |
* [PATCH 2/2] http_request: drop conditional assignment for hijack
  2013-02-09  1:16  5% What's cooking in unicorn.git Eric Wong
@ 2013-02-09  1:16  7% ` Eric Wong
  0 siblings, 0 replies; 2+ results
From: Eric Wong @ 2013-02-09  1:16 UTC (permalink / raw)
  To: mongrel-unicorn

As far as I can tell, this was never necessary.
---
 lib/unicorn/http_request.rb | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/lib/unicorn/http_request.rb b/lib/unicorn/http_request.rb
index 681c0ca..6b20431 100644
--- a/lib/unicorn/http_request.rb
+++ b/lib/unicorn/http_request.rb
@@ -108,7 +108,7 @@ class Unicorn::HttpParser
     end
 
     def hijack_setup(e, socket)
-      e[RACK_HIJACK] = proc { e[RACK_HIJACK_IO] ||= socket }
+      e[RACK_HIJACK] = proc { e[RACK_HIJACK_IO] = socket }
     end
   else
     # old Rack, do nothing.
-- 
1.8.1.2.526.gf51a757

_______________________________________________
Unicorn mailing list - mongrel-unicorn@rubyforge.org
http://rubyforge.org/mailman/listinfo/mongrel-unicorn
Do not quote signatures (like this one) or top post when replying

^ permalink raw reply related	[relevance 7%]

* What's cooking in unicorn.git
@ 2013-02-09  1:16  5% Eric Wong
  2013-02-09  1:16  7% ` [PATCH 2/2] http_request: drop conditional assignment for hijack Eric Wong
  0 siblings, 1 reply; 2+ results
From: Eric Wong @ 2013-02-09  1:16 UTC (permalink / raw)
  To: mongrel-unicorn

I've pushed out a few minor changes to master, nothing major.

	git clone git://bogomips.org/unicorn.git

Eric Wong (3):
      auto-generate Unicorn::Const::UNICORN_VERSION
      http_request: remove FIXME for rack.version clarification
      http_request: drop conditional assignment for hijack
_______________________________________________
Unicorn mailing list - mongrel-unicorn@rubyforge.org
http://rubyforge.org/mailman/listinfo/mongrel-unicorn
Do not quote signatures (like this one) or top post when replying

^ permalink raw reply	[relevance 5%]

Results 1-2 of 2 | reverse | options above
-- pct% links below jump to the message on this page, permalinks otherwise --
2013-02-09  1:16  5% What's cooking in unicorn.git Eric Wong
2013-02-09  1:16  7% ` [PATCH 2/2] http_request: drop conditional assignment for hijack Eric Wong

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

	https://yhbt.net/unicorn.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).