How the Lighttpd plugin (module) works

How the Lighttpd plugin (module) works

Lighttpd exposes HTTP level (L7) hook points while processing HTTP request.

Each module specifies callback function for each hook points in its program code (e.g., mod_.*.c) and it is registered by PLUGIN_TO_SLOT() macro in plugin.c.

Registered callbacks are called by plugins_call_.*() function call which are spread on response.c,  connections.c, network.c and server.c.

Leave a Reply

This site uses Akismet to reduce spam. Learn how your comment data is processed.