-
Notifications
You must be signed in to change notification settings - Fork 4.8k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
fix(*): use require implementation written in Lua
Some of the libraries that we use perform socket functions while they are being required(). This causes problems if the initial require() of the module is done from running code (instead of on the module global level) as require is implemented in C, and yielding is not possible across the boundaries of a FFI invocation. This commit replaces the require() implementation by one that is written in Lua so that yielding is possible on the module global level.
- Loading branch information
1 parent
94fbf7e
commit fab27cc
Showing
5 changed files
with
16 additions
and
8 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,7 @@ | ||
"message": "Use `require` implementation written in Lua to enable cosocket calls on the module level of libraries" | ||
"type": "feature" | ||
"scope": "Core" | ||
"prs": | ||
- 11610 | ||
jiras: | ||
- "KAG-2595" |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
File renamed without changes.