httpd-modules-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From ""<>
Subject Question about ap_get_module_config
Date Fri, 20 Oct 2006 16:30:59 GMT
Hi all,
I have a question about ap_get_module_config.
My module has to connect to different url to get the content.
So I was thinking to initialize my struct (in which I have different
information for example an array with the addresses of the url to get
the contents) in the server config.
The I wanted in the handler get my struct with ap_get_module_config and
then using it. 
My question is this: each element of the struct has some fields which is
filled by each child and it's different from child to child. For example
the content of url, the connection time and so on. 
So if I get the struct with ap_get_module_config, is it safe to modify
it? Or it's better to make a copy of it?
Best regards,


View raw message