Permalink
Browse files

Fixing an error with the Close vs. Flush

  • Loading branch information...
1 parent 43d0271 commit ea089dacefce6d8f08631076cf677286129a24c7 @ayende ayende committed Jun 16, 2011
Showing with 1 addition and 1 deletion.
  1. +1 −1 Raven.Client.Lightweight/Connection/HttpJsonRequest.cs
@@ -282,7 +282,7 @@ public void Write(string data)
using (var dataStream = webRequest.GetRequestStream())
{
dataStream.Write(byteArray, 0, byteArray.Length);
- dataStream.Close();
+ dataStream.Flush();
}
}

0 comments on commit ea089da

Please sign in to comment.