Altera_Forum
Honored Contributor
20 years agoWebserver/LWIP problem
hi guys, ive got a tough one here
im using the altera provided webserver example to pump over data, a 8 meg html file to be exact, and most of the time things go well i also tweaked the TCP settings of the LWIP stack a bit, i changed the packter buffers from 16 to 4, and changed the TCP send window to 17520, which is the default on the connecting windows PC, for optimal speed, this gave me an improvement of about one second, from 8.1 to 7.1 transfer time however, with these settings, sometimes the server will crash, the last two packets sent over the network are TCP window updates from the PC to the server, first switching the window to 2596, then back up to 17520, the end result is that the webserver will simply stop sending data, untill the next web page is requested does anyone know why the server cant handle the sudden change in TCP window? altering any settings on the windows PC is no real option