* [ANN] raindrops 0.10.0 - minor feature updates
@ 2012-06-19 8:33 4% Eric Wong
0 siblings, 0 replies; 3+ results
From: Eric Wong @ 2012-06-19 8:33 UTC (permalink / raw)
To: raindrops
Changes:
Improvements to the Unix domain socket handling and small
bugfixes throughout.
Support for the "unix_diag" facility in Linux 3.3+ is planned
but not yet implemented (patches to raindrops@librelist.org
appreciated)
Brian Corrigan (1):
resolve symlinks to Unix domain sockets
Eric Wong (6):
unix_listener_stats follows and remembers symlinks
middleware/proxy: favor __send__ for method dispatch
unix: show zero-value stats for idle listeners
test_watcher: fix incorrect request/date comparison
watcher: sort index of listener listing
watcher: do not require Rack::Head for HEAD response
See "git log v0.9.0..v0.10.0" for full details
* http://raindrops.bogomips.org/
* raindrops@librelist.org
* git://bogomips.org/raindrops.git
* http://raindrops.bogomips.org/NEWS.atom.xml
--
Eric Wong
^ permalink raw reply [relevance 4%]
* [PATCH 0/3] preparing for raindrops 0.10.0
@ 2012-06-18 21:20 4% Eric Wong
2012-06-18 21:20 7% ` [PATCH 3/3] watcher: do not require Rack::Head for HEAD response Eric Wong
0 siblings, 1 reply; 3+ results
From: Eric Wong @ 2012-06-18 21:20 UTC (permalink / raw)
To: raindrops
A few more minor changes pushed to master of git://bogomips.org/raindrops
Eric Wong (3):
test_watcher: fix incorrect request/date comparison
watcher: sort index of listener listing
watcher: do not require Rack::Head for HEAD response
Feedback/comments greatly appreciated. I'll probably tag the release
tonight if everything goes well.
^ permalink raw reply [relevance 4%]
* [PATCH 3/3] watcher: do not require Rack::Head for HEAD response
2012-06-18 21:20 4% [PATCH 0/3] preparing for raindrops 0.10.0 Eric Wong
@ 2012-06-18 21:20 7% ` Eric Wong
0 siblings, 0 replies; 3+ results
From: Eric Wong @ 2012-06-18 21:20 UTC (permalink / raw)
To: raindrops
Rack webservers are not guaranteed to include Rack::Head in the
middleware stack. Watcher is a standalone app, so it cannot
rely on a framework which automatically includes Rack::Head.
---
lib/raindrops/watcher.rb | 6 +++++-
1 file changed, 5 insertions(+), 1 deletion(-)
diff --git a/lib/raindrops/watcher.rb b/lib/raindrops/watcher.rb
index 5493374..43c30ef 100644
--- a/lib/raindrops/watcher.rb
+++ b/lib/raindrops/watcher.rb
@@ -143,8 +143,12 @@ class Raindrops::Watcher
def call(env)
@start.synchronize { @thr ||= aggregator_thread(env["rack.logger"]) }
case env["REQUEST_METHOD"]
- when "HEAD", "GET"
+ when "GET"
get env
+ when "HEAD"
+ r = get(env)
+ r[2] = []
+ r
when "POST"
post env
else
--
1.7.11.rc0.55.gb2478aa
^ permalink raw reply related [relevance 7%]
Results 1-3 of 3 | reverse | options above
-- pct% links below jump to the message on this page, permalinks otherwise --
2012-06-18 21:20 4% [PATCH 0/3] preparing for raindrops 0.10.0 Eric Wong
2012-06-18 21:20 7% ` [PATCH 3/3] watcher: do not require Rack::Head for HEAD response Eric Wong
2012-06-19 8:33 4% [ANN] raindrops 0.10.0 - minor feature updates Eric Wong
Code repositories for project(s) associated with this public inbox
https://yhbt.net/raindrops.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).