mirror of
https://github.com/appwrite/appwrite
synced 2026-05-23 17:08:45 +00:00
Added max download limit of 1 GB
This commit is contained in:
parent
365c520267
commit
e461a4f14b
1 changed files with 1 additions and 0 deletions
|
|
@ -80,6 +80,7 @@ class Webhooks extends Action
|
||||||
\curl_setopt($ch, CURLOPT_HEADER, 0);
|
\curl_setopt($ch, CURLOPT_HEADER, 0);
|
||||||
\curl_setopt($ch, CURLOPT_RETURNTRANSFER, 0);
|
\curl_setopt($ch, CURLOPT_RETURNTRANSFER, 0);
|
||||||
\curl_setopt($ch, CURLOPT_TIMEOUT, 15);
|
\curl_setopt($ch, CURLOPT_TIMEOUT, 15);
|
||||||
|
\curl_setopt($ch, CURLOPT_MAXFILESIZE, 1073741824);
|
||||||
\curl_setopt($ch, CURLOPT_USERAGENT, \sprintf(
|
\curl_setopt($ch, CURLOPT_USERAGENT, \sprintf(
|
||||||
APP_USERAGENT,
|
APP_USERAGENT,
|
||||||
App::getEnv('_APP_VERSION', 'UNKNOWN'),
|
App::getEnv('_APP_VERSION', 'UNKNOWN'),
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue