[Groonga-commit] droonga/express-droonga at 052c9c1 [master] Don't give stream to the handler directly.

Back to archive index

YUKI Hiroshi null+****@clear*****
Wed Nov 5 16:45:43 JST 2014


YUKI Hiroshi	2014-11-05 16:45:43 +0900 (Wed, 05 Nov 2014)

  New Revision: 052c9c13de630cfb9c90fc9cdac48ae76df14050
  https://github.com/droonga/express-droonga/commit/052c9c13de630cfb9c90fc9cdac48ae76df14050

  Message:
    Don't give stream to the handler directly.
    
    It can break following processes.

  Modified files:
    lib/serf/agent.js

  Modified: lib/serf/agent.js (+1 -1)
===================================================================
--- lib/serf/agent.js    2014-11-05 16:29:00 +0900 (b77f752)
+++ lib/serf/agent.js    2014-11-05 16:45:43 +0900 (77e3638)
@@ -111,7 +111,7 @@ Agent.prototype.tryStart = function() {
       this._agentProcess = null;
     }).bind(this));
     this._agentProcess.stdout.on('data', (function(data) {
-      this._handleOutput(data);
+      this._handleOutput(String(data));
     }).bind(this));
   } catch(error) {
     this._agentProcess = null;
-------------- next part --------------
HTML����������������������������...
下載 



More information about the Groonga-commit mailing list
Back to archive index