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. Maybe I should also register the trace and see if that still
fires. Okay did that,
the trace filter doesn't fire either.
--Tom Jackson

Peter M. Jansson wrote:

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 is
running on a RH 8.0 box.

Pete.

On Mon, 3 Mar 2003, Tim Moss wrote:



We'll try this on our RH8.0 box tomorrow and will let you know the outcome
ASAP.



-----Original Message-----
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 preauth GET /* myfilter

When I connect to / I get no return from the server at all, it just
closes the connection. The error log shows
that the proc myfilter is not found. (Also Mozilla on RH8.0 seems to try
the connection 7 or so times because of the
disconnect)





I. To remove yourself from this list:


Send a message to "[EMAIL PROTECTED]"  with the following text in
the BODY of your message:

signoff aolserver

II. For a complete list of listserv options please visit:

http://listserv.aol.com/

III. For more AOLserver information please visit:

http://www.aolserver.com/







I. To remove yourself from this list:


Send a message to "[EMAIL PROTECTED]"  with the following text in
the BODY of your message:

signoff aolserver

II. For a complete list of listserv options please visit:

http://listserv.aol.com/

III. For more AOLserver information please visit:

http://www.aolserver.com/

Reply via email to