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

25 commits

Author SHA1 Message Date
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
efc29a844b Bump the version number to 0.3.13
git-svn-id: svn+ssh://rubyforge.org/var/svn/mongrel/trunk@167 19e92222-5c0b-0410-8929-a290d50e31e9
2006-05-11 20:23:50 +00:00
zedshaw
af7cebc8eb Mongrel 0.3.13 release push. Lots of documentation started and little fixes. See news page for more details.
git-svn-id: svn+ssh://rubyforge.org/var/svn/mongrel/trunk@165 19e92222-5c0b-0410-8929-a290d50e31e9
2006-05-11 19:10:34 +00:00
zedshaw
0ca765c199 Conditional response code from Dan Kubb.
git-svn-id: svn+ssh://rubyforge.org/var/svn/mongrel/trunk@163 19e92222-5c0b-0410-8929-a290d50e31e9
2006-05-04 16:07:56 +00:00
zedshaw
aecf16ba7a Forgot to check in my changes so this should resolve the conflict.
git-svn-id: svn+ssh://rubyforge.org/var/svn/mongrel/trunk@161 19e92222-5c0b-0410-8929-a290d50e31e9
2006-04-20 04:57:02 +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
82b2987862 Version number bump before releasing.
git-svn-id: svn+ssh://rubyforge.org/var/svn/mongrel/trunk@149 19e92222-5c0b-0410-8929-a290d50e31e9
2006-04-06 12:21:03 +00:00
zedshaw
6947497b60 Repairs to the parser so it doesn't drop CONTENT_TYPE.
git-svn-id: svn+ssh://rubyforge.org/var/svn/mongrel/trunk@148 19e92222-5c0b-0410-8929-a290d50e31e9
2006-04-05 12:36:29 +00:00
zedshaw
41ed417517 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
2006-04-04 16:55:56 +00:00
zedshaw
5d600bfd24 Minor tweaks to the handlers and http parser to deal with more bad input possibilities.
git-svn-id: svn+ssh://rubyforge.org/var/svn/mongrel/trunk@139 19e92222-5c0b-0410-8929-a290d50e31e9
2006-04-03 15:22:17 +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
6d1c93465b Implements REMOTE_ADDR such that if HTTP_X_FORWARDED_FOR is set then REMOTE_ADDR uses that rather than touch the socket.
git-svn-id: svn+ssh://rubyforge.org/var/svn/mongrel/trunk@134 19e92222-5c0b-0410-8929-a290d50e31e9
2006-03-31 20:12:30 +00:00
zedshaw
b87e5685a2 Implements minor little tweaks to reduce String cycling. Adds ETag and Last-Modified headers to DirHandler so static files are cached by the browser.
git-svn-id: svn+ssh://rubyforge.org/var/svn/mongrel/trunk@132 19e92222-5c0b-0410-8929-a290d50e31e9
2006-03-30 09:31:14 +00:00
zedshaw
61d63bb0b7 Fixes a bug where server name and port wasn't coming through on systems on port 80.
git-svn-id: svn+ssh://rubyforge.org/var/svn/mongrel/trunk@129 19e92222-5c0b-0410-8929-a290d50e31e9
2006-03-28 15:37:54 +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
e174990cc8 Fixed a compile warning on debian in http11.c
git-svn-id: svn+ssh://rubyforge.org/var/svn/mongrel/trunk@77 19e92222-5c0b-0410-8929-a290d50e31e9
2006-03-04 18:16:44 +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
bce8665853 Fixed the URIClassifier to solve a problem with 1 character lookups. Completed more work on Rails runner. Add index.html default lookup for DirHandler. Added some new tests for URIClassifier.
git-svn-id: svn+ssh://rubyforge.org/var/svn/mongrel/trunk@24 19e92222-5c0b-0410-8929-a290d50e31e9
2006-02-10 02:38:18 +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
1b9b3bcb73 Improved the trie searching to only require one search and work more correctly. Fixed a few bugs found by people.
git-svn-id: svn+ssh://rubyforge.org/var/svn/mongrel/trunk@19 19e92222-5c0b-0410-8929-a290d50e31e9
2006-02-02 06:53:32 +00:00
zedshaw
38f325e222 Attempted on last performance tune by rewriting the process_client method in C. Event that didn't help so I'm going to consider this the last tuning possible for now.
git-svn-id: svn+ssh://rubyforge.org/var/svn/mongrel/trunk@17 19e92222-5c0b-0410-8929-a290d50e31e9
2006-01-31 04:45:26 +00:00
why
4af3352bee Moved TRACE below the var decls, was throwing errors on FreeBSD gcc.
git-svn-id: svn+ssh://rubyforge.org/var/svn/mongrel/trunk@16 19e92222-5c0b-0410-8929-a290d50e31e9
2006-01-30 20:17:17 +00:00
zedshaw
6bcf6e6d94 Last and final attempt at improving the Ruby only speed of the IO processing. Future releases will replace Ruby code with C.
git-svn-id: svn+ssh://rubyforge.org/var/svn/mongrel/trunk@15 19e92222-5c0b-0410-8929-a290d50e31e9
2006-01-30 06:25:20 +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