Github user jpeach commented on a diff in the pull request: https://github.com/apache/trafficserver/pull/1127#discussion_r85235598 --- Diff: plugins/experimental/ts_lua/ts_lua_server_request.c --- @@ -755,3 +765,46 @@ ts_lua_server_request_server_addr_get_addr(lua_State *L) return 3; } + +static int +ts_lua_server_request_server_addr_set_addr(lua_State *L) +{ + struct sockaddr_in addr4; + struct sockaddr_in6 addr6; --- End diff -- ```C union { struct sockaddr_in sin4; struct sockaddr_in6 sin6; struct sockaddr sa; } addr; ... TSHttpTxnServerAddrSet(http_ctx->txnp, &addr.sa);
--- If your project is set up for it, you can reply to this email and have your reply appear on GitHub as well. If your project does not have this feature enabled and wishes so, or if the feature is enabled but not working, please contact infrastructure at infrastruct...@apache.org or file a JIRA ticket with INFRA. ---