what it also doesn't have is a way to say when the file has ended
Is this not the stated purpose of TLS close-notify as described in the gemini specification? [1] Given that it follows a one-request per connection, this is a good signal for end-of-file, no?
As per RFCs 5246 and 8446, Gemini servers MUST send a TLS `close_notify` prior to closing the connection after sending a complete response. This is essential to disambiguate completed responses from responses closed prematurely due to network error or attack.
Is this not the stated purpose of TLS close-notify as described in the gemini specification? [1] Given that it follows a one-request per connection, this is a good signal for end-of-file, no?
[1] Section 4: https://gemini.circumlunar.space/docs/specification.gmi