1
1
Fork 0
mirror of https://tildegit.org/solderpunk/molly-brown synced 2024-04-27 18:05:04 +02:00

Correctly implement bans for clients exceeding hard limit.

This commit is contained in:
Solderpunk 2023-03-19 10:30:08 +01:00
parent efde852c54
commit 4b9a7e8ad5

View File

@ -56,6 +56,7 @@ func handleGeminiRequest(conn net.Conn, sysConfig SysConfig, config UserConfig,
limited := rl.hardLimited(noPort)
if limited {
conn.Close()
return
}
delay, limited := rl.softLimited(noPort)
if limited {