cabal-club / cable

A lightweight peer-to-peer chat protocol.
https://cabal.chat
75 stars 4 forks source link

Specify end of stream behaviour #24

Closed mycognosist closed 9 months ago

mycognosist commented 9 months ago

Relates to https://github.com/cabal-club/cable/issues/17

This is a short-and-sweet revision of the handshake specification to document the end of stream requirement when writing messages.

@hackergrrl, please feel free to edit as desired.

mycognosist commented 9 months ago

Thanks for drafting this up @mycognosist! I think there was a miscommunication in where/when the eos marker is sent, so I tried to clarify how I think it would make sense to work.

Ah yes, of course! How embarrassing. I misunderstood. I'll work on the changes.

mycognosist commented 9 months ago

@hackergrrl

Changes submitted. Should be correct now 😅