-
Notifications
You must be signed in to change notification settings - Fork 113
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
bindbody 参数为string指针时如果数据量过大,会导致内容出现错误。 #307
Comments
可有能复现的代码? |
你好,接口数据量比较大,bindbody 参数为string时,不管把string写入到文件还是打印都会出现内容不全的情况。我把参数改为byte.buffer类型之后获取到的是没问题的。我当时试过数据量不大时没有问题,量大会出错,等我回去复现后发你 |
ok,你方便的话,看下你的代码。我昨天,跑了100w次,单个请求36KB的uuid数据没有复现。
…---原始邮件---
发件人: ***@***.***>
发送时间: 2021年8月23日(周一) 晚上8:46
收件人: ***@***.***>;
抄送: ***@***.******@***.***>;
主题: Re: [guonaihong/gout] bindbody 参数为string指针时如果数据量过大,会导致内容出现错误。 (#307)
可有能复现的代码?
我又扫了下那部分代码, 只是把[]byte转成string, 然后解引用,对你的现象还是挺好奇的。
你好,接口数据量比较大,bindbody 参数为string时,不管把string写入到文件还是打印都会出现内容不全的情况。我把参数改为byte.buffer类型之后获取到的是没问题的。等我回去复现后发你
—
You are receiving this because you commented.
Reply to this email directly, view it on GitHub, or unsubscribe.
Triage notifications on the go with GitHub Mobile for iOS or Android.
|
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
使用抓包是正常的,但是使用bindbody数据会发生错误
The text was updated successfully, but these errors were encountered: