@rip-lang/server 1.2.3 → 1.2.4
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/package.json +1 -1
- package/server.rip +1 -1
package/package.json
CHANGED
package/server.rip
CHANGED
|
@@ -975,7 +975,7 @@ class Server
|
|
|
975
975
|
readTimeoutMs = @flags.readTimeoutMs
|
|
976
976
|
|
|
977
977
|
try
|
|
978
|
-
fetchPromise = fetch(forwardUrl, { method: req.method, headers: req.headers, body: req.body, unix: socketPath })
|
|
978
|
+
fetchPromise = fetch(forwardUrl, { method: req.method, headers: req.headers, body: req.body, unix: socketPath, decompress: false })
|
|
979
979
|
readGuard = new Promise (_, rej) ->
|
|
980
980
|
setTimeout (-> rej(new Error('Upstream timeout'))), readTimeoutMs
|
|
981
981
|
res = Promise.race!([fetchPromise, readGuard])
|