Reorganize some code - add read and write timeouts

This commit is contained in:
carbotaniuman 2020-06-30 14:10:59 -05:00
parent 3445f5d569
commit 402c083c4e
2 changed files with 3 additions and 1 deletions

View file

@ -7,11 +7,12 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
## [Unreleased]
### Added
- [2020-06-23] Added Gitlab CI integration by [@lflare].
- [2020-06-28] Added `client_external_port setting` [@wedge1001].
- [2020-06-28] Added `client_external_port` setting [@wedge1001].
- [2020-06-29] Added rudimentary support of Referer checking to mitigate hotlinking by [@lflare].
- [2020-06-30] Added read and write timeouts to protect against some attacks [@carbotaniuman].
### Changed
- [2020-06-28] Added `pasued` field in ServerSettings [@carbotaniuman].
### Deprecated

View file

@ -28,6 +28,7 @@ data class ServerSettings (
val latestBuild: Int,
val url: String,
val compromised: Boolean,
val paused: Boolean,
val tls: TlsCert?
)