[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [lwip-users] Debug pppos packet loss issue
From: |
Axel Lin |
Subject: |
Re: [lwip-users] Debug pppos packet loss issue |
Date: |
Fri, 3 Mar 2017 18:59:08 +0800 |
2017-03-02 23:16 GMT+08:00 Simon Goldschmidt <address@hidden>:
> 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
> address@hidden
> https://lists.nongnu.org/mailman/listinfo/lwip-users
Re: [lwip-users] Debug pppos packet loss issue, Axel Lin, 2017/03/02