B Wyatt created TS-1254:
---------------------------
Summary: Using TSMimeHdrFieldDestroy after TSMimeHdrFieldRemove
asserts when using --enable-debug
Key: TS-1254
URL: https://issues.apache.org/jira/browse/TS-1254
Project: Traffic Server
Issue Type: Bug
Components: MIME
Reporter: B Wyatt
Priority: Minor
ts.h indicates that if you wish to destroy a "removed" header you should call
TSMimeHdrFieldDestroy and TSHandleMLocRelease, however when --enable-debug is
passed to configure the following assert is hit:
{noformat}FATAL: MIME.cc:1496: failed assert `field->is_live()`{noformat}
it seems that this assert would trip for any call to mime_hdr_field_delete if
the field was previously detached.
--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators:
https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira