Re: About the order of execution of the modules.

2021-03-15 Thread ADD SP
Hi there! My questions have all been resolved, thank you very much! Ø If you can't find a "here is the recipe to ensure that your module always executes in *this* position in the list" document, that might be because the product does not intend to make guarantees that that method will remain wo

Re: About the order of execution of the modules.

2021-03-15 Thread Francis Daly
On Mon, Mar 15, 2021 at 06:49:44AM +, ADD SP wrote: Hi there, > > It is not clear to me that that "so" statement is true. > > I made a stupid mistake. I didn't recompile nginx and my modules when I > debugged with GDB, so I thought that "ngx_module_order" wouldn't solve my > problem, but w

Re: About the order of execution of the modules.

2021-03-14 Thread ADD SP
Hi there! Thank you very much for your help! > It is not clear to me that that "so" statement is true. I made a stupid mistake. I didn't recompile nginx and my modules when I debugged with GDB, so I thought that "ngx_module_order" wouldn't solve my problem, but when I retested it I found that

Re: About the order of execution of the modules.

2021-03-14 Thread Francis Daly
On Sun, Mar 14, 2021 at 05:43:19PM +, SP ADD wrote: Hi there, What follows is based on my reading of the docs; I may have missed something, and I am happy to be corrected by someone who knows what really happens. > In my module, ngx_module_type is set to HTTP, so ngx_module_order doesn't >

Re: About the order of execution of the modules.

2021-03-14 Thread SP ADD
There are some errors in the content of my reply just now, I will re-post the question I wanted to ask, please see the previous reply for the rest of the content. * How to control the order of execution between dynamic stock modules and my dynamic module. * How to control the order of execution

Re: About the order of execution of the modules.

2021-03-14 Thread SP ADD
t question, have I looked at https://forum.nginx.org/read.php?2,246978,246999#msg-246999 and can the answers there be used to control the order between the static stock modules and my static modules? ADD-SP 发件人: nginx 代表 Francis Daly 发送时间: 2021年3月14日 23:18 收件人: nginx@ng

Re: About the order of execution of the modules.

2021-03-14 Thread Francis Daly
On Sun, Mar 14, 2021 at 08:55:20AM +, ADD SP wrote: Hi there, > I am a developer of third-party modules. Assuming that all modules are > registered in the same phase (e.g. NGX_HTTP_ACCESS_PHASE) I would like to > know the order of execution between dynamic modules. Can I control the order

About the order of execution of the modules.

2021-03-14 Thread ADD SP
Hello! I am a developer of third-party modules. Assuming that all modules are registered in the same phase (e.g. NGX_HTTP_ACCESS_PHASE) I would like to know the order of execution between dynamic modules. Can I control the order of execution between dynamic modules? What is the order of executi