This commit is contained in:
Mike Quin 2023-08-07 14:38:31 +01:00 committed by Stephen Bennett
parent a4db1d4784
commit 7a7aa92f8a

View file

@ -50,7 +50,7 @@ The process for loading filters is as follows:
1. The Hyperscan database is serialized using hs_serialize_database(). 1. The Hyperscan database is serialized using hs_serialize_database().
2. A 'SETFILTER NEW' command is sent. 2. A 'SETFILTER NEW' command is sent.
3. The serialized data is split into chunks and base64 encoded. 3. The serialized data is split into chunks and base64 encoded.
The chunk size need to be chosen to ensure that the resuliting The chunk size needs to be chosen to ensure that the resuliting
strings are short enough to fit into a 510 byte IRC line, taking strings are short enough to fit into a 510 byte IRC line, taking
into account space needed for the 'SETFILTER +' command, check field, into account space needed for the 'SETFILTER +' command, check field,
server mask, and base64 overhead. server mask, and base64 overhead.