Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Browse files

make reconnects work for unix sockets

commit 3d4b3d5d1907c6753d13025d83495e6bed88f53f 1 parent 2f85ab5
@substack authored
Showing with 2 additions and 2 deletions.
  1. +1 −1  index.js
  2. +1 −1  package.json
View
2  index.js
@@ -69,7 +69,7 @@ dnode.prototype.connect = function () {
if (params.reconnect) {
stream.on('error', (function (err) {
- if (err.code === 'ECONNREFUSED') {
+ if (err.code === 'ECONNREFUSED' || err.code === 'ENOENT') {
if (client) client.emit('refused');
setTimeout((function () {
View
2  package.json
@@ -1,6 +1,6 @@
{
"name" : "dnode",
- "version" : "0.9.8",
+ "version" : "0.9.9",
"description" : "freestyle RPC",
"main" : "./index.js",
"keywords" : [
Please sign in to comment.
Something went wrong with that request. Please try again.