[En-Nut-Discussion] Http server

Cosmin Buhu towmeup at as.ro
Thu Feb 19 07:39:15 CET 2004


    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.






More information about the En-Nut-Discussion mailing list