Skip to content

Commit 19aad39

Browse files
authored
fix: add missing resty.core change (#3)
1 parent 3062fe3 commit 19aad39

File tree

1 file changed

+12
-0
lines changed

1 file changed

+12
-0
lines changed

patch/1.19.3/lua-resty-core-tlshandshake.patch

Lines changed: 12 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -15,6 +15,18 @@ index 3caabe2..6361a23 100644
1515
$(INSTALL) lib/ngx/*.lua $(DESTDIR)$(LUA_LIB_DIR)/ngx/
1616
$(INSTALL) lib/ngx/ssl/*.lua $(DESTDIR)$(LUA_LIB_DIR)/ngx/ssl/
1717

18+
diff --git lib/resty/core.lua lib/resty/core.lua
19+
index 5472230..d6e6869 100644
20+
--- lib/resty/core.lua
21+
+++ lib/resty/core.lua
22+
@@ -20,6 +20,7 @@ if subsystem == 'http' then
23+
require "resty.core.phase"
24+
require "resty.core.ndk"
25+
require "resty.core.socket"
26+
+ require "resty.core.socket.tcp"
27+
end
28+
29+
1830
diff --git lib/resty/core/socket/tcp.lua lib/resty/core/socket/tcp.lua
1931
new file mode 100644
2032
index 0000000..30302f0

0 commit comments

Comments
 (0)