๐พ Archived View for bbs.geminispace.org โบ u โบ stack โบ 22149 captured on 2024-12-17 at 15:49:36. Gemini links have been rewritten to link to archived content
-=-=-=-=-=-=-
Re: "Not sure I understand this line in specification: Clients..."
How do you know what is the last byte?
Nov 24 ยท 3 weeks ago
๐ป ps [OP] ยท Nov 24 at 15:22:
@HanzBrix ah, exactly! it's just memory kidding me, wrote some gemini servers before, where closed connection after last byte sent. still thinking as server :)
๐ requiem ยท Nov 25 at 19:56:
Keeping it open is also what enables TCP streaming over Gemini, there was some experimental chat software for it :)
Not sure I understand this line in specification: Clients SHOULD NOT close a connection by default, but MAY in case the content exceeds constraints set by the user. [https link] Why should I keep connection open (on client-side), even the page has been loaded? Maybe just to prevent double handshake only? Asking, because have some head pain with Rust implementation, where connection get dopped by last reference left the scope. So here simpler to open connection again, than hold and manage...