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

28 commits

Author SHA1 Message Date
Evan Phoenix
f748edfade Start cleanup and modernization 2011-09-15 13:23:36 -07:00
Evan Weaver
039359fd12 Ran Ragel 6.5. 2009-07-07 16:39:10 -07:00
Evan Weaver
cde0074fef Merge branch 'mattetti-1.1.6' into spinoff
Conflicts:
	CHANGELOG
	ext/http11/http11.c
	ext/http11/http11_parser.c
	lib/mongrel/const.rb
2009-07-07 16:37:23 -07:00
Luis Lavena
9cb47f1a35 Updated http11_parser to Ragel 6.2 2009-07-07 01:25:24 -03:00
evanweaver
7c9d988d4d Backport Eric's changes to the http parser from trunk (Eric Wong).
Apply fix for Ragel 6 (Eric Wong, Ry Dahl).

Two tests fail with the new parser (1 failed with the old parser). Needs investigation.

Close #12 (mongrel_rails send_signal leaves a filehandle open until gc).
Close #14 (mongrel_rails command line option --num-procs does not change the max number of procs).
Close #15 (mongrel squashes helpful exception in register method).
Close #16, XXX needs audit! (CGIWrapper "options" attr_reader has no corresponding @options variable).
Close #20 (Mongrel doesn't erase temporary files during it's operation on windows).
Close #19, XXX needs audit! (HttpResponse#reset does not properly reset HeaderOut).
Close #22 (gem_plugin should load gems from Gem.path not Gem.dir).
Close #23 (mongrel_cluster's mongrel_rails configuration option isn't fully respected).

If I had git, being offline wouldn't have resulted in one massive commit.

git-svn-id: svn+ssh://rubyforge.org/var/svn/mongrel/branches/stable_1-2@995 19e92222-5c0b-0410-8929-a290d50e31e9
2009-03-27 02:43:46 -07:00
evanweaver
954d96c7e8 almost working
git-svn-id: svn+ssh://rubyforge.org/var/svn/mongrel/trunk@675 19e92222-5c0b-0410-8929-a290d50e31e9
2007-10-17 07:10:43 +00:00
evanweaver
496daab2f3 ragel task does java too
git-svn-id: svn+ssh://rubyforge.org/var/svn/mongrel/trunk@670 19e92222-5c0b-0410-8929-a290d50e31e9
2007-10-17 06:56:33 +00:00
evanweaver
e6336cdacf fix #14086
git-svn-id: svn+ssh://rubyforge.org/var/svn/mongrel/trunk@650 19e92222-5c0b-0410-8929-a290d50e31e9
2007-10-15 18:00:40 +00:00
zedshaw
7d5f4e6fd0 Move to the latest Ragel.
git-svn-id: svn+ssh://rubyforge.org/var/svn/mongrel/trunk@530 19e92222-5c0b-0410-8929-a290d50e31e9
2007-02-23 19:46:19 +00:00
zedshaw
e1d9c729c1 Finally a solution to the damn memory leak. It's a leak in ruby http://pastie.caboo.se/10194 which is fixed with http://pastie.caboo.se/10317
git-svn-id: svn+ssh://rubyforge.org/var/svn/mongrel/trunk@335 19e92222-5c0b-0410-8929-a290d50e31e9
2006-08-26 03:05:05 +00:00
zedshaw
e58982f645 Added mongrel_cluster as officially part of mongrel.
git-svn-id: svn+ssh://rubyforge.org/var/svn/mongrel/trunk@331 19e92222-5c0b-0410-8929-a290d50e31e9
2006-08-16 21:51:38 +00:00
zedshaw
3b5b4d0291 Regenerates the parser so the fix for non-spaced headers goes through, and adds a test to ensure it.
git-svn-id: svn+ssh://rubyforge.org/var/svn/mongrel/trunk@318 19e92222-5c0b-0410-8929-a290d50e31e9
2006-08-12 22:00:11 +00:00
zedshaw
ee675d5a70 Fixes the differences between mongrel and webrick around request URI, path_info, etc. Adds REQUEST_PATH to disambiguate the whole problem as well.
git-svn-id: svn+ssh://rubyforge.org/var/svn/mongrel/trunk@311 19e92222-5c0b-0410-8929-a290d50e31e9
2006-08-08 09:26:23 +00:00
zedshaw
6d89030158 working on more webrick style behavior for REQUEST_URI
git-svn-id: svn+ssh://rubyforge.org/var/svn/mongrel/trunk@308 19e92222-5c0b-0410-8929-a290d50e31e9
2006-08-08 02:07:24 +00:00
zedshaw
c05069479d Bugfixes for 0.3.13.4 release firming up IO tweaks.
git-svn-id: svn+ssh://rubyforge.org/var/svn/mongrel/trunk@293 19e92222-5c0b-0410-8929-a290d50e31e9
2006-07-14 16:13:51 +00:00
zedshaw
ddd5c9a46c Ruby license applied to all files
git-svn-id: svn+ssh://rubyforge.org/var/svn/mongrel/trunk@267 19e92222-5c0b-0410-8929-a290d50e31e9
2006-06-30 20:42:12 +00:00
zedshaw
7d0f10c242 Switched Mongrel to Ruby license.
git-svn-id: svn+ssh://rubyforge.org/var/svn/mongrel/trunk@265 19e92222-5c0b-0410-8929-a290d50e31e9
2006-06-30 20:13:35 +00:00
zedshaw
a6d80703cb Refactor reaping dead threads. Slight change to license header to make it clearer.
git-svn-id: svn+ssh://rubyforge.org/var/svn/mongrel/trunk@255 19e92222-5c0b-0410-8929-a290d50e31e9
2006-06-23 13:22:47 +00:00
zedshaw
c45b6f077e LGPL preamble on all source files.
git-svn-id: svn+ssh://rubyforge.org/var/svn/mongrel/trunk@203 19e92222-5c0b-0410-8929-a290d50e31e9
2006-05-21 14:46:42 +00:00
zedshaw
6ed31f8d2a Relaxed the previous restriction on invalid URIs with // at the beginning. Careful though.
git-svn-id: svn+ssh://rubyforge.org/var/svn/mongrel/trunk@182 19e92222-5c0b-0410-8929-a290d50e31e9
2006-05-16 00:20:28 +00:00
zedshaw
be6f59478e Rewritten http11 processing to allow for character level IO.
git-svn-id: svn+ssh://rubyforge.org/var/svn/mongrel/trunk@179 19e92222-5c0b-0410-8929-a290d50e31e9
2006-05-14 23:41:22 +00:00
zedshaw
d95ed2690e Fixes the default content type and headers for unknown mime types. Fixes the httpdate on responses and last-modified. Add support for arbitrary request methods within the limites of 20 characters, uppercase, digits, or safe chars.
git-svn-id: svn+ssh://rubyforge.org/var/svn/mongrel/trunk@151 19e92222-5c0b-0410-8929-a290d50e31e9
2006-04-08 18:00:35 +00:00
zedshaw
3c804d5e15 Several robustness improvements to protect mongrel against bad HTTP requests.
git-svn-id: svn+ssh://rubyforge.org/var/svn/mongrel/trunk@138 19e92222-5c0b-0410-8929-a290d50e31e9
2006-04-03 02:27:59 +00:00
zedshaw
ebeac4b031 Beginning of a tuning effort.
git-svn-id: svn+ssh://rubyforge.org/var/svn/mongrel/trunk@116 19e92222-5c0b-0410-8929-a290d50e31e9
2006-03-19 05:18:11 +00:00
zedshaw
1c7d2316b2 Fix recommended to the Ragel spec from Ragel author that makes the parser behave better.
git-svn-id: svn+ssh://rubyforge.org/var/svn/mongrel/trunk@47 19e92222-5c0b-0410-8929-a290d50e31e9
2006-02-20 06:38:35 +00:00
zedshaw
98a33bb304 Fixed a bug in the Error404Handler. Created the first Rails runner script.
git-svn-id: svn+ssh://rubyforge.org/var/svn/mongrel/trunk@21 19e92222-5c0b-0410-8929-a290d50e31e9
2006-02-08 12:48:41 +00:00
zedshaw
788e4f4902 * Moved various constants around. * Created the remaining feasible CGI variables people need. * Now create a REQUEST_URI which other CGI variables derive from. Implemented a simple DirHandler for browsing a directory and sending the files.
git-svn-id: svn+ssh://rubyforge.org/var/svn/mongrel/trunk@20 19e92222-5c0b-0410-8929-a290d50e31e9
2006-02-03 05:42:08 +00:00
zedshaw
004dec2c2f initial import into trunk
git-svn-id: svn+ssh://rubyforge.org/var/svn/mongrel/trunk@4 19e92222-5c0b-0410-8929-a290d50e31e9
2006-01-28 19:03:53 +00:00