> From: Andr� Malo <[EMAIL PROTECTED]>
> The request is independent from the connection. I'd count the storage
> of the request user in r->connection in 1.3 as wrongly designed. The
> second is a technical reason. In 2.x connection and request are
> *really* separated, so storing the user in the connection structure
> would be even more problematic.
>
patch to remove erroneous comment supplied
--- protocol.c Thu Sep 4 10:03:11 2003
+++ protocol-2.0.47.c Thu Sep 4 10:02:59 2003
@@ -1142,6 +1142,10 @@
}
t = ap_pbase64decode(r->pool, auth_line);
+ /* Note that this allocation has to be made from r->connection->pool
+ * because it has the lifetime of the connection. The other allocations
+ * are temporary and can be tossed away any time.
+ */
r->user = ap_getword_nulls (r->pool, &t, ':');
r->ap_auth_type = "Basic";
> nd
---
Aryeh Katz
Secured-Services Inc.