Few questions about Titan protocol:

=> Authentication & Authorisation

=> Posted in: s/Gemini | 👻 ps

Jan 13 · 5 days ago · 👍 vi

7 Comments ↓

=> 🦂 zzo38 · Jan 14 at 03:33:

I ha implemented Titan in astroget (and is the program I use to send long messages to bbs.geminispace.org, so I know it works). The file size is only the file and not the headers. It does use TLS, and client certificates can be used. I don't know about limitation of header size but I am guessing it is same as Gemini.

=> 👻 ps [OP] · Jan 14 at 06:35:

Thank you!

=> ☀️ vi · Jan 14 at 08:15:

Back when I implemented a Titan server, I had noticed that there did not seem to be a header size limitation. That said, I would recommend anyone setting up a titan server to have a header size limit. How big of a size? Well, however big you feel is reasonable for your server. I personally use 1024 bytes, as I also use that for the gemini server side of things, but any reasonable size works. If you want any gemini url to work, then maybe 2048 will work to give you 1024 bytes for the semicolon and titan parameters.

=> 🕹️ skyjake [mod...] · Jan 14 at 10:19:

I concur with @vi. You should account for the ~1024 bytes of the Gemini URL plus any Titan parameters; I don't think there is any limit on the size of the token. It would be possible to pass an unlimited amount of base64-encoded data in the token as part of the request, in addition to the actual payload.

It is up to the server to decide what is allowed and what isn't for the given application.

=> 🚀 stack · Jan 14 at 20:28:

I just remembered that Lagrange allows URL size to be changed (to embed images, for instance)-- mine us set to 32Kb.

@skyjake, forgive my senior moment, could you clarify what happens when such URLs are rendered and activated? Does the server get hit with the entire thing?

=> 🦂 zzo38 · Jan 15 at 03:34:

If you mean "data:" URLs (which may be really long, if they are used to embed pictures), then these URLs are not sent to the server when selected; they are handled locally.

=> 🚀 stack · Jan 15 at 05:46:

oh, right

Proxy Information
Original URL
gemini://bbs.geminispace.org/s/Gemini/23822
Status Code
Success (20)
Meta
text/gemini; charset=utf-8
Capsule Response Time
52.948263 milliseconds
Gemini-to-HTML Time
1.279447 milliseconds

This content has been proxied by September (ba2dc).