I think that all became clear now. After additional debugging I saw that
the memory for the buffer is release from the function input() and I
actually make a second release. This causes the problem. I organized now
my code in the right way and I don't see any problems. However, more
tests are
Simon, you gave me a great advice. I knew that I have to check my code
and I made this many times unfortunately without result by now. But your
words "check your code if there's something that could overwrite these
fields..." focused my think in another direction. When I want to give a
frame
Simeon Trifonov wrote:
> 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
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,
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
Simeon Trifonov wrote:
Probably you will ask now what kind of bug I mean. I don't remember,
but I will try to find out. Probably my fix is not the best and you
can offer me another one.
If the bug was not being able to use PBUF_REF/PBUF_ROM for input (since
pbuf_header does not work in
i...@gmx.de>
*Betreff:* Re: [lwip-users] Simultaneous GET requests to HTTP Server
Yes, the pbuf is not what I expect to see. The length doesn't match and
the content too. But I checked the higher level function and it seems to
receive the correct frame during the call of the input function. Then
s
Simeon Trifonov wrote:
> See the screenshot bellow:
The fact that this screenshot shows pbuf members that don't exist in the
original sources makes me say:
This is not "our" lwIP, how could we support it?
As you correctly found out, the pbuf is somehow corrupted. I'd start to check
the
I'm still fighting with my problem. Now I know what is going wrong, but
I cannot find the reason. Probably somebody can help me. I attached a
Wireshark log. You can see that communication stops after the
confirmation from the PC for the frames that transfer the file
style.css. All seems to be
If you want the server to accept 6 simultaneous connections, you have to
provide the stack with room for at least 6 pcbs, memory for the 6
connection structures, perhaps enough pbufs for prompt response...
There's been a long time I'm not with the server, but I don't remember
having a built-in
t;<mailto:lwip-users-bounces+noam=silrd@nongnu.org>
on behalf of Antonio Gonga <go...@kth.se><mailto:go...@kth.se>
Sent: Friday, June 16, 2017 1:54 PM
To: Mailing list for lwIP users
Subject: Re: [lwip-users] Simultaneous GET requests to HTTP Server
Hi Simeon,
I am not sure bu
behalf of Antonio Gonga <go...@kth.se>
*Sent:* Friday, June 16, 2017 1:54 PM
*To:* Mailing list for lwIP users
*Subject:* Re: [lwip-users] Simultaneous GET requests to HTTP Server
Hi Simeon,
I am not sure but I believe, the server does not send anything because
it still processing the first
ers-bounces+noam=silrd@nongnu.org> on behalf of
Antonio Gonga <go...@kth.se>
Sent: Friday, June 16, 2017 1:54 PM
To: Mailing list for lwIP users
Subject: Re: [lwip-users] Simultaneous GET requests to HTTP Server
Hi Simeon,
I am not sure but I believe, the server does not send anyt
-
From: lwip-users <lwip-users-bounces+gonga=kth...@nongnu.org> on behalf of
Simeon Trifonov <simeon.trifo...@amk-drives.bg>
Sent: Friday, June 16, 2017 11:08
To: lwip-users@nongnu.org
Subject: [lwip-users] Simultaneous GET requests to HTTP Server
Hello,
I need som
Hello,
I need some help about the usage of the HTTP Server. My current problem
is the following. I have some WEB pages that use some styles,
JavaScripts, pictures as usual. When I set an option to the WEB Browser
(up to now I use always Firefox) to make only one GET request at a time,
all
15 matches
Mail list logo