Skip to content

Commit 1d53855

Browse files
committed
change tcp_socket_metatable nrec to 15
1 parent f291bd8 commit 1d53855

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/ngx_http_lua_socket_tcp.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -312,7 +312,7 @@ ngx_http_lua_inject_socket_tcp_api(ngx_log_t *log, lua_State *L)
312312
/* {{{tcp object metatable */
313313
lua_pushlightuserdata(L, ngx_http_lua_lightudata_mask(
314314
tcp_socket_metatable_key));
315-
lua_createtable(L, 0 /* narr */, 14 /* nrec */);
315+
lua_createtable(L, 0 /* narr */, 15 /* nrec */);
316316

317317
lua_pushcfunction(L, ngx_http_lua_socket_tcp_connect);
318318
lua_setfield(L, -2, "connect");

0 commit comments

Comments
 (0)