Use HTTP/1.1 for syncing
HTTP2 + a request body size not being declared up front was creating extra work for AnkiWeb.
This commit is contained in:
parent
14189a91ba
commit
17480a2c80
@ -40,7 +40,7 @@ impl HttpSyncClient {
|
||||
HttpSyncClient {
|
||||
sync_key: auth.hkey,
|
||||
session_key: simple_session_id(),
|
||||
client: Client::new(),
|
||||
client: Client::builder().http1_only().build().unwrap(),
|
||||
endpoint: auth
|
||||
.endpoint
|
||||
.unwrap_or_else(|| Url::try_from("https://sync.ankiweb.net/").unwrap()),
|
||||
|
Loading…
Reference in New Issue
Block a user