netty5/handler/src/test/java
多巴胺 22b2c4c3b8 Fix concurrency problem in UniqueIpFilter (#8635)
Motivation:

If two requests from the same IP are reached at the same time, `connected.contains(remoteIp)` may return false in both threads.

Modifications:

Check if there is already a connection with the same IP using return values.

Result:

Become thread safe.
2018-12-07 13:50:00 +01:00
..
io/netty/handler Fix concurrency problem in UniqueIpFilter (#8635) 2018-12-07 13:50:00 +01:00