IOBuf::moveToFbString legacy 4GiB limit
authorNicholas Ormrod <njormrod@fb.com>
Wed, 26 Nov 2014 01:42:05 +0000 (17:42 -0800)
committerDave Watson <davejwatson@fb.com>
Thu, 11 Dec 2014 15:59:01 +0000 (07:59 -0800)
commit929e93d49bfe69a76b848c03aacf4164621dd3dd
tree9a21063d51bf1b6dda783b4f2cfc1cc0abc69e3b
parenteb9d7cd7754c3f21ec767e261dff0906c35d0cf6
IOBuf::moveToFbString legacy 4GiB limit

Summary:
IOBufs now support larger than 4GiB chunks. One of the checks
was not removed. Tracing through the capacity, its use if all 64-bit
compatible.

Test Plan: moveToFbString a 4GiB+ IOBuf element.

Reviewed By: maxim@fb.com

Subscribers: net-systems@, sdwilsh, njormrod, folly-diffs@

FB internal diff: D1705316

Tasks: 5648445

Signature: t1:1705316:1416965241:d9d064bbde53e033d32bfe872b3445ee59005f5e
folly/io/IOBuf.cpp