1
0
mirror of https://github.com/kataras/iris.git synced 2026-01-23 20:05:59 +00:00

security fix

This commit is contained in:
Gerasimos (Makis) Maropoulos
2021-12-23 22:05:26 +02:00
parent 25ad31be50
commit e213dba0d3
2 changed files with 6 additions and 14 deletions

View File

@@ -28,6 +28,8 @@ The codebase for Dependency Injection, Internationalization and localization and
## Fixes and Improvements
- Push a security fix reported by [Kirill Efimov](https://github.com/kirill89) for older go runtimes.
- New `Configuration.Timeout` and `Configuration.TimeoutMessage` fields. Use it to set HTTP timeouts. Note that your http server's (`Application.ConfigureHost`) Read/Write timeouts should be a bit higher than the `Configuration.Timeout` in order to give some time to http timeout handler to kick in and be able to send the `Configuration.TimeoutMessage` properly.
- New `apps.OnApplicationRegistered` method which listens on new Iris applications hosted under the same binary. Use it on your `init` functions to configure Iris applications by any spot in your project's files.