HttpURLConnection没有close,是不是可以设置这个
urlConnection.getInputStream().close();
urlConnection.setConnectTimeout(30000);
urlConnection.setReadTimeout(30000);
urlConnection.getInputStream().close();
urlConnection.setConnectTimeout(30000);
urlConnection.setReadTimeout(30000);
2023-06-12
举报