1
0
Fork 0
mirror of https://github.com/puma/puma.git synced 2022-11-09 13:48:40 -05:00

Reverted a new feature from Ragel which broke the parser on certain multi-part mime uploads.

git-svn-id: svn+ssh://rubyforge.org/var/svn/mongrel/trunk@146 19e92222-5c0b-0410-8929-a290d50e31e9
This commit is contained in:
zedshaw 2006-04-04 16:55:56 +00:00
parent 28bb852984
commit 41ed417517
5 changed files with 5 additions and 5 deletions

View file

@ -32,7 +32,7 @@ end
setup_extension("http11", "http11")
name="mongrel"
version="0.3.12.1"
version="0.3.12.2"
setup_gem(name, version) do |spec|
spec.summary = "A small fast HTTP library and server that runs Rails, Camping, and Nitro apps."

View file

@ -98,6 +98,6 @@ h2. Deployment
h3. Q: How do I deploy Mongrel in production?
Take a look at the "HOWTO":docs/howto.html and the "Lighttpd":docs/lighttpd.page
Take a look at the "HOWTO":docs/howto.html and the "Lighttpd":docs/lighttpd.html
instructions for more information on this.

View file

@ -520,7 +520,7 @@ void Init_http11()
DEF_GLOBAL(server_protocol, "SERVER_PROTOCOL");
DEF_GLOBAL(server_protocol_value, "HTTP/1.1");
DEF_GLOBAL(http_host, "HTTP_HOST");
DEF_GLOBAL(mongrel_version, "Mongrel 0.3.12.1");
DEF_GLOBAL(mongrel_version, "Mongrel 0.3.12.2");
DEF_GLOBAL(server_software, "SERVER_SOFTWARE");
DEF_GLOBAL(port_80, "80");

View file

@ -99,7 +99,7 @@
field_value = any* >start_value %write_value;
message_header = field_name ":" field_value :> CRLF;
message_header = field_name ":" field_value $0 CRLF >1;
Request = Request_Line (message_header)* ( CRLF @done);

View file

@ -99,7 +99,7 @@ module Mongrel
# The original URI requested by the client. Passed to URIClassifier to build PATH_INFO and SCRIPT_NAME.
REQUEST_URI='REQUEST_URI'.freeze
MONGREL_VERSION="0.3.12.1".freeze
MONGREL_VERSION="0.3.12.2".freeze
# The standard empty 404 response for bad requests. Use Error4040Handler for custom stuff.
ERROR_404_RESPONSE="HTTP/1.1 404 Not Found\r\nConnection: close\r\nServer: #{MONGREL_VERSION}\r\n\r\nNOT FOUND".freeze