commit | 313afba2ebc702d2d6f1b871025f8a671a43ee8f | [log] [tgz] |
---|---|---|
author | jbauch <jbauch@webrtc.org> | Thu Mar 03 11:41:05 2016 |
committer | Commit bot <commit-bot@chromium.org> | Thu Mar 03 11:41:14 2016 |
tree | 22670b94561d13614d1c43f7aaa976f366b233df | |
parent | 79a5cf9ed1118fd5dc5ba083e5b1f525d2c6df94 [diff] |
Lazily allocate input buffer for AsyncTCPSocket. As a follow-up to https://codereview.webrtc.org/1737053006/ this CL further improves memory usage by lazily allocating input buffers up to the passed maximum size. This also changes the input buffer to a Buffer object. BUG= Review URL: https://codereview.webrtc.org/1744293002 Cr-Commit-Position: refs/heads/master@{#11859}
WebRTC is a free, open software project that provides browsers and mobile applications with Real-Time Communications (RTC) capabilities via simple APIs. The WebRTC components have been optimized to best serve this purpose.
Our mission: To enable rich, high-quality RTC applications to be developed for the browser, mobile platforms, and IoT devices, and allow them all to communicate via a common set of protocols.
The WebRTC initiative is a project supported by Google, Mozilla and Opera, amongst others. This page is maintained by the Google Chrome team.
See http://www.webrtc.org/native-code/development for instructions on how to get started developing with the native code.