Commit 7ac1556
committed
Merge #954: Disable
222fa42 feat: disable TimeoutAcceptor when TSL is enabled (Jose Celano)
Pull request description:
The TimeoutAcceptor es a custom acceptor for Axum that sets a timeput for making a request after openning a connection.
It does not work when TSL is enabled.
This commit disables it, therefore the app does not have any way to avoid a DDos attacks where clients just open connections without making any request.
ACKs for top commit:
josecelano:
ACK 222fa42
Tree-SHA512: 0c9a01757f8683f19553ba332551103598c0d0483e3ec6ba1bae1e703acae84442c765883f7406bdb886bdeb5872780336d75450736350e7ce9d859e9943e0bbTimeoutAcceptor when TSL is enabled2 files changed
Lines changed: 6 additions & 2 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
239 | 239 | | |
240 | 240 | | |
241 | 241 | | |
242 | | - | |
| 242 | + | |
| 243 | + | |
| 244 | + | |
243 | 245 | | |
244 | 246 | | |
245 | 247 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
65 | 65 | | |
66 | 66 | | |
67 | 67 | | |
68 | | - | |
| 68 | + | |
| 69 | + | |
| 70 | + | |
69 | 71 | | |
70 | 72 | | |
71 | 73 | | |
| |||
0 commit comments