Citymonstret/Kvantum

Allow for partial buffer writing

Closed this issue · 1 comments

(Reference: https://github.com/Sauilitired/Kvantum/blob/8fa12d1a141b5223c6f58109e7b207535d5f3217/Implementation/src/main/java/xyz/kvantum/server/implementation/KvantumServerHandler.java#L476)

Split any writing into smaller chunks, currently the data could be bigger than the buffer and thus it would not be written at all = no good

Wrap all sending in a ChannelFuture, as syncing on the main I/O thread isn't possible.