You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@trafficserver.apache.org by James Peach <jp...@apache.org> on 2013/01/23 07:08:30 UTC
remap instance handle inconsistency
Hi all,
In RemapPlugins::run_plugin() and UrlRewrite::load_remap_plugin(), the remap instance handle is allowed to be NULL. However, in url_mapping::delete_instance(), TSRemapDeleteInstance is not called unless the instance handle is non-NULL. This inconsistency means that if you are storing a non-pointer value in the instance handle and zero is meaningful (eg. an index), then the delete won't get called. Is this a bug?
J