Skip to content
This repository has been archived by the owner on Jun 23, 2022. It is now read-only.

http server can't handle "Expect : 100-continue" #329

Open
vagetablechicken opened this issue Oct 15, 2019 · 0 comments
Open

http server can't handle "Expect : 100-continue" #329

vagetablechicken opened this issue Oct 15, 2019 · 0 comments

Comments

@vagetablechicken
Copy link
Member

#290 提供cpu profiling功能时,遇到svg图中显示function address,而没有function name的bug。

目前解决方案为,推荐使用google/pprof,而不使用gperftool提供的pprof(perl脚本)。

根本原因是pprof perl脚本在FetchSymbols时使用了curl命令。
由于FetchSymbols的request带有较大数据,curl在不指定http版本情况下,就在请求中加入了"Expect : 100-continue"。(如果--http1.0限制版本,就不会走这一流程。实测http1.1/2都会走expect 100-continue)
而rdsn的http parser并不支持这一机制。

未来优化rdsn http server时可以考虑支持下。

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant