Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Commits on May 24, 2015
  1. @spastorino

    Merge pull request #859 from deepj/transfer-encoding

    spastorino authored
    Constantize Transfer-Encoding header where possible
Commits on May 21, 2015
  1. @tenderlove

    bump version to 2.0, change supported ruby versions

    tenderlove authored
    also make the gemspec version based off the RELEASE version set in
    rack.rb so that they don't get out of sync
  2. @deepj
  3. @spastorino

    Merge pull request #860 from deepj/set-cookie

    spastorino authored
    Constantize Set-Cookie header where possible
  4. @spastorino

    Merge pull request #861 from jodosha/quoted-multipart-boundary

    spastorino authored
    Ensure correct parsing for quoted multipart boundary
  5. @jodosha
Commits on May 20, 2015
  1. @deepj
  2. @spastorino

    Merge pull request #857 from jodosha/utils-parse-cookies

    spastorino authored
    Extracted Rack::Utils.parse_cookies
  3. @jodosha
Commits on May 16, 2015
  1. @spastorino

    Merge pull request #856 from jrafanie/create_deep_header_hash_copy_on…

    spastorino authored
    …_dup
    
    Duplicate the @names hash on dup/clone to avoid shared references.
Commits on May 15, 2015
  1. @jrafanie

    Duplicate the @names hash on dup/clone to avoid shared references.

    jrafanie authored
    We need to manually dup the `@names` hash since a HeaderHash.dup is
    shallow, leading to multiple HeaderHash objects sharing the same
    `@names` hash.
Commits on May 8, 2015
  1. @tenderlove

    Merge pull request #828 from dkubb/fix/master/rack-lock-mutex-usage

    tenderlove authored
    Fix Rack::Lock mutex usage
Commits on May 7, 2015
  1. @tenderlove

    Merge pull request #841 from oskarpearson/use_default_output_buffer

    tenderlove authored
    Use the default HTTP output buffer, instead of 5
  2. @tenderlove

    Merge pull request #844 from jwaterfaucett/allow_underscored_apps

    tenderlove authored
    Allow file names with underscores inside Rack::Builder.parse_file
  3. @tenderlove

    Merge pull request #850 from tenderlove/sec

    tenderlove authored
    adding a security policy
Commits on May 6, 2015
  1. @tenderlove

    fix mailing addresses

    tenderlove authored
  2. @tenderlove

    adding a security policy

    tenderlove authored
  3. @tenderlove
Commits on Apr 27, 2015
  1. @spastorino

    Merge pull request #846 from radar/master

    spastorino authored
    Correct documentation at top of rack.rb about requiring it
  2. @radar
Commits on Apr 23, 2015
  1. @jwaterfaucett

    Allow file names with underscores inside Rack::Builder.parse_file

    jwaterfaucett authored
    Currently, files with underscores are not loaded using
    standard ruby/rails conventions b/c of the way Object.const_get
    is called inside Rack::Builder.parse_file.
    
    For example, a filename 'my_example_app', will be required and then
    an Object.const_get('My_example_app') call will throw a NameError unless
    you have named your class accordingly inside the my_example_app file.
    
    This commit changes the behavior so that 'my_example_app' is required
    and then Object.const_get('MyExampleApp') is called. I think this is
    the behavior most developers would expect.
Commits on Apr 16, 2015
  1. @spastorino
  2. @spastorino

    Merge pull request #840 from davydovanton/fix-test-typos

    spastorino authored
    Fix typos in test files
Commits on Apr 15, 2015
  1. @oskarpearson

    Use the default HTTP output buffer, instead of 5

    oskarpearson authored
    Setting the output buffer size to 5 means that we will do thousands of
    small writes when serving a large file, which is inefficient. This fix
    improves performance of the HTTP server.
    
    This resolves the slow-down referenced at rails/rails#18828
Commits on Apr 14, 2015
  1. @davydovanton
Commits on Apr 6, 2015
  1. @spastorino
  2. @spastorino

    Merge pull request #781 from Nyoho/fix-separator-semicolon-GET

    spastorino authored
    Fix semicolons as separators for GET
Commits on Mar 26, 2015
  1. @dkubb
  2. @dkubb

    Fix Rack::Lock to handle unexpected exceptions

    dkubb authored
    * If an exception occurs after @app#call but before the response can be
      returned then the mutex should be unlocked.
  3. @dkubb

    Fix Rack::Lock to set env['rack.multithread'] properly

    dkubb authored
    * The original code would set the flag for the duration of
      Rack::Lock#call and then set it back when the method finished. The
      problem is that the BodyProxy could be executing code that relies on
      the state of the flag.
    
      This change makes sure the application *and* the body proxy see the
      expected state of the environment.
  4. @dkubb

    Fix Rack::Lock mutex usage

    dkubb authored
    * In the previous code if a lock is being waited on and an error was
      raised, such as by Rack::Timeout, the original code would attempt to
      unlock a mutex it does not own raising a ThreadError with the error
      message "Attempt to unlock a mutex which is locked by another thread"
    
      This code uses an explicit begin block that starts immediately after
      the mutex is locked so that when the ensure part runs we know that
      the mutex belongs to this thread.
Commits on Mar 25, 2015
  1. @chneukirchen

    Merge pull request #827 from snuggs/fix-gramatical-error

    chneukirchen authored
    Place comma before and
  2. @snuggs

    Place comma before and

    snuggs authored
Commits on Mar 15, 2015
  1. @spastorino

    Merge pull request #824 from sitnikovme/master

    spastorino authored
    Fix history link
  2. Fix history link

    Maksim Sitnikov authored
Something went wrong with that request. Please try again.