firepear / petrel

It's like SQLite, but for networking
MIT License
20 stars 1 forks source link

Check that per-connection variables are all instantiated at connection creation #68

Closed firepear closed 1 month ago

firepear commented 1 year ago

Everything should be reused, every time. Also make sure that all the network buffers are arrays, not slices.

firepear commented 3 months ago

I think the main thrust of this issue may be covered in the v0.37 work. Adding to that milestone so that it gets examined before release.

firepear commented 3 months ago

Yes, this has been done for client and common netcode:

And what remains now is the server work.

firepear commented 1 month ago

Honestly, so much of this was in the shared netcode. I'm sure there will be a few more cleanups as side-effects of converting to petrel.Conn and pushing the ConnRead/Write changes through in the server code, but the bulk of the low-level rework is done. Closing.