Comment by 👻 ps

=> Re: "Few questions about Titan protocol: is any limitation for..." | In: s/Gemini

Thank you!

=> 👻 ps [OP]

Jan 14 · 5 days ago

5 Later Comments ↓

=> ☀️ 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

Original Post

=> 🌒 s/Gemini

Few questions about Titan protocol: is any limitation for header size, like 1024 bytes for Gemini? the header filesize value should be calculated for the data sending or entire packet size (including headers)? and not sure about TLS wrapper - is this really by Titan (if I send data using identity certificate) [gemini link] Authentication & Authorisation

=> 💬 ps · 7 comments · 1 like · Jan 13 · 6 days ago

Proxy Information
Original URL
gemini://bbs.geminispace.org/u/ps/23844
Status Code
Success (20)
Meta
text/gemini; charset=utf-8
Capsule Response Time
62.388815 milliseconds
Gemini-to-HTML Time
0.678802 milliseconds

This content has been proxied by September (ba2dc).