Github user shinrich commented on the issue: https://github.com/apache/trafficserver/pull/866 @maskit, you list some lovely tricky cases. Abort encode on detect seems like a reasonable approach too. Ideally, we just could declare that nothing comes in already encoded, but that doesn't seem to be the case right now. Let me research the original cause for this bug some more, and perhaps we can define away the problem.
--- If your project is set up for it, you can reply to this email and have your reply appear on GitHub as well. If your project does not have this feature enabled and wishes so, or if the feature is enabled but not working, please contact infrastructure at infrastruct...@apache.org or file a JIRA ticket with INFRA. ---