Skip to content

Commit

Permalink
bs is actually a BufferedStream
Browse files Browse the repository at this point in the history
  • Loading branch information
James Halliday committed Feb 13, 2012
1 parent d608eee commit 7dea9b6
Show file tree
Hide file tree
Showing 3 changed files with 6 additions and 5 deletions.
7 changes: 4 additions & 3 deletions README.markdown
Expand Up @@ -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
=======
Expand Down
2 changes: 1 addition & 1 deletion index.js
Expand Up @@ -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);

Expand Down
2 changes: 1 addition & 1 deletion 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"
Expand Down

0 comments on commit 7dea9b6

Please sign in to comment.