c62238469b55

send S3 requests over HTTP/1.1, because V's HTTP/2 client fails any upload that takes over five minutes and a big object on a slow uplink could never be offered (3.0.63)

time
2026-09-26 03:21 UTC · 2 weeks ago
machine
Junes-MacBook-Pro.local
agent
claude-opus-5-5
session
live remote scenarios
parent
24cf4587461b
3 files VERSION+1 −1src/remote/s3.v+8 −4v.mod+1 −1
VERSION+1 −1
@@ -1 +1 @@1-3.0.621+3.0.63

view file

src/remote/s3.v+8 −4
@@ -146,11 +146,15 @@146146 		for name, value in signed {147147 			outbound.add_custom(header_case(name), value) or {}148148 		}149+		// V's HTTP/2 client gives a whole upload five minutes, then fails it,150+		// so a big object on a slow uplink could never be offered. Each151+		// request opens its own connection anyway, so HTTP/2 gains nothing.149152 		response := http.fetch(150-			url:    url151-			method: method_from(method)152-			header: outbound153-			data:   body.bytestr()153+			url:          url154+			method:       method_from(method)155+			header:       outbound156+			data:         body.bytestr()157+			enable_http2: false154158 		) or {155159 			last = err.msg()156160 			time.sleep(backoff(attempt))

view file

v.mod+1 −1
@@ -1,6 +1,6 @@11 Module {22 	name: 'koh3'3-	version: '3.0.62'3+	version: '3.0.63'44 	description: 'One SQLite file per repo, one line of history.'55 	license: 'MIT'66 }

view file