:)
The C example still works with ap_hook_handler, maybe they made it a
macro or something?
I believe the translation was for apache 2.2.3 header files, based on
the ap_mmn.inc included in fpc/packages/httpd22
In the comments there we can see
* 20051115.2 (2.2.2) added inreslist member to proxy_conn_rec (minor)
* 20051115.3 (2.2.3) Added server_scheme member to server_rec (minor)
}
as last entry. The same file for apache 2.2.9 continues with more entries to
* 20051115.2 (2.2.2) added inreslist member to proxy_conn_rec (minor)
* 20051115.3 (2.2.3) Added server_scheme member to server_rec (minor)
* 20051115.4 (2.2.4) Added ap_get_server_banner() and
* ap_get_server_description() (minor)
* 20051115.5 (2.2.5) Added ap_mpm_safe_kill() (minor)
* 20051115.6 (2.2.7) Added retry_set to proxy_worker (minor)
* 20051115.7 (2.2.7) Added conn_rec::clogging_input_filters (minor)
* 20051115.8 (2.2.7) Added flags to proxy_alias (minor)
* 20051115.9 (2.2.7) Add ap_send_interim_response API
* 20051115.10(2.2.7) Added ap_mod_status_reqtail (minor)
* 20051115.11(2.2.7) Add *ftp_directory_charset to proxy_dir_conf
* 20051115.12(2.2.8) Add optional function ap_logio_add_bytes_in() to
mog_logio
* 20051115.13(2.2.9) Add disablereuse and disablereuse_set
* to proxy_worker struct (minor)
* 20051115.14(2.2.9) Add ap_proxy_ssl_connection_cleanup and
* add *scpool, *r and need_flush to proxy_conn_rec
* structure
* 20051115.15(2.2.9) Add interpolate_env to proxy_dir_conf and
* introduce proxy_req_conf.
*
*/
So from the
MODULE_MAGIC_NUMBER_MINOR = 3; // 0...n
we can see it was 2.2.3 when translated for FPC
for apache 2.2.9, the MODULE_MAGIC_NUMBER_MINOR is 15
But the question is, if they changed it so much how come all this works
for Windows then?
Felipe Monteiro de Carvalho wrote:
wow, I just downloaded the source code of apache 2.2.9 and I can't
even find ap_hook_handler! o.O I think they removed the function.
I just looked at the apache 2.2 fpc headers, and the version info is
missing. I somehow forgot to write in which apache version the
translation was based.
based on the huge difference between our headers and the c headers
that I see, I think that the entire fpc apache 2.2 headers need to be
reviewed.
But I am really confused. How could apache 2.2 change so much? Maybe
it was still experimental when I did the initial translation?
And what substitutes ap_hook_handler?
_______________________________________________
fpc-devel maillist - fpc-devel@lists.freepascal.org
http://lists.freepascal.org/mailman/listinfo/fpc-devel