Skip to content

Commit b5a625c

Browse files
authored
Use ephemeral NSURLSessionConfiguration by default (#6376)
1 parent a2c0b5c commit b5a625c

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

libraries/apollo-runtime/src/appleMain/kotlin/com/apollographql/apollo/network/http/DefaultHttpEngine.apple.kt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -63,7 +63,7 @@ private class AppleHttpEngine(
6363

6464
constructor(timeoutMillis: Long) : this(
6565
timeoutMillis = timeoutMillis,
66-
nsUrlSessionConfiguration = NSURLSessionConfiguration.defaultSessionConfiguration()
66+
nsUrlSessionConfiguration = NSURLSessionConfiguration.ephemeralSessionConfiguration()
6767
)
6868

6969
private val delegate = StreamingDataDelegate()

0 commit comments

Comments
 (0)