[En-Nut-Discussion] max. HTTP Post length

Ole Reinhardt ole.reinhardt at embedded-it.de
Mon Feb 1 12:26:25 CET 2010


Hi!

> we are using Ethernut 4.8 with ATmega128/256 and having problems with HTTP Post requests greater than 1,9 KB.
> We didn't get a response from the HTTPD and the system needs a restart after the HTTP Post.
> The available heap memory is larger than 8K.

Sounds like a buffer overflow. So you read your post data into a local
variable in the CGI? In this case you might have too less stack size
allocated for your http threads.

Regards,

Ole Reinhardt

-- 

Thermotemp GmbH, Embedded-IT

Embedded Hard-/ Software and Open Source Development, 
Integration and Consulting

Geschäftsstelle Siegen - Steinstraße 67 - D-57072 Siegen - 
tel +49 (0)271 5513597, +49 (0)271-73681 - fax +49 (0)271 736 97

Hauptsitz - Hademarscher Weg 7 - 13503 Berlin
Tel +49 (0)30 4315205 - Fax +49 (0)30 43665002
Geschäftsführer: Jörg Friedrichs, Ole Reinhardt
Handelsregister Berlin Charlottenburg HRB 45978 UstID DE 156329280 




More information about the En-Nut-Discussion mailing list