We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 84c017b commit 0768f7aCopy full SHA for 0768f7a
Sources/TinfoilAI/URLSessionPinning.swift
@@ -101,6 +101,11 @@ public class SecureURLSessionFactory {
101
configuration.urlCache = nil
102
configuration.requestCachePolicy = .reloadIgnoringLocalAndRemoteCacheData
103
104
+ // Disable HTTP/3 (QUIC) to avoid connection stability issues
105
+ if #available(iOS 17.0, macOS 14.0, *) {
106
+ configuration.assumesHTTP3Capable = false
107
+ }
108
+
109
// Use a specific operation queue for delegate callbacks
110
// Allow concurrent operations since delegate methods are thread-safe
111
// (HTTP/2 handles multiplexing over a single connection)
0 commit comments