So I'm guessing noone else had this issue? Seems like filters are hosed.
--Tom Jackson
Tom Jackson wrote:
I am running a minimum current checkout of AOLserver. My init.tcl file
has the following:
proc myfilter { } {
ns_return 200 text/plain Hi there
return filter_return
}
ns_register_filter
Sorry I didn't really read this sooner. I've got a preauth filter in my
4.0b2 setup, and it's working fine. I notice you declared your filter
with no arguments, but I declared mine with this:
proc some_filter { args } {
Maybe it doesn't like being declared as having no arguments? Mine
Yes, got that, I took it out to test what the effect would be. But I did
just verify that now when you have an incorrect number of arguments to a
filter, AOLserver just logs the error and closes the connection. I'll
check into the exact bug here. Must be a return code that is being over
used.