Creating a second StreamReader seems to be the problem. If the first one still has data buffered it will be silently dropped and the read call to the new StreamReader will block forever.
from My Pocket https://www.reddit.com/r/programming/comments/4uhnrv/challenge_the_race_condition_in_the_tcp_stack/
No comments:
Post a Comment