diff --git a/CHANGELOG.md b/CHANGELOG.md index bb24fb1f..4f00990e 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -14,9 +14,11 @@ and this project adheres to --> +## [v0.105.1] - 2021-02-15 + ### Changed - Increased HTTP API timeouts ([#2671], [#2682]). @@ -192,10 +194,12 @@ and this project adheres to + [Unreleased]: https://github.com/AdguardTeam/AdGuardHome/compare/v0.105.1...HEAD [v0.105.1]: https://github.com/AdguardTeam/AdGuardHome/compare/v0.105.0...v0.105.1 ---> -[Unreleased]: https://github.com/AdguardTeam/AdGuardHome/compare/v0.105.0...HEAD [v0.105.0]: https://github.com/AdguardTeam/AdGuardHome/compare/v0.104.3...v0.105.0 [v0.104.3]: https://github.com/AdguardTeam/AdGuardHome/compare/v0.104.2...v0.104.3 [v0.104.2]: https://github.com/AdguardTeam/AdGuardHome/compare/v0.104.1...v0.104.2 diff --git a/internal/home/web.go b/internal/home/web.go index fff2aa07..e016e341 100644 --- a/internal/home/web.go +++ b/internal/home/web.go @@ -18,12 +18,12 @@ import ( const ( // readTimeout is the maximum duration for reading the entire request, // including the body. - readTimeout = 30 * time.Second + readTimeout = 60 * time.Second // readHdrTimeout is the amount of time allowed to read request headers. - readHdrTimeout = 30 * time.Second + readHdrTimeout = 60 * time.Second // writeTimeout is the maximum duration before timing out writes of the // response. - writeTimeout = 30 * time.Second + writeTimeout = 60 * time.Second ) type webConfig struct {