From 94ad55185641bca6d36858ef7e8bad800202f484 Mon Sep 17 00:00:00 2001 From: Thomas Gazagnaire Date: Wed, 11 Mar 2015 17:52:00 +0000 Subject: [PATCH 1/3] Update CHANGES --- CHANGES.md | 2 ++ 1 file changed, 2 insertions(+) diff --git a/CHANGES.md b/CHANGES.md index 54e34e308..af31b1df5 100644 --- a/CHANGES.md +++ b/CHANGES.md @@ -1,4 +1,6 @@ # 1.4.11 +* Fix multi round-trips in the smart HTTP protocol. This fixes + depth-limited clones (#71) and fetches. * Create the `git.http` library for abstracting away bits of the smart HTTP protocol. * Add `User-Agent` in the headers of the smart HTTP protocol. This From f5efe76ad201f39e4c83cf4736a82246efb9c95c Mon Sep 17 00:00:00 2001 From: Thomas Gazagnaire Date: Wed, 11 Mar 2015 17:54:54 +0000 Subject: [PATCH 2/3] Remove catch all exception handler --- lib/http/git_http.ml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/lib/http/git_http.ml b/lib/http/git_http.ml index 24a2be8d9..9c2599d79 100644 --- a/lib/http/git_http.ml +++ b/lib/http/git_http.ml @@ -281,8 +281,8 @@ module Flow(HTTP: CLIENT) (IC: CHAN) (OC: CHAN) = struct let reconnect ctx = let t, u = Lwt.task () in Lwt.ignore_result @@ with_conduit uri (fun (nic, noc) -> - (try HTTP.close_in ctx.ic with _ -> ()); - (try HTTP.close_out ctx.oc with _ -> ()); + HTTP.close_in ctx.ic; + HTTP.close_out ctx.oc; ctx.ic <- nic; ctx.oc <- noc; ctx.reader <- None; From be20c4a60a060a5518c984a4f883b07ee3920eac Mon Sep 17 00:00:00 2001 From: Thomas Gazagnaire Date: Wed, 11 Mar 2015 17:56:33 +0000 Subject: [PATCH 3/3] Remove warn-error for the release --- _tags | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/_tags b/_tags index 9535c69ca..5d4cbd573 100644 --- a/_tags +++ b/_tags @@ -172,4 +172,5 @@ true: annot, bin_annot : use_git-unix # OASIS_STOP true: debug, bin_annot -true: warn_error_A, warn(A-4-41-44) +true: warn(A-4-41-44) +# true: warn_error_A \ No newline at end of file