STR-367: the should be a way to replace the table-table
Old-style/global tables leak between programs and dynamically loaded modules. For instance, if both the program and module use option handling and get-config/put-config, options set in the main programs are seen in the module and vice versa. Also, dynamic rules have unexpected behaviour if rules with the same name are defined in both program and module.
Dynamically loadable modules should have their own SSL_table_table (which they might in fact have in some cases, depending on linking). The library should provide a function to set the value of SSL_table_table, so that it is easy to switch the SSL_table_table before and after a module call (stratego-dl gets around this at the moment by temporarily storing the program’s table-table in a list during a module call).
Submitted on 25 July 2005 at 13:55
Issue Log
Log in to post comments