lwip-users
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [lwip-users] http server problems/bug


From: Sergio R. Caprile
Subject: Re: [lwip-users] http server problems/bug
Date: Thu, 4 Aug 2016 11:52:13 -0300
User-agent: Mozilla/5.0 (Windows NT 6.1; rv:45.0) Gecko/20100101 Thunderbird/45.2.0

I saw this
> fail ,including tcp client which is an independent thread )
and then
> *Testing Conditions*
> Lwip 1.4.1 ,   web server is based on example of ‘httpserver_raw’,
> that means the web server is inside the tcpip_thread  rather than an
> independent thread.

All lwIP RAW API functions must be called on the very same
thread/execution context. That web server is RAW API.
Applications in other threads must use netconn or socket APIs
Frame reception must happen in the same thread the web server runs

My advices:

 please do not post capture snapshots (or text copies...), post capture
files. And please post the whole session...

Please describe your environment, yours is a NO_SYS = 0 system, is it
that way ? have you checked the driver ? the port ? Did you happen to
try a simple known-to-work app before jumping into a full multithreaded
system ?





reply via email to

[Prev in Thread] Current Thread [Next in Thread]