Added back mdResponse.close()

Accidentally deleted it, whoops!
This commit is contained in:
Amos Ng 2020-06-12 03:18:39 +08:00
parent 40be05e4d4
commit 522c96f70f
No known key found for this signature in database
GPG key ID: 89086414F634D123

View file

@ -144,6 +144,7 @@ fun getServer(cache: DiskLruCache, serverSettings: ServerSettings, clientSetting
if (LOGGER.isTraceEnabled) { if (LOGGER.isTraceEnabled) {
LOGGER.trace("Upstream query for $sanitizedUri errored with status {}", mdResponse.status) LOGGER.trace("Upstream query for $sanitizedUri errored with status {}", mdResponse.status)
} }
mdResponse.close()
Response(mdResponse.status) Response(mdResponse.status)
} else { } else {
if (LOGGER.isTraceEnabled) { if (LOGGER.isTraceEnabled) {