Hello,
This is a change I'm making in my little Apache-variant, which I guess could
be included in the actualy server as well...
This is probably the first of umpteen related problems...
problem:
There's a function called ap_method_number_of in http_protocol.c. Now, if I
need to add some extra-http functionality outside the http modules, I'd need to add
all the methods in this function itself, which means that I can't make it an
independent module...
soln?
I'm going to keep a global hash table, which 2 new modules, mod_http_methods
and mod_myproto_methods will register all their methods in [at post_config?]. And
basically, a corresponding function [ap_method_number_of] in protocol.c, which'll
return the method number...
Comments? Also... any pitfalls / precautions I'd have to take?
TIA
-Sapan