Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Browse files

Fixing compilation on .NET 3.5

  • Loading branch information...
commit acef1aeee86e77ec63fd9895c0b09b866363e2c0 1 parent 9d491ff
@ayende ayende authored
Showing with 2 additions and 0 deletions.
  1. +2 −0  Raven.Client.Lightweight/Connection/HttpJsonRequest.cs
View
2  Raven.Client.Lightweight/Connection/HttpJsonRequest.cs
@@ -281,6 +281,7 @@ private string ReadStringInternal(Func<WebResponse> getResponse)
throw;
return result;
}
+#if !NET_3_5
catch (AggregateException e)
{
sp.Stop();
@@ -292,6 +293,7 @@ private string ReadStringInternal(Func<WebResponse> getResponse)
throw;
return result;
}
+#endif
ResponseHeaders = response.Headers;
ResponseStatusCode = ((HttpWebResponse)response).StatusCode;
Please sign in to comment.
Something went wrong with that request. Please try again.