[Groonga-commit] droonga/express-droonga at c0840d1 [master] Don't override request and response

Back to archive index

YUKI Hiroshi null+****@clear*****
Thu Jan 9 20:55:41 JST 2014


YUKI Hiroshi	2014-01-09 20:55:41 +0900 (Thu, 09 Jan 2014)

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

  Message:
    Don't override request and response

  Modified files:
    lib/adapter/http.js

  Modified: lib/adapter/http.js (+2 -2)
===================================================================
--- lib/adapter/http.js    2014-01-09 20:45:32 +0900 (7955b2a)
+++ lib/adapter/http.js    2014-01-09 20:55:41 +0900 (5378219)
@@ -35,7 +35,7 @@ function createRequestResponseHandler(params) {
         }
       }
 
-    var processRequest = function(request, response) {
+    var processRequest = function() {
       var wrappedConnection = new wrapper.DroongaProtocolConnectionWrapper(connection, callback, options);
       if (definition.onRequest) {
         try {
@@ -69,7 +69,7 @@ function createGenericHandler(params) {
       dataset: definition.dataset,
       timeout: definition.timeout || null
     };
-    var processRequest = function(request, response) {
+    var processRequest = function() {
       var wrappedConnection = new wrapper.DroongaProtocolConnectionWrapper(connection, options);
       try {
         definition.onHandle(request, response, wrappedConnection);
-------------- next part --------------
HTML����������������������������...
Download 



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