wojciech.kapcia@tigase.net opened 4 years ago
|
|
I fixed the issue by checking if the session was authorised. However I was thinking - it seems that most of the plugins do this check ( |
|
@wojtek Your idea that most of processors require authorized session is OK. However, the issue here is that each processor has its own queue of packets to process and its own threads leading to concurrency issues, ie. packet can be for session which is authorized, it is added for correct processor but in the meanwhile other processor may deauthenticate session leading to processing packet for unauthorized session by processor requiring authorized session. |
|
I'd say that this issue stresses having dedicated "authenticated processes" even more as we would avoid issue that something de-authenticated the session while processing certain stanza. |
Type |
Bug
|
Priority |
Normal
|
Assignee | |
Version |
tigase-server-8.2.0
|