n0-computer / quic-rpc

A streaming rpc system based on quic
Other
94 stars 12 forks source link

Make frame size configurable #11

Closed rklaehn closed 1 year ago

rklaehn commented 1 year ago

Currently all transports that do serialization/deserialization use hardcoded frame sizes.

Those should be made configurable, and check that the frame sizes are compatible with the maximum of the underlying transport. E.g. http2 has 16,777,215 bytes max frame size.

rklaehn commented 1 year ago

I think hardcoded frame sizes are ok for now. I added a large but hardcoded frame size limit for all transports.