Nginx DSO(dynamic loadable module)

Hello,

I wrote nginx dso module and tested GNU/Linux i386/x86_64.

Also this module working independent from main unit, but It need
slightly modification of the nginx build script.

Can you review and apply patches?

Thank you.

Hello!

On Wed, Nov 30, 2011 at 02:19:47PM +0900, Tsukasa Hamano wrote:

Can you review and apply patches?
Unfortunately, this won’t work even if implemented properly. Most
serious issue is that there should be ABI compatibility maintained
and checked, this is not currently the case even within single
unmodified nginx release: there are configure arguments which
change layout of various internal structures.

Other problems include e.g. proper handling of reloads.

Maxim D.

Hi,

Thank you for your response.

At Wed, 30 Nov 2011 14:22:21 +0400,
Maxim D. wrote:

Unfortunately, this won’t work even if implemented properly. Most
serious issue is that there should be ABI compatibility maintained
and checked, this is not currently the case even within single
unmodified nginx release: there are configure arguments which
change layout of various internal structures.

I understand how hard it is ABI compatibility maintain.
So, How about just conforming nginx version and nginx version was
compiled with the module.

Look at the Makefile of example module.

Now, Nginx version numbber embedded in the dso module.
It ensure sameness of nginx version by the mod_so and shared module.

Other problems include e.g. proper handling of reloads.

I’ll fix it, Please tell me if there is another problems.

Thank you.