Race condition in NegotiateLazy: If one protocol is unsupported, we need to send an "na". However, we try to do this concurrently with parsing of the next token. If parsing of the next token errored, we'd close the connection, leading to the "na" being written on a closed connection.
Race condition in
NegotiateLazy
: If one protocol is unsupported, we need to send an "na". However, we try to do this concurrently with parsing of the next token. If parsing of the next token errored, we'd close the connection, leading to the "na" being written on a closed connection.