← Commit list

ea90a97446

Stefan Eissing
Stefan Eissing
2026-09-04
SUCCESS Duration: 401s

Subject

digest: check peer equality for staleness

Binary

No binary (build failed)

Architecture & Compiler Flags

Architecture: x86_64-linux-gnu Compiler: gcc (Ubuntu 11.4.0-1ubuntu1~22.04.3) 11.4.0

—

Build Log

(log yok)

Commit Diff GitHub →

lib/http_digest.c+1 -1
@@ -41,7 +41,7 @@ static void digest_flush_stale(struct Curl_easy *data,
struct Curl_creds *creds)
{
bool flush = FALSE;
- if(digest->origin && !Curl_peer_same_destination(peer, digest->origin)) {
+ if(digest->origin && !Curl_peer_equal(peer, digest->origin)) {
CURL_TRC_M(data, "http_digest, reset on peer change to %s:%u",
peer->hostname, peer->port);
flush = TRUE;