httpd-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Tony Finch <>
Subject Re: conn_rec struct members destroyed in keep-alaive connection?
Date Thu, 11 Mar 1999 14:33:01 GMT
"Peter 'Luna' Altberg" <> wrote:
>I'm writing on a authentication module. I have a problem that
>conn_rec->user and conn_rec->ap_auth_type isn't kept on subsequent
>requests on the same connection (they turns into NULL again). I want to
>be able to skip the authentication work on a allready authenticated

HTTP authentication is per-request, not per-connection. It's a known
problem that conn_rec->user and the other auth stuff is in the wrong
place -- it should be request_rec->user.

>    conn->user         = NULL;
>    conn->ap_auth_type = NULL;
>They turn into NULL indeed! Why is this necessary? I removed these
>lines, and my problem went away. But what else breaks?

HTTP :-)


View raw message