|
|
|||||||||
|
|||||||||
| |||||||||
|
|
|
| |||||||||
![]() |
|
|
«
Previous Thread
|
Next Thread
»
|
Thread Tools | Search this Thread | Rate Thread | Display Modes |
|
|
|
Stop making mediocre tutorials.The best tutorials are video! Camtasia Studio makes it easy to create engaging, buzz-building screen videos at any size, in any popular format. Download the free trial!
|
|
#1
|
|||
|
|||
|
Apache Modules and ap_hooks
I have developed an really nice Apache Module, but have run into an oddity.
it appears randomly, and I can't figure it out, but my ap_hook_handler for the post_read_request seems to get called 3 times for each inbound request. Note this only occurs on php files, it works fine on regular html, jpgs, etc... Why and how do I stop this nonsense. It is a horrible waste of cpu cycles to call the handle 3 times. Jeff |
|
#2
|
||||
|
||||
|
Welcome to Dev Shed.
FYI: There aren't too many Apache module developers here, so feel free to answer some module related questions when they get posted (or search for the ones that have never been answered).
__________________
# Jeremy Explain your problem instead of asking how to do what you decided was the solution. |
|
#3
|
|||
|
|||
|
Will do.
What I have discovered over the weekend is that the 3 calls run synchronized. So I have tricked the module and only Decline the first one and block the other 2. Seems work out just fine. Now I am digging into the fun of trying to unload the POST Data ![]() Jeff |
![]() |
| Viewing: Dev Shed Forums > System Administration > Apache Development > Apache Modules and ap_hooks |
| Thread Tools | Search this Thread |
| Display Modes | Rate This Thread |
|
|
|
|
|