bug: count is not always 0 when io.EOF is encountered #2

Ouvert
créé 2018-08-06 22:38:19 +00:00 par coolaj86 · 0 commentaire
Propriétaire

Currently the telnet reader quits when EOF is encountered.

This happens to work correctly with Telnet, but may not work correctly with piped netcat or other clients that send the EOF fast enough for it to end up in the read buffer.

Currently the telnet reader quits when EOF is encountered. This happens to work correctly with Telnet, but may not work correctly with piped netcat or other clients that send the EOF fast enough for it to end up in the read buffer.
Connectez-vous pour rejoindre cette conversation.
Sans labels
1 participants
Notifications
Échéance
Aucune échéance n'a été définie.
Dépendances

Aucune dépendance définie.

Référence : coolaj86/chat.go#2
Sans contenu.