diff options
author | zedshaw <zedshaw@19e92222-5c0b-0410-8929-a290d50e31e9> | 2006-04-04 16:55:56 +0000 |
---|---|---|
committer | zedshaw <zedshaw@19e92222-5c0b-0410-8929-a290d50e31e9> | 2006-04-04 16:55:56 +0000 |
commit | 41ed417517e62f51b0d89946cb7a3642871bccc0 (patch) | |
tree | d556841c0eb8376ff7633e6a827ba0789b6ad411 /ext | |
parent | 28bb85298430396f0d1c460afb9d49b0503cf9f2 (diff) | |
download | unicorn-41ed417517e62f51b0d89946cb7a3642871bccc0.tar.gz |
git-svn-id: svn+ssh://rubyforge.org/var/svn/mongrel/trunk@146 19e92222-5c0b-0410-8929-a290d50e31e9
Diffstat (limited to 'ext')
-rw-r--r-- | ext/http11/http11.c | 2 | ||||
-rw-r--r-- | ext/http11/http11_parser.rl | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/ext/http11/http11.c b/ext/http11/http11.c index 55ecc0f..9e2cc6f 100644 --- a/ext/http11/http11.c +++ b/ext/http11/http11.c @@ -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"); diff --git a/ext/http11/http11_parser.rl b/ext/http11/http11_parser.rl index af3a444..6a256a6 100644 --- a/ext/http11/http11_parser.rl +++ b/ext/http11/http11_parser.rl @@ -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); |