diff options
author | simon <none@none> | 2014-11-03 18:02:49 -0800 |
---|---|---|
committer | simon <none@none> | 2014-11-03 18:02:49 -0800 |
commit | 3b50cdd74c5870d3268ed30e342f13cf188a7841 (patch) | |
tree | 9cae9119e97248beaacf4b19ff8056a2a4167142 /indra/llcorehttp/_httppolicyclass.cpp | |
parent | 0ffecdcfb203852a8f4a392331a5d177f8480bdd (diff) | |
parent | fa7610fea599a98cc6e79d3835a14f8e5ca2b6b1 (diff) |
Merge downstream code and become 3.7.20
Diffstat (limited to 'indra/llcorehttp/_httppolicyclass.cpp')
-rwxr-xr-x | indra/llcorehttp/_httppolicyclass.cpp | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/indra/llcorehttp/_httppolicyclass.cpp b/indra/llcorehttp/_httppolicyclass.cpp index f34a8e9f1e..2c0f650155 100755 --- a/indra/llcorehttp/_httppolicyclass.cpp +++ b/indra/llcorehttp/_httppolicyclass.cpp @@ -4,7 +4,7 @@ * * $LicenseInfo:firstyear=2012&license=viewerlgpl$ * Second Life Viewer Source Code - * Copyright (C) 2012-2013, Linden Research, Inc. + * Copyright (C) 2012-2014, Linden Research, Inc. * * This library is free software; you can redistribute it and/or * modify it under the terms of the GNU Lesser General Public @@ -78,8 +78,8 @@ HttpStatus HttpPolicyClass::set(HttpRequest::EPolicyOption opt, long value) mPerHostConnectionLimit = llclamp(value, long(HTTP_CONNECTION_LIMIT_MIN), mConnectionLimit); break; - case HttpRequest::PO_ENABLE_PIPELINING: - mPipelining = llclamp(value, 0L, 1L); + case HttpRequest::PO_PIPELINING_DEPTH: + mPipelining = llclamp(value, 0L, HTTP_PIPELINING_MAX); break; case HttpRequest::PO_THROTTLE_RATE: @@ -106,7 +106,7 @@ HttpStatus HttpPolicyClass::get(HttpRequest::EPolicyOption opt, long * value) co *value = mPerHostConnectionLimit; break; - case HttpRequest::PO_ENABLE_PIPELINING: + case HttpRequest::PO_PIPELINING_DEPTH: *value = mPipelining; break; |