socketserver StreamRequestHandler non-blocking read__

Oct. 11, 2021
2:21 a.m.
For StreamRequetHandler's rfile attribute, it will block when the read readline readlines reach the end. It would be nice to add non-blocking read because the seek() is unavailable for rfile. and there is no other way to detect if it is ended. When the stream is empty and waiting for new input, then it will return None type. This would be a nice feature.
1255
Age (days ago)
1255
Last active (days ago)
0 comments
1 participants
participants (1)
-
Evan Greenup