Latest commit 877ac74 Oct 31, 2016 @erikprice erikprice committed with nlutsenko Make copying optional when receiving data (#428)
* Reduce memory usage

Reduce memory usage by discarding, not resetting, the frame data buffer.
Let delegate control copying.

* Delegate methods expect `self`

* Add `-sendWithoutCopyingData:error:`

* Add `-webSocket:shouldCopyReceivedData:`

* Fix error messages

* Remove `-webSocket:shouldCopyReceivedData:`

* Revert "Fix error messages"

This reverts commit 4d5f5f0.

* Fix typo

* Copy only control frames

* Fix error message