lp://staging/folly
- Get this branch:
- bzr branch lp://staging/folly
Branch merges
Branch information
Import details
This branch is an import of the HEAD branch of the Git repository at https://github.com/facebook/folly.git.
Last successful import was .
Recent revisions
- 9855. By Jeff Thomas <email address hidden>
-
Add async stack trace to CO_TEST_P
Summary: Add async stack trace to `CO_TEST_P`
Reviewed By: ispeters
Differential Revision: D29800378
fbshipit-source-id: ce7a22f545f2a55
bd02ad5535f29ae a094063bfe - 9854. By Facebook Community Bot <email address hidden>
-
Re-sync with internal repository (#1619)
Co-authored-by: Facebook Community Bot <email address hidden>
- 9853. By Jon Janzen <email address hidden>
-
fbshipit-source-id: 80e349aa411d8b8
66747d1821b215a dfbc51b53f - 9852. By Orvid <email address hidden>
-
[folly] Add additional overflow checks to IOBuf - CVE-2021-24036
Summary:
As per titleCVE-2021-24036
Reviewed By: jan
Differential Revision: D27938605
fbshipit-source-id: 7481c54ae6fbb7b
67b15b3631d5357 c2f7043f9c - 9851. By Jeff Thomas <email address hidden>
-
Dump async stacks on uncaught exception from CO_TEST_
Summary: Dump async stacks on uncaught exception from CO_TEST_
Reviewed By: ispeters
Differential Revision: D29775971
fbshipit-source-id: 80e349aa411d8b8
66747d1821b215a dfbc51b53f - 9850. By Andrii Grynenko <email address hidden>
-
Fix makeValueObserver to call creator once on construction
Reviewed By: spalamarchuk
Differential Revision: D29784994
fbshipit-source-id: 0faac9c21f56061
d8d787f8bd4e2e6 1ed5fcaf6c - 9849. By Mihnea Olteanu <email address hidden>
-
Fix stub of sockets for EMSCRIPTEN and XROS
Summary:
The current implementation of function stubs in `SocketFileDescriptorMap. cpp` generates the following build errors:
```
stderr: xplat/folly/net/detail/ SocketFileDescr iptorMap. cpp:171: 3: error: 'socketToFd' has a non-throwing exception specification but can still throw [-Werror, -Wexceptions]
throw std::logic_error(" Not implemented!");
^
xplat/folly/net/detail/ SocketFileDescr iptorMap. cpp:170: 30: note: function declared non-throwing here
int SocketFileDescriptorMap: :socketToFd( void* sock) noexcept {
```
because the methods are stubbed out to throw and exception even though they are marked as `noexcept`.To fix the warning the subbing implementation is changed to call `std::terminate()` instead of throwing an exception. According to the language specification (https:/
/en.cppreferenc e.com/w/ cpp/language/ noexcept_ spec) this should not result in any change in run-time behavior, since throwing and exception in a method marked as `noexcept` is effectively a call to `std::terminate()`. Differential Revision: D29687674
fbshipit-source-id: 77405d8a31e45c8
836e8746c9b25e1 2ef06335c4 - 9848. By Xintong Hu <email address hidden>
-
Add API to set cmsg for write
Summary: allow users to set/append a list of cmsgs to be sent for each write
Reviewed By: bschlinker
Differential Revision: D29313594
fbshipit-source-id: 8f78c59ecfe56dd
b2c8c016d6105a6 76cd501c18 - 9847. By Alex Zhu <email address hidden>
-
Add AsyncSSLSocket:
:setSupportedPr otocols Summary: This diff adds AsyncSSLSocket:
:setSupportedPr otocols, analagous to SSL_set_ alpn_protos, which allows connection specific ALPNs to be set. Prior to this diff, there was no easy way to change the set of ALPNs to use other than creating a separate SSLContext or manually using the low level OpenSSL interface. Reviewed By: mingtaoy
Differential Revision: D29247716
fbshipit-source-id: 6f378b4fc75f404
e06fe0131ab520b 7e4b8f33b6 - 9846. By Dan Melnic <email address hidden>
-
Add support for Subprocess to call sched_setaffinity
Summary: Add support for Subprocess to call sched_setaffinity
Reviewed By: yfeldblum
Differential Revision: D29722725
fbshipit-source-id: b0d4577bf3caaeb
65137c8168bd27e 1f402969da
Branch metadata
- Branch format:
- Branch format 7
- Repository format:
- Bazaar repository format 2a (needs bzr 1.16 or later)