What can cause TCP/IP to drop packets without dropping the connection?

后端 未结 6 1060
臣服心动
臣服心动 2021-02-14 15:01

I have a web-based application and a client, both written in Java. For what it\'s worth, the client and server are both on Windows. The client issues HTTP GETs via Apache HttpC

6条回答
  •  梦如初夏
    2021-02-14 15:33

    Forgetting to flush or close the socket on the host side can intermittently have this effect for short responses depending on timing which could be affected by the presence of any monitoring mechanism.

    Especially forgetting to close will leave the socket dangling until GC gets around to reclaiming it and calls finalize().

提交回复
热议问题