Re: [lwip-users] LWIP MQTT+HTTPd with ssi

2019-09-06 Thread JJ
Thank you for reply.
May it be that httpd becomes "too slow"?
Debugging app I found that here:

#if LWIP_HTTPD_SSI
  if(hs->ssi) {
data_to_send = http_send_data_ssi(pcb, hs);
  } else
#endif /* LWIP_HTTPD_SSI */
  {
data_to_send = http_send_data_nonssi(pcb, hs);
  }

hs->ssi is, for some unknown reason, null when MQTT is active, even if it
shouldn't.
You may be right talking about misconfigurations. 
May it be I need to add more resources? But which ones impact on hs->ssi ==
null? 

Thank you



--
Sent from: http://lwip.100.n7.nabble.com/lwip-users-f3.html

___
lwip-users mailing list
lwip-users@nongnu.org
https://lists.nongnu.org/mailman/listinfo/lwip-users

Re: [lwip-users] LWIP MQTT+HTTPd with ssi

2019-09-06 Thread Simon Goldschmidt
"JJ" wrote:
> I’m using your MQTT client app with success.  
> But when I activate HTTPD in LWIP, the SSI codes are not parsed anymore if
> MQTT client is active.
> I mean:
> 1.If I activate only HTTPD + SSi it works as expected.
> 2.If I activate only MQTT it works as expected.
> 3.If I activate HTTPD+SSI and MQTT, MQTT works as expected.  HTTPD works,
> but SSI codes are not parsed anymore, they are printed as strings onto the
> web pages. And, moreover, the page is rendered very slow in Chrome and
> Firefox, but normally fast in Edge.
> 
> May someone help me in finding the issue?

Both MQTT and HTTPD are separate apps. They don't have anything to do
with each other, so I see no apparent reason for your problem.

I guess you'll need to find that out yourself. Watch out for 
misconfigurations...

Regards,
Simon

___
lwip-users mailing list
lwip-users@nongnu.org
https://lists.nongnu.org/mailman/listinfo/lwip-users

[lwip-users] LWIP MQTT+HTTPd with ssi

2019-09-06 Thread JJ
I’m using your MQTT client app with success.  
But when I activate HTTPD in LWIP, the SSI codes are not parsed anymore if
MQTT client is active.
I mean:
1.  If I activate only HTTPD + SSi it works as expected.
2.  If I activate only MQTT it works as expected.
3.  If I activate HTTPD+SSI and MQTT, MQTT works as expected.  HTTPD works,
but SSI codes are not parsed anymore, they are printed as strings onto the
web pages. And, moreover, the page is rendered very slow in Chrome and
Firefox, but normally fast in Edge.

May someone help me in finding the issue?
JJ



--
Sent from: http://lwip.100.n7.nabble.com/lwip-users-f3.html

___
lwip-users mailing list
lwip-users@nongnu.org
https://lists.nongnu.org/mailman/listinfo/lwip-users