ry / flow
- Source
- Commits
- Network (2)
- Issues (0)
- Downloads (1)
- Wiki (1)
- Graphs
-
Tree:
1c853c9
commit 1c853c96384afb981341491d5206a708bd7dff66
tree 56bd15f3d5266b79405f91bbf9f481a82d58a07e
parent 4672b8271016d96662f7c795dab67c7c60905f6d
tree 56bd15f3d5266b79405f91bbf9f481a82d58a07e
parent 4672b8271016d96662f7c795dab67c7c60905f6d
flow /
| name | age | message | |
|---|---|---|---|
| |
README | ||
| |
Rakefile | ||
| |
application.rb | ||
| |
async_example.rb | ||
| |
ext/ | ||
| |
lib/ |
README
A web server for YARV. Features: - rack interface - persistant and pipelined requests - async uploads, each request is in a fiber and will magically yield if you try to read from the request body but the data hasn't arrived yet. (like for large uploads.) to you env['rack.input'] blocks but in reality it never blocks. Uploads are not buffered. - responses can also be streamed. see async_example.rb for an example the api for this is subject to change. - the event loop is exposed, combining your own event loop watchers with async responses allows you to do access the database without blocking - supports chunked requests and responses. chunked requests are transparent - it just happens chunked responses are done when the response header 'Transfer-Encoding' => 'chunked' is set (case-sensitive) requires REV!! (which is written by Tony Arcieri) uses the parser from libebb http://tinyclouds.org/libebb/ which is based on Mongrel's parser ## (The MIT) License Copyright (c) 2008 [Ryah Dahl](http://tinyclouds.org) (ry at tiny clouds dot org) Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions: The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software. THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.

