wiremod / wire

Garry's Mod add-on that allows users to wire up components in order to make more elaborate automatic and user-controlled contraptions.
http://www.wiremod.com
Apache License 2.0
549 stars 333 forks source link

Implement fix for digital screen kick due to reliable buffer overflow #2974

Closed bjcscat closed 8 months ago

bjcscat commented 8 months ago

This commit introduces new functions to WireLib which contain safe methods of handling large buffers being transmitted to players over the net library.

These rate limit each "sending frame" such that a very large amount of data can be sent and not ever get close to overflowing reliable buffers (which digiscreens can do).

thegrb93 commented 8 months ago

Can you use the netstream lib instead? It was added recently to avoid these kinds of limiting systems.

thegrb93 commented 8 months ago

See https://github.com/wiremod/wire/pull/2932