Hi,
I am currently trying to extend ser's parser to allow it recognize User-Agent headers, but stuck into the magic HASH_TABLE_SIZE value. Is there any algorithm to calculate it when adding support for a new header type? Maybe there is some documentation, apart from comments in the code itself, on extending parser, or at least on its inner details? If so, it would be nice to obtain it if possible.
Thanks!
-Maxim
Moved onto serdev@lists.iptel.org
Jan.
On 29-04 00:42, Maxim Sobolev wrote:
Hi,
I am currently trying to extend ser's parser to allow it recognize User-Agent headers, but stuck into the magic HASH_TABLE_SIZE value. Is there any algorithm to calculate it when adding support for a new header type? Maybe there is some documentation, apart from comments in the code itself, on extending parser, or at least on its inner details? If so, it would be nice to obtain it if possible.
Thanks!
-Maxim
Serusers mailing list serusers@lists.iptel.org http://lists.iptel.org/mailman/listinfo/serusers