mirror of
https://github.com/abraunegg/onedrive
synced 2024-06-08 08:52:15 +02:00
Update HTTP connection handling for long running operations
* Update HTTP connection handling for long running operations based on https://forum.dlang.org/post/k2vbk5$re7$1@digitalmars.com & https://github.com/dlang/phobos/pull/797
This commit is contained in:
parent
a58ceebaaf
commit
49968e5639
|
@ -55,6 +55,7 @@ final class OneDriveApi
|
|||
this.cfg = cfg;
|
||||
http = HTTP();
|
||||
http.dnsTimeout = (dur!"seconds"(5));
|
||||
http.dataTimeout = (dur!"seconds"(3600));
|
||||
if (debugHttp) {
|
||||
http.verbose = true;
|
||||
.debugResponse = true;
|
||||
|
|
Loading…
Reference in a new issue