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

33 commits

Author SHA1 Message Date
zedshaw
23076ba980 Increased URI length to 1024, removed ; that cause Sun C problems.
git-svn-id: svn+ssh://rubyforge.org/var/svn/mongrel/trunk@306 19e92222-5c0b-0410-8929-a290d50e31e9
2006-08-06 02:06:00 +00:00
zedshaw
ab3c8082de Backport of HttpRequest enhancements from 0.4. Patch to specify --prefix from Scott Laird. Fix for ids not working with GC.
git-svn-id: svn+ssh://rubyforge.org/var/svn/mongrel/trunk@292 19e92222-5c0b-0410-8929-a290d50e31e9
2006-07-13 22:34:59 +00:00
zedshaw
5cf77b2bc1 Invalid type on ID could cause meltdown.
git-svn-id: svn+ssh://rubyforge.org/var/svn/mongrel/trunk@275 19e92222-5c0b-0410-8929-a290d50e31e9
2006-07-01 18:31:58 +00:00
zedshaw
111af72fbb Documentation update and sync with latest code.
git-svn-id: svn+ssh://rubyforge.org/var/svn/mongrel/trunk@269 19e92222-5c0b-0410-8929-a290d50e31e9
2006-06-30 21:25:14 +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
a88c3f772f Fixes for more blocking mongrels, allows changing user:group after socket binding.
git-svn-id: svn+ssh://rubyforge.org/var/svn/mongrel/trunk@256 19e92222-5c0b-0410-8929-a290d50e31e9
2006-06-24 09:32:41 +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
9c8616e4b1 Version bump, news announce.
git-svn-id: svn+ssh://rubyforge.org/var/svn/mongrel/trunk@252 19e92222-5c0b-0410-8929-a290d50e31e9
2006-06-21 05:27:36 +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
daecee105f Two typos fixed, reported by Rui Lopes.
git-svn-id: svn+ssh://rubyforge.org/var/svn/mongrel/trunk@202 19e92222-5c0b-0410-8929-a290d50e31e9
2006-05-21 10:25:19 +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
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
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
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
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