Re: [lwip-users] TCP break down with concurrent client accept

2018-09-07 Thread Oldrich Kepka
So the application should normally call close(s), but do to some race condition, we are stuck in read, and cannot do that. Thanks for any help, Cheers, Oldrich On Tue, 4 Sep 2018 at 08:33, Oldrich Kepka wrote: > Hi Simon, > > I return to this old post. As you requested, I migrate

[lwip-users] TCP break down with concurrent client accept

2018-04-01 Thread Oldrich Kepka
Hi, we run lwip-1.4.0 on PPC440 and experience rare random hanging of TCP. I was able to create a minimal working example to reproduce the hang: Setup a tcp server on the PPC: int socketId = socket(AF_INET, SOCK_STREAM, 0); if(socketId == -1){...return;} struct sockaddr_in server;

Re: [lwip-users] TCP break down with concurrent client accept

2018-09-04 Thread Oldrich Kepka
which might be useful. Thanks for any hint where to look or how to get more debug information. Best, Oldrich On Sat, 31 Mar 2018 at 23:26, Oldrich Kepka wrote: > Hi, > > we run lwip-1.4.0 on PPC440 and experience rare random hanging of TCP. I > was able to create a minimal wor