Socket InputStream on windows blocks and swaps queries
问题 I'm writing a simple ServerSocket program and connecting to it from two browser tabs by urls: http://127.0.0.1:8080/Q1 and after a 10 sec pause http://127.0.0.1:8080/Q2. My problem is that on ubuntu18 machine with java10 it works quick and fine. But on two win machines (my win8.1 with java8 and other win10 with java11) it hangs up after first query and does nothing for up to 2 minutes, server stays quiet if I don't send second query. If I send second query I get result for both queries (in