shukitchan commented on code in PR #12510:
URL: https://github.com/apache/trafficserver/pull/12510#discussion_r2361422319
##########
plugins/lua/ts_lua_server_request.cc:
##########
@@ -149,6 +149,9 @@ ts_lua_inject_server_request_server_addr_api(lua_State *L)
lua_pushinteger(L, AF_INET6);
lua_setglobal(L, "TS_LUA_AF_INET6");
+
+ lua_pushinteger(L, AF_UNIX);
+ lua_setglobal(L, "TS_LUA_AF_UNIX");
Review Comment:
I think these variables are really used when we are making changes to the
outgoing address. So there is no need to support AF_UNIX here
##########
doc/admin-guide/plugins/lua.en.rst:
##########
@@ -1838,6 +1838,7 @@ Socket address family
TS_LUA_AF_INET (2)
TS_LUA_AF_INET6 (10)
+ TS_LUA_AF_UNIX (1)
Review Comment:
I think these variables are really used when we are making changes to the
outgoing address. So there is no need to support AF_UNIX here
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: [email protected]
For queries about this service, please contact Infrastructure at:
[email protected]