💾 Archived View for egsam.glv.one › 1.1.gmi captured on 2023-04-19 at 22:19:15. Gemini links have been rewritten to link to archived content
⬅️ Previous capture (2021-11-30)
-=-=-=-=-=-=-
We will test client certificate in later sections.
Let's kick off with some connection tests:
▶️ Domain will not resolve, client should fail gracefully
▶️ Port is not open, client should fail gracefully
▶️ Server takes too long to write response, client should fail gracefully
There is one kind of Gemini transaction, roughly equivalent to a gopher request or a HTTP "GET" request. Transactions happen as follows:
C: Opens connection
S: Accepts connection
C/S: Complete TLS handshake (see section 4)
C: Validates server certificate (see 4.2)
C: Sends request (one CRLF terminated line) (see section 2)
S: Sends response header (one CRLF terminated line), closes connection
under non-success conditions (see 3.1 and 3.2)
S: Sends response body (text or binary data) (see 3.3)
S: Closes connection
C: Handles response (see 3.4)