Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

Release v0.0.29

  • Loading branch information...
commit 0eda930347ceb371854b5cb0984256d3ced5324f 1 parent e5f83ff
@pgte authored
Showing with 6 additions and 2 deletions.
  1. +4 −0 ChangeLog
  2. +1 −1  lib/fugue.js
  3. +1 −1  package.json
View
4 ChangeLog
@@ -1,3 +1,7 @@
+2010.10.11 v0.0.29
+
+* fixed connection counting on the workers
+
2010.10.11 v0.0.28
* fixed a racing condition while shutting down the workers
View
2  lib/fugue.js
@@ -380,7 +380,7 @@ exports.start = function(server, port, host, worker_count, options) {
// Track connections so we don't die in the middle of serving one
server.on('connection', function(connection) {
connection_count ++;
- connection.on('end', function() {
+ connection.on('close', function() {
connection_count --;
if (die_soon && connection_count == 0) {
process.exit();
View
2  package.json
@@ -1,6 +1,6 @@
{ "name" : "fugue"
, "description" : "Unicorn for node for node"
-, "version" : "0.0.28"
+, "version" : "0.0.29"
, "homepage" : "http://www.metaduck.com/fugue"
, "author" : "Pedro Teixeira <pedro.teixeira@gmail.com> (http://www.metaduck.com)"
, "contributors" :
Please sign in to comment.
Something went wrong with that request. Please try again.