💾 Archived View for bbs.geminispace.org › u › zzo38 › 22801 captured on 2024-12-17 at 15:22:34. Gemini links have been rewritten to link to archived content

View Raw

More Information

-=-=-=-=-=-=-

Comment by 🦂 zzo38

Re: "TLS close-notify .... what were they thinking?"

In: s/Gemini

The "astroget" program does not currently handle close notify (in future it might be, although I had not tried to figure out how).

Presumably, TLS close notify is helpful for Gemini to indicate EOF, since there is no length header. (Even if there is a length header, the server might not always know the length of the file, e.g. in case it is a dynamic file, so it cannot always be used.)

🦂 zzo38

Dec 14 · 4 days ago

1 Later Comment

😈 dimkr · Dec 15 at 07:31:

My client has this horrible line (https://github.com/dimkr/gplaces/blob/f7254ed468effb9912a56db92052ef04791527ec/gplaces.c#L943) and I'd love to remove it but last time I checked there were still popular capsules (one of the search engines I think?) that don't send close_notify

Original Post

🌒 s/Gemini

TLS close-notify .... what were they thinking? — At least the new Gemini spec considers the case where servers choose to skip this step. How do you handle a missing close_notify in your clients?

💬 lufte · 4 comments · Dec 13 · 4 days ago