Comments (12)
出错是 internal/crypto/ec115/api.go 第81行,错误原因是切片越界,应该是 plaintext[2:srcSize+2]
这里。
看来 EC Decode 里面还有一些逻辑要处理。
from elevengo.
这种怕是不好复现把!我也是十几次遇到1次 如果要调试IDE都废了
from elevengo.
出现的原因是因为流控,返回的数据不是加密的数据,是一个网页数据
from elevengo.
srcSize := binary.LittleEndian.Uint16(plaintext[0:2])
如果不是加密数据,srcSize这样计算肯定是不对的
from elevengo.
出现的原因是因为流控,返回的数据不是加密的数据,是一个网页数据
原来是这样么,正好加密数据的最后4字节是校验位,我用它做个校验好了,如果校验不通过,那么可能返回了错误数据。
from elevengo.
谢谢各位大佬,这玩意出现就让他等几分钟吧!
from elevengo.
谢谢各位大佬,这玩意出现就让他等几分钟吧!
只要不是连续多次无间隔时间的api请求,都不会出现流控,就算出现了,也不用等几分钟,等几秒就正常了
from elevengo.
确实没做控制,理论模型上因为http延迟应该达不到上限,但是测试过程中自己给自己弄就很容易达到。
from elevengo.
处理校验位的代码合到了 master 分支,暂时先不打 tag 了,还有点别的改动在搞。
如果着急可以先拉 master 分支的最新代码用。
from elevengo.
感谢大佬
from elevengo.
runtime error: slice bounds out of range:[:-12]
暂时没有找到复现,等我找到复现的再来补充
from elevengo.
runtime error: slice bounds out of range:[:-12] 暂时没有找到复现,等我找到复现的再来补充
看错误应该是响应数据为空导致的,估计又是服务端挂了,我在这个地方加个校验,避免panic导致程序崩溃。
from elevengo.
Related Issues (10)
- 大佬,你好我找了一下没有找到支持秒传。请问下有打算支持吗? HOT 3
- 函数调用 出现错误 (a *Agent) FileStat 每次只能返回一个null HOT 6
- DownloadCreateTicket,与FileGet问题 HOT 6
- sha1文件导入提示错误 HOT 4
- 請問大佬是否會python 我已經把加密部分完成一些了 只差在POST 發送的問題 HOT 5
- 【bug】Agent.FileIterate 无法获取完整的文件,会获取重复文件。 HOT 1
- 烦请问有无支持提供 HTTP API 的意向 HOT 2
- .FileSearch(dirId, keyword) 返回空集 HOT 1
- 大佬,辛苦了。昨天我测试妙传使用GitHub 开发者分支,出现签名错误。 HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from elevengo.