Skip to content
Browse files

expose the connection object

  • Loading branch information...
1 parent 7745752 commit ba30e4621e728ef74bdcd5595109708807a2c4df @substack committed Feb 27, 2012
Showing with 4 additions and 2 deletions.
  1. +2 −0 README.markdown
  2. +1 −1 index.js
  3. +1 −1 package.json
View
2 README.markdown
@@ -103,6 +103,8 @@ p.use(fn)
Modify the dnode server or client service with `fn(service)`.
+In server mode the `fn` also gets a `conn` object: `fn(service, conn)`.
+
install
=======
View
2 index.js
@@ -195,7 +195,7 @@ Propagit.prototype.createService = function (remote, conn) {
};
self.middleware.forEach(function (m) {
- m(service);
+ m(service, conn);
});
return service;
View
2 package.json
@@ -1,7 +1,7 @@
{
"name" : "propagit",
"description" : "cascading multi-server git deployment",
- "version" : "0.4.0",
+ "version" : "0.4.1",
"repository" : {
"type" : "git",
"url" : "git://github.com/substack/propagit.git"

0 comments on commit ba30e46

Please sign in to comment.
Something went wrong with that request. Please try again.