Hi,
We are using HTTP3 only and hence using assumesHTTP3Capable
for every request. It worked so far but now encountered one iPhone that never honor this flag and always tries to create a connection using TCP:
[tcp] tcp_input [C1:3] flags=[R.] seq=0, ack=2023568485, win=0 state=SYN_SENT rcv_nxt=0, snd_una=2023568484
The request is created like this:
let url = URL(string: urlString)!
var request = URLRequest(url: url, cachePolicy: .reloadIgnoringLocalCacheData, timeoutInterval: 60.0)
request.assumesHTTP3Capable = true
return try await urlSession.data(for: request)
iOS: 16
XCode: 15.3
In what cases iOS CFNetwork would not honor "assumesHTTP3Capable" ? (or how can I find out why?)