2017-03-02 23:16 GMT+08:00 Simon Goldschmidt <[email protected]>: > Axel Lin" wrote: >> Only compare the download size then I know it's incorrect. >> (and sometimes it's correct) > > LTE or not doesn't matter much: TCP should rearrange the stream based on good > checksums and sequence numbers. > If anything is wrong at the application level, I would first debug the > application, not the PPP connection.
Actually, I did check the application code multiple times. Today I try the same application code using wifi module and there is no problem. The download size mismatch issue only happens when using LTE module. > > And if this is HTTP, did you receive a content length in the HTTP header that > you could use to verify the > size? Yes, I have added debug code to compare content_length and the data length I received. > > I couldn't hurt though to debug at TCP level to see if all pbufs passed to > the application have consecutive > sequence numbers. However, I don't know if we have a decent debug setting for > that. > > > Simon > > _______________________________________________ > lwip-users mailing list > [email protected] > https://lists.nongnu.org/mailman/listinfo/lwip-users _______________________________________________ lwip-users mailing list [email protected] https://lists.nongnu.org/mailman/listinfo/lwip-users
