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 2015/12/02 10:58:47 UTC

trafficserver git commit: TS-4045: adding one missed fix on protecting http context

Repository: trafficserver
Updated Branches:
  refs/heads/master 2121859b3 -> c3d41bac7


TS-4045: adding one missed fix on protecting http context


Project: http://git-wip-us.apache.org/repos/asf/trafficserver/repo
Commit: http://git-wip-us.apache.org/repos/asf/trafficserver/commit/c3d41bac
Tree: http://git-wip-us.apache.org/repos/asf/trafficserver/tree/c3d41bac
Diff: http://git-wip-us.apache.org/repos/asf/trafficserver/diff/c3d41bac

Branch: refs/heads/master
Commit: c3d41bac709c3f21571a644124a84ed22d907003
Parents: 2121859
Author: Kit Chan <ki...@apache.org>
Authored: Wed Dec 2 01:58:34 2015 -0800
Committer: Kit Chan <ki...@apache.org>
Committed: Wed Dec 2 01:58:34 2015 -0800

----------------------------------------------------------------------
 plugins/experimental/ts_lua/ts_lua_http.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/trafficserver/blob/c3d41bac/plugins/experimental/ts_lua/ts_lua_http.c
----------------------------------------------------------------------
diff --git a/plugins/experimental/ts_lua/ts_lua_http.c b/plugins/experimental/ts_lua/ts_lua_http.c
index 69c246b..29d8414 100644
--- a/plugins/experimental/ts_lua/ts_lua_http.c
+++ b/plugins/experimental/ts_lua/ts_lua_http.c
@@ -347,7 +347,7 @@ ts_lua_http_set_server_resp_no_store(lua_State *L)
 
   ts_lua_http_ctx *http_ctx;
 
-  http_ctx = ts_lua_get_http_ctx(L);
+  GET_HTTP_CONTEXT(http_ctx, L);
 
   status = luaL_checknumber(L, 1);