From: Gustaf N. <ne...@wu...> - 2017-10-05 19:22:54
|
Hi David, so far, i could not recreate the problem. By reading the backtrace, the problem seems to be that the connection has no ns_set for the header fields. This is strange, since every ConnRun() sets these fields, an these are cleared after the ConnRun(), while the problem happens within ConnRun(). So i wonder, how connPtr->headers can be lost. I see from the backtrace, that the issue happens in a preauth filter named "filter_dos_check". Can it be, that this filter somehow causes a cleanup of the connection? I can't see in the code, where this might happen. For the time being, i've protected the crashing function call with test for the headers and added a debug line for the error.log. So, the crash at this very situation should disappear. But probably, the function should not be called in such situations at all, there might be as well other places, that depend on the assumption, that the ns_set for the header exists during the run. Do you see anything in your filter code related with this? -g |