[BEEPwg] pipelining within channel 0

james woodyatt jhw@wetware.com
Tue, 11 May 2004 21:34:53 -0700

On 11 May 2004, at 15:21, Marshall Rose wrote:
> a related ambiguity is how to handle a simultaneous close on channel 
> zero!

Here's how that works in my implementation: if you have sent a <close/> 
and not yet received a reply/error, then you respond to a <close/> by 
sending an <error code='450'> in response.  If you receive an <error 
code='450'> in response to a <close/> you've sent, and you've responded 
to a <close/> with an <error code='450'> then you retry the <close/> if 
you're the peer in the initiator role.

j h woodyatt <jhw@wetware.com>