netty5/handler/src
多巴胺 0288570b06 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:44 +01:00
..
main/java/io/netty/handler Fix concurrency problem in UniqueIpFilter (#8635) 2018-12-07 13:50:44 +01:00
test Fix concurrency problem in UniqueIpFilter (#8635) 2018-12-07 13:50:44 +01:00