apache / apache/trafficserver

Bypass parsing HTTP request on HttpSM when request is HTTP/2

Open
#5,230 7 comments 0 reactions 0 assignees View on GitHub
HTTP/2 HTTP/3 Performance
Dominant language
C++
Stars
2k
Forks
874
Avg merge
6d 15h
Merged PRs (30d)
46

Description

When Http2Stream passes HTTP request to HttpSM, it dump HTTP/1.1 request header in text from HTTPHdr. HttpSM needs to parse the text and build HTTPHdr again. I'm not sure how much this has performance overhead. But, obviously, this is not ideal. Currently, HTTP/3 impl is following same logic.

https://github.com/apache/trafficserver/blob/089316d6e2926a2bd9c9c4dfd828fe0292bfd7c0/proxy/http2/Http2Stream.cc#L166

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.