# go-http2-test **Repository Path**: leierqiang/go-http2-test ## Basic Information - **Project Name**: go-http2-test - **Description**: No description available - **Primary Language**: Go - **License**: Not specified - **Default Branch**: master - **Homepage**: None - **GVP Project**: No ## Statistics - **Stars**: 0 - **Forks**: 0 - **Created**: 2024-03-13 - **Last Updated**: 2024-04-06 ## Categories & Tags **Categories**: Uncategorized **Tags**: None ## README # go强制使用http2访问一个url,使用wireshark确认 ## 要求 1. 使用go发长http2请求到一个url 2. 使用Wireshark确认 3. 修改为20个client*5tps 4. [新] 确认http2的 RST_STREAM帧 能不能触发go的EOF报错信息 ## 检查url是否支持http2 ``` curl --http2 -v {url} curl --http2 -v https://http2.golang.org/ 【✅】 curl --http2 -v https://www.deepl.com/ 【✅】 curl --http2 -v https://yiyan.baidu.com/ ``` ## wireshark抓包流程 《使用 wireshark 抓包,https,http2》 https://blog.csdn.net/raoxiaoya/article/details/123459534 ## 使用RST_STREAM帧