Skip to content
This repository has been archived by the owner on Sep 12, 2024. It is now read-only.

POST存在换行和发包速率问题 #51

Open
ghn1ng opened this issue Jun 4, 2022 · 0 comments
Open

POST存在换行和发包速率问题 #51

ghn1ng opened this issue Jun 4, 2022 · 0 comments

Comments

@ghn1ng
Copy link

ghn1ng commented Jun 4, 2022

application/x-www-form-urlencoded格式的POST数据,有换行的情况,需要strings.Replace(postdata, "\n", "\r\n", -1),否则发包不完整。
rate.NewLimiter()函数设置值有问题,第一个值应为MaxQps,第二个为瞬间并发数值。

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