MCPcopy Create free account
hub / github.com/apache/trafficserver / ts_lua_vconn_get_fd

Function ts_lua_vconn_get_fd

plugins/lua/ts_lua_vconn.cc:90–103  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

88}
89
90static int
91ts_lua_vconn_get_fd(lua_State *L)
92{
93 int fd = 0;
94 ts_lua_vconn_ctx *vconn_ctx;
95
96 GET_VCONN_CONTEXT(vconn_ctx, L);
97
98 fd = TSVConnFdGet(vconn_ctx->vconn);
99
100 lua_pushnumber(L, fd);
101
102 return 1;
103}

Callers

nothing calls this directly

Calls 1

TSVConnFdGetFunction · 0.85

Tested by

no test coverage detected