Hi. All I found an issue of telnetd that it loops infinitely when client disconnected abnormally on working. like client is killed by outside.
On embedded system, this issue make that cpu occupation goes high. In this case : select() returns 1, means socket fd has something changes. but, read()/write() after select() gets an error because client already disconnected. attached patch help prevent this issue. plz, check.
0001-telnetd-handling-read-write-fail-when-client-disconn.patch
Description: Binary data
_______________________________________________ Toybox mailing list [email protected] http://lists.landley.net/listinfo.cgi/toybox-landley.net
