Reorganize some code - add read and write timeouts
This commit is contained in:
parent
3445f5d569
commit
402c083c4e
|
@ -7,11 +7,12 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
|
||||||
## [Unreleased]
|
## [Unreleased]
|
||||||
### Added
|
### Added
|
||||||
- [2020-06-23] Added Gitlab CI integration by [@lflare].
|
- [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-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].
|
- [2020-06-30] Added read and write timeouts to protect against some attacks [@carbotaniuman].
|
||||||
|
|
||||||
### Changed
|
### Changed
|
||||||
|
- [2020-06-28] Added `pasued` field in ServerSettings [@carbotaniuman].
|
||||||
|
|
||||||
### Deprecated
|
### Deprecated
|
||||||
|
|
||||||
|
|
|
@ -28,6 +28,7 @@ data class ServerSettings (
|
||||||
val latestBuild: Int,
|
val latestBuild: Int,
|
||||||
val url: String,
|
val url: String,
|
||||||
val compromised: Boolean,
|
val compromised: Boolean,
|
||||||
|
val paused: Boolean,
|
||||||
val tls: TlsCert?
|
val tls: TlsCert?
|
||||||
)
|
)
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue