RT-Thread-packages / at_device

AT component porting or samples for different devices
Apache License 2.0
214 stars 181 forks source link

Bug(air720): air720_socket send return value may cause send error. #137

Closed yukelab closed 3 years ago

yukelab commented 3 years ago

if split a file to multi package (every package is 4K), then the return value cause sended length calculate error.

xiangxistu commented 3 years ago

if you use sal socket, i think this way can't reach your goal.

e, have you tested it? when the size of send buff more than 4K .

yukelab commented 3 years ago

when you using webclient package post a file to server that larger than the macro WEBCLIENT_RESPONSE_BUFSZ, you can
recurring this.

yukelab commented 3 years ago

and when you modified this, post file successed.