Re: [AOLSERVER] Critical filter failed

2002-01-07 Thread Jim Wilcoxson
What would be even better is to just write the code right in the first place so that no error ever happens. (I tried that. I came close.) People make mistakes. Server software should do something reasonable. The problem with just closing the connection is: - the user will get connection

Re: [AOLSERVER] Critical filter failed

2002-01-07 Thread Peter M. Jansson
Yes. I am arguing that the server should always return a 500 if it reaches the end of a connection with no other results. I don't know the technical feasibility of this but it does not seem like correct behavior to return nothing to the user. I think the problem is that a filter can

Re: [AOLSERVER] Critical filter failed

2002-01-07 Thread Jim Wilcoxson
Maybe there needs to be a flag in ns_write and friends to indicate that something has been written to the connection. If not, send out a 500 before closing the connection. To me, this seems like a general error condition not specific to filters. I imagine (but don't know for a fact) that there

Re: [AOLSERVER] Critical filter failed

2002-01-07 Thread David Walker
Perhaps ns_atclose might fulfill some of your needs. Build a preauth filter with a ns_atclose myproc statement in it and myproc will be executed after everything else just before connection close. On Monday 07 January 2002 11:14 am, you wrote: On 2002.01.07, Jim Wilcoxson [EMAIL PROTECTED]

Re: [AOLSERVER] Critical filter failed

2002-01-07 Thread Dossy
On 2002.01.07, David Walker [EMAIL PROTECTED] wrote: Perhaps ns_atclose might fulfill some of your needs. Build a preauth filter with a ns_atclose myproc statement in it and myproc will be executed after everything else just before connection close. Registering a script with ns_atclose won't

Re: [AOLSERVER] Critical filter failed

2002-01-07 Thread David Walker
hmm. Under Linux I issued a ns_write command from a procedure called by ns_atclose and the output was appended to the previous ns_write output and displayed in my browser. The docs don't actually specify whether it should take place before or after the connection close. On Monday 07 January

Re: [AOLSERVER] Critical filter failed

2002-01-07 Thread Jerry Asher
Totally agree. In fact, I think there may be other cases where AS 3.4 doesn't log Bad Request errors that are internally generated by AS. I have had users do screen shots of Bad Request, yet I can't find them in my logs. Could be stupidity on my part...dunno yet. Jim I can confirm that

Re: [AOLSERVER] Critical filter failed

2002-01-07 Thread Dossy
On 2002.01.07, David Walker [EMAIL PROTECTED] wrote: hmm. Under Linux I issued a ns_write command from a procedure called by ns_atclose and the output was appended to the previous ns_write output and displayed in my browser. The docs don't actually specify whether it should take place before

Re: [AOLSERVER] Critical filter failed

2002-01-07 Thread Dave Siktberg
] Critical filter failed On 2002.01.07, Jim Wilcoxson [EMAIL PROTECTED] wrote: Maybe there needs to be a flag in ns_write and friends to indicate that something has been written to the connection. If not, send out a 500 before closing the connection. Strangely, while I was implementing some

Re: [AOLSERVER] Critical filter failed

2002-01-07 Thread Dossy
On 2002.01.07, Dave Siktberg [EMAIL PROTECTED] wrote: You could use such a feature to force the order of trace filters. Perhaps that would address your need. I already said that trace filters aren't what I need. Trace filters are executed too late. Unless I'm wrong. My testing a while back

Re: [AOLSERVER] Critical filter failed

2002-01-06 Thread Tom Jackson
David Walker wrote: When the error below appears wouldn't the proper response be a 500 server error? The 3.4 way of handling this is to return nothing. Error: tclop: invalid return code from filter proc 'Critical filter sec_read_security_info failed.': must be filter_ok, filter_return, or