author | Mark Wooding <mdw@distorted.org.uk> | |
Tue, 7 Feb 2006 10:07:39 +0000 (10:07 +0000) | ||
committer | Junio C Hamano <junkio@cox.net> | |
Tue, 7 Feb 2006 10:13:02 +0000 (02:13 -0800) | ||
commit | 53f313897e37f25e1411a6a7cfa328d642847345 | |
tree | 9e4832af9cef9d576af7cd67fe51d54f9662b761 | tree | snapshot |
parent | 66f04f38f42024dceb1679fc4d672de3746cf237 | commit | diff |
http-fetch: Abort requests for objects which arrived in packs
In fetch_object, there's a call to release an object request if the
object mysteriously arrived, say in a pack. Unfortunately, the fetch
attempt for this object might already be in progress, and we'll leak the
descriptor. Instead, try to tidy away the request.
Signed-off-by: Mark Wooding <mdw@distorted.org.uk>
Signed-off-by: Junio C Hamano <junkio@cox.net>
In fetch_object, there's a call to release an object request if the
object mysteriously arrived, say in a pack. Unfortunately, the fetch
attempt for this object might already be in progress, and we'll leak the
descriptor. Instead, try to tidy away the request.
Signed-off-by: Mark Wooding <mdw@distorted.org.uk>
Signed-off-by: Junio C Hamano <junkio@cox.net>
http-fetch.c | diff | blob | history | |
http.c | diff | blob | history | |
http.h | diff | blob | history |