Re: Does Apache httpd server dynamically generate just-in-time (JIT) compiled code?

2015-04-17 Thread Reindl Harald



Am 17.04.2015 um 23:29 schrieb Yue Chen:

Hi,

In some OS's, the network stack would compile packet filters to the
native code, like the Berkeley Packet Filter (BPF)


apache and packet filter are completly different things at completly 
different layers




signature.asc
Description: OpenPGP digital signature


Does Apache httpd server dynamically generate just-in-time (JIT) compiled code?

2015-04-17 Thread Yue Chen
Hi,

In some OS's, the network stack would compile packet filters to the native
code, like the Berkeley Packet Filter (BPF).

Would Apache httpd server also do this? In httpd, what's the usage of
function ``ap_core_input_filter'', and does this function generate JIT
code?  If it does, will the generated code contain code pointers to its
original static code in ``ap_core_input_filter''?

I go through the source code, but cannot get much sense on what it does and
how it works.

Best thanks and regards,
Yue