Skip to content

Commit a4cc84e

Browse files
committed
fix: fix link reuse problem
1 parent 39750fb commit a4cc84e

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

library/src/main/java/com/opensource/svgaplayer/SVGAParser.kt

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -70,6 +70,7 @@ class SVGAParser(context: Context?) {
7070
(url.openConnection() as? HttpURLConnection)?.let {
7171
it.connectTimeout = 20 * 1000
7272
it.requestMethod = "GET"
73+
it.setRequestProperty("Connection", "close")
7374
it.connect()
7475
it.inputStream.use { inputStream ->
7576
ByteArrayOutputStream().use { outputStream ->

0 commit comments

Comments
 (0)