mirror of
https://github.com/puma/puma.git
synced 2022-11-09 13:48:40 -05:00
Bug fix for a missed require that didn't show up until ran without Rails. Site updated to announce this.
git-svn-id: svn+ssh://rubyforge.org/var/svn/mongrel/trunk@37 19e92222-5c0b-0410-8929-a290d50e31e9
This commit is contained in:
parent
709ef40013
commit
a18fa951bb
5 changed files with 21 additions and 3 deletions
2
Rakefile
2
Rakefile
|
@ -31,6 +31,6 @@ setup_extension("http11", "http11")
|
|||
|
||||
summary = "A small fast HTTP library and server that runs Rails, Camping, and Nitro apps."
|
||||
test_file = "test/test_ws.rb"
|
||||
setup_gem("mongrel", "0.3.2", "Zed A. Shaw", summary, ['mongrel_rails'], test_file) do |spec|
|
||||
setup_gem("mongrel", "0.3.3", "Zed A. Shaw", summary, ['mongrel_rails'], test_file) do |spec|
|
||||
spec.add_dependency('daemons', '>= 0.4.2')
|
||||
end
|
||||
|
|
|
@ -46,8 +46,16 @@
|
|||
<h4>NEWS</h4>
|
||||
|
||||
<dl>
|
||||
<dt>Feb-13-2006</dt>
|
||||
<dt>Feb-14-2006</dt>
|
||||
<dd>
|
||||
<h5><a href="{relocatable: news.html}">Mongrel 0.3.3 Bug Fix</a></h5>
|
||||
|
||||
<p>Very small bug fix that repairs a missing require.</p>
|
||||
<a href="http://rubyforge.org/frs/?group_id=1306" title="Downloads">Download</a>
|
||||
<a href="{relocatable: news.html}"><img src="images/li4.gif" alt="more" /><br /></a></p>
|
||||
</dd>
|
||||
|
||||
<dt>Feb-13-2006</dt>
|
||||
<dd>
|
||||
<h5><a href="{relocatable: news.html}">Mongrel 0.3.2 Released</a></h5>
|
||||
|
||||
|
|
|
@ -7,6 +7,15 @@ ordering: 2
|
|||
|
||||
h1. Latest News
|
||||
|
||||
h2. Feb-14: Mongrel 0.3.3 Released
|
||||
|
||||
This is a very small release that does nothing but add a one line fix
|
||||
for a major bug. Basically, the 0.3.2 release works great with Rails,
|
||||
but other runners will have problems since I didn't require the timeout
|
||||
library needed. Everyone should upgrade.
|
||||
|
||||
"Download 0.3.3":http://rubyforge.org/frs/?group_id=1306
|
||||
|
||||
h2. Feb-13: Mongrel 0.3.2 Released
|
||||
|
||||
Lots of little things people asked for in 0.3.1 release. Changes are:
|
||||
|
|
|
@ -7,7 +7,7 @@ class SimpleHandler < Mongrel::HttpHandler
|
|||
response.start do |head,out|
|
||||
head["Content-Type"] = "text/html"
|
||||
results = "<html><body>Your request:<br /><pre>#{request.params.to_yaml}</pre><a href=\"/files\">View the files.</a></body></html>"
|
||||
if not request.params["HTTP_ACCEPT_ENCODING"] == "gzip,deflate"
|
||||
if request.params["HTTP_ACCEPT_ENCODING"] == "gzip,deflate"
|
||||
head["Content-Encoding"] = "deflate"
|
||||
# send it back deflated
|
||||
out << Zlib::Deflate.deflate(results)
|
||||
|
|
|
@ -2,6 +2,7 @@ require 'socket'
|
|||
require 'http11'
|
||||
require 'thread'
|
||||
require 'stringio'
|
||||
require 'timeout'
|
||||
|
||||
# Mongrel module containing all of the classes (include C extensions) for running
|
||||
# a Mongrel web server. It contains a minimalist HTTP server with just enough
|
||||
|
|
Loading…
Add table
Reference in a new issue