[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[lwip-devel] [bug #44490] conn->op_completed which signal by do_recv() m
From: |
wangyu |
Subject: |
[lwip-devel] [bug #44490] conn->op_completed which signal by do_recv() may be taken by netconn_write_partly() or lost |
Date: |
Mon, 09 Mar 2015 05:58:41 +0000 |
User-agent: |
Mozilla/5.0 (Windows NT 6.1; WOW64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/39.0.2171.65 Safari/537.36 |
URL:
<http://savannah.nongnu.org/bugs/?44490>
Summary: conn->op_completed which signal by do_recv() may be
taken by netconn_write_partly() or lost
Project: lwIP - A Lightweight TCP/IP stack
Submitted by: honghongbuqi
Submitted on: Mon Mar 9 05:58:40 2015
Category: TCP
Severity: 3 - Normal
Item Group: Feature Request
Status: None
Privacy: Public
Assigned to: None
Open/Closed: Open
Discussion Lock: Any
Planned Release:
lwIP version: 1.4.1
_______________________________________________________
Details:
hi:
I'm sorry to disturb you. there is Some things I am not quite understand.
Every time a new connection established, the netconn_alloc() must Creating
a signal. (sys_sem_new(&conn->op_completed, 0)). the conn->op_completed while
be signal by do_recv() or do_writemore(), and be taken by
netconn_write_partly() or netconn_recved().
NOW, Receive and transmit at the same time, do_recv() signal the
conn->op_completed and do_writemore() signal the conn->op_completed too.
following, the netconn_write_partly() take signal conn->op_completed, but the
netconn_recved() take signal is not successed.
Why not two signals, one for transmit and one for receive???
_______________________________________________________
Reply to this item at:
<http://savannah.nongnu.org/bugs/?44490>
_______________________________________________
Message sent via/by Savannah
http://savannah.nongnu.org/
- [lwip-devel] [bug #44490] conn->op_completed which signal by do_recv() may be taken by netconn_write_partly() or lost,
wangyu <=