[En-Nut-Discussion] Re: TCP stops working after some time

Harald Kipp harald.kipp at egnite.de
Thu Dec 16 11:01:04 CET 2004


Hi Dusan,


>>At least this shows, that you're using the UARTs too.
>>Which driver? devUart or devUsartAvr?
>
>devUsartAvr, we are using its half duplex pin toggle feature

This is on our list for extensive testing.


>I thought that problem can appear when multiple simultaneous TCP streams 
>are handled. Because when we were doing only 1 http (TCP) request at a 
>time, there were no problems. Are you sure that there cannot be any issue 
>with timers, events, lingering etc. ?

Simultanous streams will be tested more extensively.

And no, I'm not sure about timers and events. The tests
I made in this area were quite unstructured, just taking
some threads and loops and trying to make Nut/OS crash.
But whatever bad things I tried to do to the system, it
keeps on running.

I also made some code reviews here without any result.

The TCP timeout test, which is currently running, passed
about 50,000 loops without problems. I think, I'll stop
it and try a concurrent stream transfer now.

The only thing I can say right now is, that the TCP state
machine looks rock solid. At least with single streams.

Harald




More information about the En-Nut-Discussion mailing list