Skip to content

Conversation

@slimboyfat
Copy link

@slimboyfat slimboyfat commented Feb 20, 2019

… name's resolution from Lua code using Nginx core's dynamic resolver.

Please, check my new FFI-based implementation. Lua-part (openresty/lua-resty-core#235)

Let me propose a new API function for Lua - ngx.resolve. This function relies on Nginx core's dynamic resolver. This approach has several advantages e.g: common query cache for Nginx core & Lua code with ability to customize caching policy by DNS TTL/custom timeout.

I hereby granted the copyright of the changes in this pull request
to the authors of this lua-nginx-module project.

… name's resolution from Lua code using Nginx core's dynamic resolver.
static void ngx_http_lua_resolve_empty_handler(ngx_resolver_ctx_t *ctx);
static ngx_int_t ngx_http_lua_resolve_resume(ngx_http_request_t *r);
static int ngx_http_lua_resolve_retval(ngx_http_lua_resolver_ctx_t *ctx,
lua_State *L);
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Bad indentation. See the guide for details:

https://openresty.org/en/c-coding-style-guide.html

Also, make sure you run the ngx-releng tool mentioned in the guide as well. That tool should catch this.

@mergify
Copy link

mergify bot commented Aug 23, 2021

This pull request is now in conflict :(

@mergify
Copy link

mergify bot commented Mar 20, 2023

This pull request is now in conflict :(

@mergify mergify bot added the conflict label Mar 20, 2023
@mergify mergify bot removed the conflict label May 10, 2023
@mergify
Copy link

mergify bot commented May 10, 2023

This pull request is now in conflict :(

@mergify mergify bot added the conflict label May 10, 2023
@mergify mergify bot removed the conflict label Sep 23, 2023
@mergify
Copy link

mergify bot commented Sep 23, 2023

This pull request is now in conflict :(

@mergify mergify bot added the conflict label Sep 23, 2023
@mergify mergify bot removed the conflict label Mar 6, 2024
@mergify
Copy link

mergify bot commented Mar 6, 2024

This pull request is now in conflict :(

@mergify mergify bot added the conflict label Mar 6, 2024
@mergify mergify bot removed the conflict label May 27, 2024
@mergify
Copy link

mergify bot commented May 27, 2024

This pull request is now in conflict :(

@mergify mergify bot added the conflict label May 27, 2024
@oowl oowl mentioned this pull request Dec 19, 2024
@mergify mergify bot removed the conflict label Feb 13, 2025
@mergify
Copy link

mergify bot commented Feb 13, 2025

This pull request is now in conflict :(

@mergify mergify bot added the conflict label Feb 13, 2025
@mergify mergify bot removed the conflict label Jul 9, 2025
@mergify
Copy link

mergify bot commented Jul 9, 2025

This pull request is now in conflict :(

@mergify mergify bot added the conflict label Jul 9, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment