Content originally posted in LPCWare by nkarakotas on Thu Jun 09 12:46:26 MST 2011
Hi,
Im serving files from an SDCARD to the http server implemented by uip. When the file is large I use the split output due to the delay output. But this doesnt seem to split the output. I have debuged it and noticed that it will never enter the following if statement where all the splitting is done:
[PHP]
/* We only try to split maximum sized TCP segments. */
if(BUF->proto == UIP_PROTO_TCP &&
uip_len == UIP_BUFSIZE - UIP_LLH_LEN) {
....(splitting done here)
}
[/PHP]
uip_len is always less than the UIP_BUFSIZE - UIP_LLH_LEN by a few bytes.
Has anyone stabled across this problem?
Regards,
Nick