Eliminate a string allocation in folly::SocketAddr and bug in char[] conversion
Summary: We were doing an unnecessary and wasteful string conversion in the SocketAddr codepath. This eliminates it. I also noticed we had an off-by-one in the "convert string to char buffer" code path, so I added a test to confirm the bug and fixed it. Reviewed By: yfeldblum, meyering Differential Revision: D3817959 fbshipit-source-id: 51fed8331ab23c0888a3d1f9e0cc9cea5ea8329b
Showing
Please register or sign in to comment