apache / apache/trafficserver

Transform tunnels stall when no bytes are sent

Open
#8,081 2 comments 0 reactions 0 assignees View on GitHub
Bug HttpSM Stale Transform
Dominant language
C++
Stars
2k
Forks
874
Avg merge
6d 15h
Merged PRs (30d)
46

Description

While researching the assert described in issue #8079, we noticed that a WriteTransform plugin applied to a 0 length body will stall. The logic to fully set up the WriteTransform tunnel requires receiving a WRITE_READY event. But in the case of a 0 length body, the tunnel will go directly into READ_COMPLETE, WRITE_COMPLETE, and TUNNEL_PRECOMPLETE. No do_io_write or do_io_read operations will be set up, so no READ_READY/WRITE_READY events will be sent to trigger the sending of the TRANSFORM_READ_READY.

Eventually sometime will timeout and kill the HttpSM.

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.