On Mon, Aug 10, 2009 at 1:41 PM, Chris Strahm<[email protected]> wrote: >>> Maybe recursion? >>> Where is close_conn being called from here? > > It comes from my send_data() routine. > Once all of the data to send has been written to tcp_write(), > then close_conn gets called, and send_data() returns.
Don't know exactly what your source looks like but in the contrib/apps/httpserver_raw/httpd.c, http_recv calls send_data and then calls http_sent immediately afterward. This is okay in the contrib version because send_data does *not* call close_conn. Jeff _______________________________________________ lwip-users mailing list [email protected] http://lists.nongnu.org/mailman/listinfo/lwip-users
