[Groonga-commit] groonga/express-kotoumi [master] Envelope should have "from" and "replyTo"

Back to archive index

YUKI Hiroshi null+****@clear*****
Fri Jan 18 16:52:24 JST 2013


YUKI Hiroshi	2013-01-18 16:52:24 +0900 (Fri, 18 Jan 2013)

  New Revision: cfac3d44bb15ba787398426d73fee4506d1af015
  https://github.com/groonga/express-kotoumi/commit/cfac3d44bb15ba787398426d73fee4506d1af015

  Log:
    Envelope should have "from" and "replyTo"

  Modified files:
    lib/backend-adaptor.js

  Modified: lib/backend-adaptor.js (+2 -0)
===================================================================
--- lib/backend-adaptor.js    2013-01-18 16:51:59 +0900 (07a6679)
+++ lib/backend-adaptor.js    2013-01-18 16:52:24 +0900 (455e85f)
@@ -92,6 +92,8 @@ Connection.prototype.emitMessage = function(type, body, callback) {
   var envelope = {
     id:         id,
     date:       getCurrentTime(),
+    from:       this._params.hostname + ':' + this._params.listenPort,
+    replyTo:    this._params.hostname + ':' + this._params.listenPort,
     statusCode: 200,
     type:       type,
     body:       body
-------------- next part --------------
HTML����������������������������...
下载 



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