All of lore.kernel.org
 help / color / mirror / Atom feed
* [ANNOUNCE/RFC] Problems with Socket API: Half-Close
@ 2007-04-02 10:47 Gerrit Renker
  2007-04-02 19:12 ` Ian McDonald
  0 siblings, 1 reply; 2+ messages in thread
From: Gerrit Renker @ 2007-04-02 10:47 UTC (permalink / raw)
  To: dccp

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

^ permalink raw reply	[flat|nested] 2+ messages in thread

* Re: [ANNOUNCE/RFC] Problems with Socket API: Half-Close
  2007-04-02 10:47 [ANNOUNCE/RFC] Problems with Socket API: Half-Close Gerrit Renker
@ 2007-04-02 19:12 ` Ian McDonald
  0 siblings, 0 replies; 2+ messages in thread
From: Ian McDonald @ 2007-04-02 19:12 UTC (permalink / raw)
  To: dccp

On 4/2/07, Gerrit Renker <gerrit@erg.abdn.ac.uk> wrote:
> I have been experiencing problems with the way passive-close is specified
> for DCCP and developed a solution which avoids the following problem:
>
> Gerrit
>
This looks good to me after studying for a short while.

-- 
Web: http://wand.net.nz/~iam4/
Blog: http://iansblog.jandi.co.nz
WAND Network Research Group

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2007-04-02 19:12 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2007-04-02 10:47 [ANNOUNCE/RFC] Problems with Socket API: Half-Close Gerrit Renker
2007-04-02 19:12 ` Ian McDonald

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.