From: Gerrit Renker <gerrit@erg.abdn.ac.uk>
To: dccp@vger.kernel.org
Subject: [ANNOUNCE/RFC] Problems with Socket API: Half-Close
Date: Mon, 02 Apr 2007 10:47:32 +0000 [thread overview]
Message-ID: <200704021147.32221@strip-the-willow> (raw)
I have been experiencing problems with the way passive-close is specified
for DCCP and developed a solution which avoids the following problem:
When a side receives a connection termination (Close or CloseReq), it
can happen that the receive buffers are wiped out before the application
had a chance to see the data; sometimes even before connect() returns.
The solution is based on implementing transitional states (PASSIVE_1/2)
for passive-close. As in TCP, these are terminated after a timeout.
I have put the concept and blurb online:
http://www.erg.abdn.ac.uk/users/gerrit/dccp/docs/closing_states/
There are patches for this which I would like to submit along with the
remaining ones for CCID3. I'd be glad if people could have a look at this
and say if there are disagreements with the concept.
Note: This implementation concept does not affect standards-compliance
since the macroscopic behaviour is still compatible with RFC 4340.
I am however quite positive that without transitional states it will not
work and the API will only function for one or two special scenarious of
socket programming.
Gerrit
next reply other threads:[~2007-04-02 10:47 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
2007-04-02 10:47 Gerrit Renker [this message]
2007-04-02 19:12 ` [ANNOUNCE/RFC] Problems with Socket API: Half-Close Ian McDonald
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=200704021147.32221@strip-the-willow \
--to=gerrit@erg.abdn.ac.uk \
--cc=dccp@vger.kernel.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.