httpd-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Dean Gaudet <dgau...@arctic.org>
Subject Re: Moving user and auth_type to request_rec
Date Tue, 23 Mar 1999 21:15:08 GMT


On Tue, 23 Mar 1999, Ryan Bloom wrote:

> -    r->connection->user = ap_getword_nulls (r->connection->pool, &t,
':');
> -    r->connection->ap_auth_type = "Basic";
> +    r->user = ap_getword_nulls (r->connection->pool, &t, ':');
                                   ^^^^^^^^^^^^^^^^^^^ wrong pool.

> +    r->ap_auth_type = "Basic";

>  	user = ap_getword_nulls (r->connection->pool, &password, ':');
                                 ^^^^^^^^^^^^^^^^^^^ wrong pool

> -	r->connection->ap_auth_type = "Basic";
> -	r->connection->user = r->parsed_uri.user = user;
> +	r->ap_auth_type = "Basic";
> +	r->user = r->parsed_uri.user = user;
>  	nocache = 1;	/* This resource only accessible with username/password */
>      }
>      else if ((user = r->parsed_uri.user) != NULL) {

There could be more, I didn't look.

Dean


Mime
View raw message