tenbaht / avr-uip

Automatically exported from code.google.com/p/avr-uip
0 stars 0 forks source link

CGI name lookup has cgi function pointer pointing something other than a function, was - IP re-assembly code causes device to reset #8

Closed GoogleCodeExporter closed 8 years ago

GoogleCodeExporter commented 8 years ago
So, the issue is this.

avr-uip is a tiny tiny device.
the web browser talking to it is giant.

The giant shouts so loud that it have to send two IP packets for a single 
sentence.  Chrome and Firefox BOTH do this on my desktop from time to time.  
When requesting a web page.  So, for these requests to work we need to 
re-assemble the IP packets.  The code to do this appears to be broken at this 
time.

So, this bug is to FIX IT!

wget of a page btw does NOT cause an issue.  The web browsers are telling our 
little UIP dev ALL of the things they understand during the http get request.  
It's just too much so it is split into two packets. :-\

Once the UIP stack IP re-assembly code is fixed.  The RAM requirement will 
double for your UIP_CONF_BUFFER_SIZE

If you want to talk with a modern web browser it's going to be a fact of life.

Original issue reported on code.google.com by qarc...@gmail.com on 30 Apr 2011 at 6:43

GoogleCodeExporter commented 8 years ago
It turns out this was really caused by the CGI lookup code jumping off to an 
unknown address. 

Original comment by qarc...@gmail.com on 26 May 2011 at 3:15

GoogleCodeExporter commented 8 years ago
Fixed with svn rev 96 & 97

Original comment by qarc...@gmail.com on 26 May 2011 at 3:16