mirror of
https://github.com/zarzet/SpotiFLAC-Mobile.git
synced 2026-07-28 23:08:59 +02:00
perf(network): enable gzip on the metadata transport
This commit is contained in:
@@ -123,7 +123,9 @@ var metadataTransport = &http.Transport{
|
||||
ForceAttemptHTTP2: true,
|
||||
WriteBufferSize: 32 * 1024,
|
||||
ReadBufferSize: 32 * 1024,
|
||||
DisableCompression: true,
|
||||
// Metadata responses are JSON; transparent gzip cuts transfer size several
|
||||
// times over. Downloads stay on sharedTransport with compression disabled.
|
||||
DisableCompression: false,
|
||||
TLSClientConfig: newTLSCompatibilityConfig(false),
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user