We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 98927b0 commit f6e94aaCopy full SHA for f6e94aa
1 file changed
src/main/kotlin/com/ashotn/opencode/relay/api/transport/OpenCodeHttpTransport.kt
@@ -17,6 +17,8 @@ class OpenCodeHttpTransport(
17
18
private val httpClient = HttpClient.newBuilder()
19
.connectTimeout(Duration.ofMillis(defaultConnectTimeoutMs.toLong()))
20
+ // OpenCode 1.4 closes cleartext HTTP/2 upgrade attempts before sending headers.
21
+ .version(HttpClient.Version.HTTP_1_1)
22
.build()
23
24
fun get(
0 commit comments