fix: httpclient 在请求后会在final中进行关闭,导致无法再次请求
This commit is contained in:
parent
f6030cc918
commit
ccac5226d5
@ -183,7 +183,6 @@ public class HttpClientUtils {
|
|||||||
if (response != null) {
|
if (response != null) {
|
||||||
response.close();
|
response.close();
|
||||||
}
|
}
|
||||||
httpClient.close();
|
|
||||||
} catch (IOException e) {
|
} catch (IOException e) {
|
||||||
log.error("Get错误", e);
|
log.error("Get错误", e);
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user