Permalink
Commits on Jun 6, 2012
  1. @tj

    Release 2.3.1

    tj committed Jun 6, 2012
  2. @tj

    Merge pull request #583 from shtylman/cookie_v0_0_3

    update package.json - cookie v0.0.3
    tj committed Jun 6, 2012
  3. @defunctzombie

    update package.json - cookie v0.0.3

    Better cookie parsing per the RFC (don't escape what doesn't need to be
    escaped)
    defunctzombie committed Jun 6, 2012
Commits on Jun 5, 2012
  1. @tj

    clean up a test

    tj committed Jun 5, 2012
  2. @tj

    Merge pull request #582 from rolftimmermans/fix-if-modified-since

    Fix server error for clients that send If-Modified-Since headers.
    tj committed Jun 5, 2012
  3. @rolftimmermans
Commits on Jun 4, 2012
  1. @tj

    misc refactoring

    tj committed Jun 4, 2012
  2. @tj
  3. @tj

    Merge pull request #581 from shtylman/decouple-cookiesession-secret

    add `secret` option to `cookieSession` middleware
    tj committed Jun 4, 2012
  4. @defunctzombie

    add `secret` option to `cookieSession` middleware

    This decouples `cookieParser` and `cookieSession` by not requiring the
    `cookieParser` to handle the `cookieSession` signed cookies. This allows
    the `cookieParser` middleware to be simpler by not having to perform
    hashing. It also keeps the cookie session functionality contained
    withing the `cookieSession` middleware.
    
    cookieHashes has been removed as it is no longer needed. The hashing was
    only done for the `cookieSession` middleware
    defunctzombie committed Jun 3, 2012
  5. @tj

    test title change

    tj committed Jun 4, 2012
  6. @tj
  7. @tj

    Merge pull request #580 from shtylman/decouple-session-secret

    add `secret` option to `session` middleware
    tj committed Jun 4, 2012
  8. @tj

    docs

    tj committed Jun 4, 2012
Commits on Jun 2, 2012
  1. @defunctzombie

    add `secret` option to `session` middleware

    This decouples `session` and `cookieParser` middleware by not requiring
    the `cookieParser` middleware to do signed cookies for the session
    middleware. This separates middleware responsibility and allows each
    middleware to be a bit more self contained and implement signing within
    session as needed.
    
    Eventually this will allow the `cookieParser` middleware to just do the
    basic functions of cookie parsing instead of trying to do too much.
    defunctzombie committed Jun 2, 2012
Commits on May 31, 2012
  1. @tj

    Merge pull request #578 from gastonlabs/master

    Comment typo fix
    tj committed May 31, 2012
Commits on May 30, 2012
  1. @dweekly

    Fix comment typo.

    dweekly committed May 30, 2012
  2. @tj

    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. @tj

    renamed a var

    not sure why node pluralizes "headers",
    always bugs me haha </ocd>
    tj committed May 29, 2012
  2. @tj

    Merge pull request #577 from shtylman/wip-cookies

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

    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. @defunctzombie @tj

    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
  1. @tj
Commits on May 20, 2012
  1. @tj

    Release 2.3.0

    tj committed May 20, 2012
Commits on May 18, 2012
  1. @tj
  2. @tj
  3. @tj

    Merge pull request #570 from freewil/csrf-rm-crypto

    remove unused crypto require in csrf middleware
    tj committed May 18, 2012
  4. @freewil
Commits on May 16, 2012
  1. @tj

    Merge pull request #566 from marcenuc/regexp-test

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

    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. @tj

    Merge pull request #563 from fengmk2/master

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

    misc refactor

    tj committed May 10, 2012
  2. @tj

    Merge pull request #564 from eknkc/master

    Remove socket event listeners on callback
    tj committed May 10, 2012
  3. @eknkc

    Remove socket error event listener on callback

    This eliminated the event leak problem caused by reused sockets.
    eknkc committed May 10, 2012
  4. @fengmk2