Get flag regex

Issue #35 resolved
Flozza created an issue

On initialization of a connection, the server sends the flag regex as a response. This should be distributed to the collector part that gets the flags so it can check for their validity.

The solution for this has yet to be developed, but here are a few ideas:

  • It could be a global, shared value that only one thread may write but all others may read. Since it is likely to be static and not to change,
  • It could be a pipe where one end sends and the other end receives (allowing it to be only distributed to one thread/process)
  • There are two connections open to the server, one for submitting flags the other for maintenance (getting target list, etc.). Both could be used for this purpose

This has to be investigated further to find the optimal solution

Comments (1)

  1. Log in to comment