|
From: | Simeon Trifonov |
Subject: | Re: [lwip-users] Simultaneous GET requests to HTTP Server |
Date: | Wed, 21 Jun 2017 13:25:43 +0300 |
User-agent: | Mozilla/5.0 (Windows NT 6.1; WOW64; rv:52.0) Gecko/20100101 Thunderbird/52.2.0 |
I need some help to understand how the stack works, because I cannot understand what I see when I'm debugging my problem. The situation is the following. I stopped on a breakpoint when when I receive an acknowledgement from the PC and I' looking in the content of the corresponding pcb, especially the member "unacked". Here is what I see: The variable "len" seems to be ok - 1460. The pointer "p" points the buffer with "len" set to 54 and "tot_len" set to 1514. This seems to be correct too. The pointer "next" is valid (not null), so it must point the rest of the frame (1514 bytes). But actually "len" and "tot_len" are 0 (this is something that I don't expect) and the pointer to the payload is valid, but it seems to point incorrect data. The receive conformation that I'm evaluating now is according to the last line of the following log: The previous two frames are exactly to port 51999 according to
the acknowledgement on the last line. Since I don't know if I understand how all things work, please, tell me if this content is expected and why. Simeon On 21.6.2017 г. 08:44 ч., Simeon
Trifonov wrote:
When I'm looking in my code, I think that this was exactly the problem that I have solved. Nevertheless, I removed my changes and I used the original state of the stack. I have the same problem again, so now I'm sure that at least my changes are not the reason for the problem that I'm trying to solve. -- Simeon Trifonov Head of department "Development" AMK Drives and Controls Ltd. Bulgaria / Gabrovo Phone: +359 (0)66 819125 Fax: +359 (0)66 819101 E-Mail: address@hidden Web: www.amk-drives.bg |
[Prev in Thread] | Current Thread | [Next in Thread] |