[lwip-users] "Simultaneous" close by server & client causes memp_free error

2011-03-28 Thread Dave Harper
Configuration: lwIP v1.3.2 FreeRTOS v6.0.4 AT91SAM7X512 based homebrew hardware Brief Description: An embedded system running the above software to create (among other things) a webServer that can service multiple browser clients supporting AJAX connections. Problem: The initial version of my pr

Re: [lwip-users] "Simultaneous" close by server & client causes memp_free error

2011-03-28 Thread Simon Goldschmidt
Dave Harper wrote: > Following this is a loop that will call tcp_close() and keep > doing so if it gets a return status of ERR_MEM. The PCB state at this > point > is ESTABLISHED. The tcp_close() function executes the "tcp_send_ctrl(pcb, > TCP_FIN)" statement but, in the failing situation, this

Re: [lwip-users] "Simultaneous" close by server & client causes memp_free error

2011-03-28 Thread Dave Harper
Simon Goldschmidt wrote: > > This discription suggests that there is more than one task active in lwIP. > You are absolutely correct. I didn't realize this until I stepped through the task creation section after reading your reply and found that this was the case. Thanks, Dave -- View thi