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

Açık
coolaj86 tarafından 2018-08-06 22:38:19 +00:00 açıldı · 0 yorum
Sahibi

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.
Bu konuşmaya katılmak için oturum aç.
Etiket Yok
1 Katılımcı
Bildirimler
Bitiş Tarihi
Bitiş tarihi atanmadı.
Bağımlılıklar

Bağımlılık yok.

Referans: coolaj86/chat.go#2
Herhangi bir açıklama sağlanmadı.