Permalink
Commits on May 30, 2012
  1. Performance: improve signed cookie parsing

    by prefixing and removing optimistic parsing we
    gain about 20%. for example 6100 rps on my air
    is bumped to about 7500
    tj committed May 30, 2012
Commits on May 29, 2012
  1. renamed a var

    not sure why node pluralizes "headers",
    always bugs me haha </ocd>
    tj committed May 29, 2012
  2. Merge pull request #577 from shtylman/wip-cookies

    use `cookie` package for cookie parsing and serialization
    tj committed May 29, 2012
  3. use `cookie` package for cookie parsing and serialization

    Cookie parsing and serialization per the RFC is a well defined function
    that is better provided by a simple library.
    defunctzombie committed May 29, 2012
Commits on May 28, 2012
  1. remove request object from Cookie constructor

    Cookies don't need to know about requests to do their job. The request
    object was only needed to serialize for a signed cookie. This can better
    be done by the session middleware.
    
    This leaves the cookie class to be simpler and focus just on cookie
    options and serialization.
    
    fixes: #574
    defunctzombie committed with tj May 26, 2012
Commits on May 22, 2012
Commits on May 20, 2012
  1. Release 2.3.0

    tj committed May 20, 2012
Commits on May 18, 2012
  1. Merge pull request #570 from freewil/csrf-rm-crypto

    remove unused crypto require in csrf middleware
    tj committed May 18, 2012
Commits on May 16, 2012
  1. Merge pull request #566 from marcenuc/regexp-test

    regexp.test() is faster than string.match().
    tj committed May 16, 2012
  2. regexp.test() is faster than string.match().

    To filter by Content-Type in compress middleware, regexp.test() should be more appropriate, because
    we only need a boolean test.
    marcenuc committed May 16, 2012
Commits on May 14, 2012
  1. Merge pull request #563 from fengmk2/master

    Fixed `ENOTDIR` error on `static` middleware
    tj committed May 14, 2012
Commits on May 10, 2012
  1. misc refactor

    tj committed May 10, 2012
  2. Merge pull request #564 from eknkc/master

    Remove socket event listeners on callback
    tj committed May 10, 2012
  3. Remove socket error event listener on callback

    This eliminated the event leak problem caused by reused sockets.
    eknkc committed May 10, 2012
Commits on May 7, 2012
  1. Prepared release 2.2.2

    tj committed May 7, 2012
Commits on May 4, 2012
  1. Merge pull request #557 from ryancole/patch-1

    Updated `engines` to allow newer version of node
    tj committed May 4, 2012
Commits on May 3, 2012
  1. Update lib/middleware/csrf.js

    tj committed May 3, 2012
Commits on May 2, 2012
  1. Merge pull request #555 from thomasdavis/master

    Added support to csrf middle-ware for pre-flighted CORS request
    tj committed May 2, 2012
Commits on Apr 29, 2012
  1. misc refactoring

    tj committed Apr 29, 2012
  2. refactored styling of previous merge

    tj committed Apr 29, 2012
  3. Make assumption of 200 status explicit.

    cweider committed with tj Apr 26, 2012
  4. Correct documentation.

    cweider committed with tj Apr 25, 2012