diff --git a/org.eclipse.jgit.iplog/src/org/eclipse/jgit/iplog/IPZillaQuery.java b/org.eclipse.jgit.iplog/src/org/eclipse/jgit/iplog/IPZillaQuery.java index 74bc10c50..7d9f9a64c 100644 --- a/org.eclipse.jgit.iplog/src/org/eclipse/jgit/iplog/IPZillaQuery.java +++ b/org.eclipse.jgit.iplog/src/org/eclipse/jgit/iplog/IPZillaQuery.java @@ -48,6 +48,7 @@ import java.io.IOException; import java.io.InputStream; import java.io.InputStreamReader; import java.io.OutputStream; +import java.io.Reader; import java.io.UnsupportedEncodingException; import java.net.ConnectException; import java.net.CookieHandler; @@ -67,6 +68,8 @@ import java.util.List; import java.util.Map; import java.util.Set; import java.util.TreeSet; +import java.util.regex.Matcher; +import java.util.regex.Pattern; import org.eclipse.jgit.util.HttpSupport; @@ -186,6 +189,41 @@ class IPZillaQuery { + " failed: " + c.getResponseCode() + " " + c.getResponseMessage()); } + + String content = readFully(c); + Matcher matcher = Pattern.compile("