Skip to content
This repository has been archived by the owner on Jul 11, 2023. It is now read-only.

Support run in stream subsystem #144

Open
tzssangglass opened this issue Aug 19, 2022 · 0 comments
Open

Support run in stream subsystem #144

tzssangglass opened this issue Aug 19, 2022 · 0 comments

Comments

@tzssangglass
Copy link
Member

Hi folks, thank you for open sourcing this lib.

Since the ngx.semaphore API already support for ngx_stream_lua(ref: openresty/lua-resty-core@4e5a130), will you consider supporting running this lib in the stream subsystem?

I do some test and hacked supported_semaphore_wait_phases like:

  local supported_semaphore_wait_phases = {
    rewrite = true,
    access = true,
    content = true,
    timer = true,
    ssl_cert = true,
    ssl_session_fetch = true,
    preread = true,
  }

it works well in stream subsystem.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant