hyperscan
hyperscan copied to clipboard
Changing the database in the middle of stream matching
Hello
I want to use Hyperscan for matching some streaming data, after some usage of a stream created from a compiled database, I change the related database (by compiling a new set of strings into it). Does it affect the stream, which was created from the old database? Is it still usable for further matching? If yes, does it return the old regular expressions compiled into the database, or it includes the newly added expressions?
Thanks for your time.
When you changed the database, you should close the old stream and open a new stream according to the new database.