java.net.SocketException: Software caused connection abort: socket write error 博客分类: bug socket write error
程序员文章站
2024-03-22 16:06:04
...
资源关闭最好放在finally块中,否则容易出现资源缓慢泄漏
try {
...
} catch (){
...
} finally {
if (fis!=null) fis.close();
if (os!=null) os.close();
}