[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: |
Frédéric Bernon |
Subject: |
[lwip-devel] [task #7675] Enable to refuse data on a TCP_EVENT_RECV call |
Date: |
Sun, 13 Jan 2008 17:11:14 +0000 |
User-agent: |
Mozilla/5.0 (Windows; U; Windows NT 6.0; fr; rv:1.8.1.11) Gecko/20071127 Firefox/2.0.0.11 |
Follow-up Comment #7, task #7675 (project lwip):
If you want to test it, add these lines in httpd.c, line 156
if (err == ERR_OK && p != NULL) {
{ static int recv_cnt = 0;
recv_cnt++;
if (recv_cnt%2) {
return ERR_MEM;
}
}
/* Inform TCP that we have taken the data. */
tcp_recved(pcb, p->tot_len);
_______________________________________________________
Reply to this item at:
<http://savannah.nongnu.org/task/?7675>
_______________________________________________
Message posté via/par Savannah
http://savannah.nongnu.org/
- [lwip-devel] [task #7675] Enable to refuse data on a TCP_EVENT_RECV call, Frédéric Bernon, 2008/01/13
- [lwip-devel] [task #7675] Enable to refuse data on a TCP_EVENT_RECV call, Simon Goldschmidt, 2008/01/13
- [lwip-devel] [task #7675] Enable to refuse data on a TCP_EVENT_RECV call, Frédéric Bernon, 2008/01/13
- [lwip-devel] [task #7675] Enable to refuse data on a TCP_EVENT_RECV call, Frédéric Bernon, 2008/01/13
- [lwip-devel] [task #7675] Enable to refuse data on a TCP_EVENT_RECV call, Simon Goldschmidt, 2008/01/13
- [lwip-devel] [task #7675] Enable to refuse data on a TCP_EVENT_RECV call, Frédéric Bernon, 2008/01/13
- [lwip-devel] [task #7675] Enable to refuse data on a TCP_EVENT_RECV call, Frédéric Bernon, 2008/01/13
- [lwip-devel] [task #7675] Enable to refuse data on a TCP_EVENT_RECV call,
Frédéric Bernon <=
- [lwip-devel] [task #7675] Enable to refuse data on a TCP_EVENT_RECV call, Jonathan Larmour, 2008/01/14
- [lwip-devel] [task #7675] Enable to refuse data on a TCP_EVENT_RECV call, Frédéric Bernon, 2008/01/14
- [lwip-devel] [task #7675] Enable to refuse data on a TCP_EVENT_RECV call, Simon Goldschmidt, 2008/01/19
- [lwip-devel] [task #7675] Enable to refuse data on a TCP_EVENT_RECV call, Simon Goldschmidt, 2008/01/19