Skip to content

Commit

Permalink
Disable http pipelining
Browse files Browse the repository at this point in the history
Pipelining isn't supported by elasticsearch.  Closes #830.
  • Loading branch information
gmarz committed Jul 31, 2014
1 parent 147d5b4 commit 9c84528
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions src/Elasticsearch.Net/Connection/HttpConnection.cs
Original file line number Diff line number Diff line change
Expand Up @@ -184,6 +184,7 @@ protected virtual HttpWebRequest CreateWebRequest(Uri uri, string method, byte[]
myReq.Accept = "application/json";
myReq.ContentType = "application/json";
myReq.MaximumResponseHeadersLength = -1;
myReq.Pipelined = false;
//myReq.AllowWriteStreamBuffering = false;
if (this.ConnectionSettings.EnableCompressedResponses)
{
Expand Down

0 comments on commit 9c84528

Please sign in to comment.