diff --git a/README.markdown b/README.markdown index a2ff666..d118b8b 100644 --- a/README.markdown +++ b/README.markdown @@ -133,10 +133,11 @@ bounce.parser The [parsley](https://github.com/substack/node-parsley) parser being used. -bounce.buffers --------------- +bounce.stream +------------- -The raw buffered buffers. +The [buffered stream](https://github.com/mikeal/morestreams) used to buffer the +headers and body until bounce() is called. install ======= diff --git a/index.js b/index.js index c4f3390..c5bc145 100644 --- a/index.js +++ b/index.js @@ -109,7 +109,7 @@ function makeBounce (bs, client, req, parser) { return stream; }; - bounce.buffers = bs; + bounce.stream = bs; bounce.parser = parser; bounce.upgrade = parser.upgrade.bind(parser); diff --git a/package.json b/package.json index 70d2284..499f1c1 100644 --- a/package.json +++ b/package.json @@ -1,7 +1,7 @@ { "name" : "bouncy", "description" : "Bounce HTTP requests around for a load balancer or http host router completely transparently", - "version" : "1.2.0", + "version" : "1.3.0", "repository" : { "type" : "git", "url" : "git://github.com/substack/bouncy.git"