Closed Dissem closed 9 years ago
At the moment it is just checked if a new message starts with the magic number. The client should instead read until it finds the magic number. I propose reading no more than the maximal message length and disconnecting if it still can't be found.
At the moment it is just checked if a new message starts with the magic number. The client should instead read until it finds the magic number. I propose reading no more than the maximal message length and disconnecting if it still can't be found.