[En-Nut-Discussion] Http server
Damian Slee
damian at commtech.com.au
Thu Feb 19 07:50:46 CET 2004
Not big enough stack on all of the threads?
-----Original Message-----
From: Cosmin Buhu [mailto:towmeup at as.ro]
Sent: Thursday, 19 February 2004 2:39 PM
To: Ethernut User Chat (English)
Subject: Re: [En-Nut-Discussion] Http server
Me again,
I found from heap tracing that I have MEMCORR-, MEMNULL and TWICE
problems. Right before ethernut locks.
Most frequently MEMCORR-. What can cause heap corruption ?
Thanks,
Cosmin
----- Original Message -----
From: "Oliver Schulz" <olischulz at web.de>
To: "'Ethernut User Chat (English)'" <en-nut-discussion at egnite.de>
Sent: Thursday, February 19, 2004 12:41 AM
Subject: Re: [En-Nut-Discussion] Http server
Hi Cosmin,
Since I cannot yet reproduce this lockup with my system, please do me a
favour. Add the following lines in app/httpd/httpserv.c in function
THREAD(service,...) just before the call to NutTcpAccept:
u_long ul;
ul = 3000;
NutTcpSetSockOpt (sock, SO_SNDTIMEO, &ul, sizeof(ul));
...and test again.
Cheers,
Oliver.
_______________________________________________
En-Nut-Discussion mailing list
En-Nut-Discussion at egnite.de
http://www.egnite.de/mailman/listinfo.cgi/en-nut-discussion
More information about the En-Nut-Discussion
mailing list