Hi, is there any example mod_slotmem codes that we can understand the
usage? Or could you give me an usage example?
Sorry, I can't. I haven't used it myself but someone mentioned it in
one of your previous threads.
And i want to ask a question,
is it a problem to create
typedef struct node
Hi,
apr_shm_baseaddr_get returns the base address for the shared memory
segment. You will have to implement your own allocator within the shared
memory. Also keep in mind that you can't reliably use pointers inside the
shared memory segment, because - as the documentation states - the
During which hook is it not set? Had anyone bothered to grep the code to see
where it's supposed to be set?
It is not set during the post_read_request hook. I quickly greped the
code and it seems like it is being set in the fixups hook which is too
late for me.
-- Ignaz
I just check the local port:
c-local_addr-port == 443 - HTTPS
c-local_addr-port == 80 - HTTP
It should work for most implementations.
Well the ports can be configured, e.g. in my development environment I
let Apache listen on 8000 resp. 8443. The scheme detection should work
for all
I implemented something very similar for my module: Dynamic
configuration data is retrieved from a remote server and should be
shared among all worker processes. Fortunately the configuration
changes only sporadically so I implemented it using
serialization/deserialization to/from the shared
Hello,
I start a thread during the post_config which checks the state of the
hardware machine.
If something goes wrong, this thread has to stop the Apache server.
Is it possible ?
For now, I am only able to kill the root process and I have to duplicate
this thread on each child in order to
2011/3/31 Ignaz Birnstingl ign...@gmail.com:
2011/3/30 Ben Noordhuis i...@bnoordhuis.nl:
On Wed, Mar 30, 2011 at 16:25, Ignaz Birnstingl ign...@gmail.com wrote:
we are trying to develop a proprietary (i.e. closed-source, binary-shipped)
Apache module and have run into troubles with binary