Tags: jesboat/folly
Tags
Retry bistro tests up to 5 times Differential Revision: D25985696 fbshipit-source-id: 52ede8dc494f8bf1991dbfed455fbc6bbba83d87
Simplify ThreadedExecutor Summary: The implementation doesn't need explicit locking or condition variables, everything can be done with a single concurrent queue. Reviewed By: yfeldblum Differential Revision: D25919429 fbshipit-source-id: a2b1e6332305174ba41d02fd79d9525a12b82218
Fix Timekeeper.executor test Summary: 1. Patch the test to remove racy behavior 2. Added another test for a case where the timeout is hit. Reviewed By: yfeldblum Differential Revision: D25854609 fbshipit-source-id: c1694e5b46b9645dc3e71a12ddc8ed12e8cf270c
Initialize the context first to skip the tests if the backend is not … …available Summary: Initialize the context first to skip the tests if the backend is not available Reviewed By: kevin-vigor Differential Revision: D25742461 fbshipit-source-id: 4cbe9545d358dd2bb3ca9297d8b46e80c54f53f7
AsyncSocket facility to read ancillary data Summary: Defined new callback - ReadAncillaryDataCallback, which enables getting ancillary data when receive a message using recvmsg API. Reviewed By: cgrushko Differential Revision: D24246707 fbshipit-source-id: 3363b5fafe8d370cf5560afe00476fc8ea723e7a
fix Arena total-size accounting across clear Summary: Fix `Arena` total-size accounting across calls to `clear`, as reported by member `totalSize`. Reviewed By: luciang Differential Revision: D25656867 fbshipit-source-id: b5c7bb0e95199a9fa2c94c04de65b8f494eef146
Fix include order and grouping in folly - 13/13 Summary: All changes were automated Reviewed By: Orvid Differential Revision: D25507592 fbshipit-source-id: 3ce36732a2d1c691087fbd95c3e87f554f4d8d98
folly: utf8ToCodePoint: enforce max valid code point is U+10FFFF - re… …turn U+FFFD / throw for well-formed UTF-8 encoded values that are larger than the max code point Summary: UTF-8 can encode large numbers, but Unicode code points are only defined up to `U+10FFFF`. For example: - the 4B UTF-8 encoding `"\xF6\x8D\x9B\ xBC"` (bits: `11110110 10001101 10011011 10111100`) is a valid UTF-8 encoding - but the encoded value is `U+18D6 (https://github.com/facebook/folly/commit/d40182262d41679cab28f6be7366cc5ff901683b)FC` which is larger than `U+10FFFF` With `opts.skip_invalid_utf8 = true;` `json::serialize` should have returned `"\ufffd"` since it the input is invalid, but due to a bug in `utf8ToCodePoint` it returned the incorrect `"\"\xF6\x8D\x9B\xBC\""`. Update `utf8ToCodePoint` to also reject 4 byte UTF-8 encoded values larger than the max Unicode code point (`U+10FFFF`). Reviewed By: luciang Differential Revision: D25275722 fbshipit-source-id: e7daeea834a0c5323923a5451a2565ceff5e4734
Adding yaml-cpp fboss code for oss Summary: Added yaml-cpp library to the fboss OSS build Reviewed By: shri-khare Differential Revision: D25126509 fbshipit-source-id: 1e88150dbf8c96a5ac696e003265dc1f14bec105
Adding yaml-cpp fboss code for oss Summary: Added yaml-cpp library to the fboss OSS build Reviewed By: shri-khare Differential Revision: D25126509 fbshipit-source-id: 1e88150dbf8c96a5ac696e003265dc1f14bec105
PreviousNext