You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@trafficserver.apache.org by ki...@apache.org on 2017/03/09 01:23:20 UTC

[trafficserver] branch master updated: rectify a minor error in test_server_intercept.lua

This is an automated email from the ASF dual-hosted git repository.

kichan pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/trafficserver.git

The following commit(s) were added to refs/heads/master by this push:
       new  c392a35   rectify a minor error in test_server_intercept.lua
c392a35 is described below

commit c392a35bc8fddd7fc0a7a5410eb680b595864f97
Author: \u96ea\u5cf0\u6d41\u4e91 <ta...@aliyun.com>
AuthorDate: Wed Mar 8 13:54:35 2017 +0800

    rectify a minor error in test_server_intercept.lua
    
    line 33:
    return resp
    should modified as
    ts.say(resp)
---
 plugins/experimental/ts_lua/example/test_server_intercept.lua | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/plugins/experimental/ts_lua/example/test_server_intercept.lua b/plugins/experimental/ts_lua/example/test_server_intercept.lua
index ee073c8..d7ca955 100644
--- a/plugins/experimental/ts_lua/example/test_server_intercept.lua
+++ b/plugins/experimental/ts_lua/example/test_server_intercept.lua
@@ -30,7 +30,7 @@ function send_data()
         'Accept-Ranges: bytes\r\n\r\n' ..
         nt
 
-    return resp
+    ts.say(resp)
 end
 
 

-- 
To stop receiving notification emails like this one, please contact
['"commits@trafficserver.apache.org" <co...@trafficserver.apache.org>'].