apache / apache/trafficserver

trafficserver v9.x close connection instead of using content-length header

Open
#11,738 2 comments 0 reactions 1 assignee Claimed by @shukitchan View on GitHub
HTTP Plugins Transform
Dominant language
C++
Stars
2k
Forks
874
Avg merge
6d 15h
Merged PRs (30d)
46

Description

i know there are three ways that http1.1 can use to tell the size of message body,

- Connection: close
- Content-Length: xxx
- Transfer-Encoding: chunked

after upgrading to trafficserver v9.2.5,

in http1.1 scenario,chunk encoding is disabled while compress plugin is loaded,
trafficserver always actively close the connection,by doing so it can tell the size of message body without return Content-Length header,

for previous versions, at least v8.1.11,trafficserver prefer to use keep-alive connection with content-length header,and i think that is the more suitable way。

image

image

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.