uip spit output

キャンセル
次の結果を表示 
表示  限定  | 次の代わりに検索 
もしかして: 

uip spit output

600件の閲覧回数
lpcware
NXP Employee
NXP Employee
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
0 件の賞賛
返信
0 返答(返信)