[Top][All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[lwip-devel] [task #7675] Enable to refuse data on a TCP_EVENT_RECV call

From: Simon Goldschmidt
Subject: [lwip-devel] [task #7675] Enable to refuse data on a TCP_EVENT_RECV call
Date: Sun, 13 Jan 2008 14:52:56 +0000
User-agent: Mozilla/5.0 (Windows; U; Windows NT 5.1; de; rv: Gecko/20071127 Firefox/

Follow-up Comment #4, task #7675 (project lwip):

Hmm, that sounds like it could work (although the pbuf_ref(recv_data) is not
really needed).

My solution (first calling pcb->recv and don't ack / stop to process the
segment if pcp->recv returns an error) is really far more complex:
TCP_EVENT_RECV would have to be called from tcp_receive instead of tcp_input
for that (which would also be cleaner for debugging, I think). I wouldn't want
to change that now that we have 1.3.0 nearly finished...


Reply to this item at:


  Nachricht geschickt von/durch Savannah

reply via email to

[Prev in Thread] Current Thread [Next in Thread]