Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Commits on Jun 6, 2012
  1. @tj

    Release 2.3.1

    tj authored
  2. @tj

    Merge pull request #583 from shtylman/cookie_v0_0_3

    tj authored
    update package.json - cookie v0.0.3
  3. @defunctzombie

    update package.json - cookie v0.0.3

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

    clean up a test

    tj authored
  2. @tj

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

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

    misc refactoring

    tj authored
  2. @tj
  3. @tj

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

    tj authored
    add `secret` option to `cookieSession` middleware
  4. @defunctzombie

    add `secret` option to `cookieSession` middleware

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

    test title change

    tj authored
  6. @tj
  7. @tj

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

    tj authored
    add `secret` option to `session` middleware
  8. @tj

    docs

    tj authored
Commits on Jun 2, 2012
  1. @defunctzombie

    add `secret` option to `session` middleware

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

    Merge pull request #578 from gastonlabs/master

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

    Fix comment typo.

    dweekly authored
  2. @tj

    Performance: improve signed cookie parsing

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

    renamed a var

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

    Merge pull request #577 from shtylman/wip-cookies

    tj authored
    use `cookie` package for cookie parsing and serialization
  3. @defunctzombie

    use `cookie` package for cookie parsing and serialization

    defunctzombie authored
    Cookie parsing and serialization per the RFC is a well defined function
    that is better provided by a simple library.
Commits on May 28, 2012
  1. @defunctzombie @tj

    remove request object from Cookie constructor

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

    Release 2.3.0

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

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

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

    Merge pull request #566 from marcenuc/regexp-test

    tj authored
    regexp.test() is faster than string.match().
  2. @marcenuc

    regexp.test() is faster than string.match().

    marcenuc authored
    To filter by Content-Type in compress middleware, regexp.test() should be more appropriate, because
    we only need a boolean test.
Commits on May 14, 2012
  1. @tj

    Merge pull request #563 from fengmk2/master

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

    misc refactor

    tj authored
  2. @tj

    Merge pull request #564 from eknkc/master

    tj authored
    Remove socket event listeners on callback
  3. @eknkc

    Remove socket error event listener on callback

    eknkc authored
    This eliminated the event leak problem caused by reused sockets.
  4. @fengmk2
Something went wrong with that request. Please try again.