summaryrefslogtreecommitdiff
path: root/apache2x/mod_httpauth.c
diff options
context:
space:
mode:
authorStef Walter <stef@memberwebs.com>2006-05-17 23:19:52 +0000
committerStef Walter <stef@memberwebs.com>2006-05-17 23:19:52 +0000
commitacbe1e8b817da2bb32d2db79a56748d829d84baa (patch)
tree44a247eb8a0fb820c9f7970a69421e839474f243 /apache2x/mod_httpauth.c
parent972952bb7b44e8c7c469acd34131232d370ded53 (diff)
0.5.1
- Fix problem with NTLM connection caching
Diffstat (limited to 'apache2x/mod_httpauth.c')
-rw-r--r--apache2x/mod_httpauth.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/apache2x/mod_httpauth.c b/apache2x/mod_httpauth.c
index ff4494e..9e8a95a 100644
--- a/apache2x/mod_httpauth.c
+++ b/apache2x/mod_httpauth.c
@@ -624,7 +624,8 @@ int write_request(httpauth_context_t* ctx, request_rec* r)
const apr_table_entry_t* elts;
/* A unique per connection id */
- snprintf(connid, sizeof(connid), "0x%X", (unsigned int)r->connection);
+ snprintf(connid, sizeof(connid), "0x%X-%X",
+ (unsigned int)r->connection, (unsigned int)r->connection->id);
connid[sizeof(connid) - 1] = 0;
snprintf(pidid, sizeof(pidid), "%d", (unsigned int)getpid());
pidid[sizeof(pidid) - 1] = 0;