rsocket / rsocket-cpp

C++ implementation of RSocket
http://rsocket.io
Apache License 2.0
253 stars 99 forks source link

Implement fragmentation for requests #856

Closed dymk closed 6 years ago

dymk commented 6 years ago

WIP implementation of fragmented requests for RSocket. Allows payloads > 16MB to be sent. Should be efficient and not copy large payloads, if IOBuf refcounting is working correctly under the hood. Should not incur much extra overhead if a payload is not fragmented (aside from a cheap check to see if any fragments for the current stream already exist; should be no more expensive than if(pointer == null)).

Test implemented:

Tests not implemented yet:

Existing testsuite should pass.