Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

fix(core): use require implementation written in Lua #11610

Closed
wants to merge 1 commit into from

Commits on Sep 20, 2023

  1. 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.
    hanshuebner committed Sep 20, 2023
    Configuration menu
    Copy the full SHA
    fab27cc View commit details
    Browse the repository at this point in the history