URL/META length

solderpunk solderpunk at SDF.ORG
Sat Jul 4 22:33:46 BST 2020


On Sat, Jul 04, 2020 at 07:17:37PM +0000, Phil Leblanc wrote:
 
> > Can we solve a lot of these issues by bumping up our maximum URL length?
> 
> I suggest bumping the URL maximum length to 8KB.
> 
> - it allows creative uses of _mechanisms already in place_ in Gemini,
> - it doesn't change the definition of the protocol and protocol elements,
> - it doesn't impact existing clients,
> - the impact on existing servers is very limited (allocating a 8K
> instead of 1K buffer...), and an existing server should just refuse
> too long a request.
> - 8K vs 1K doesn't make a difference for a client today in terms of
> RAM footprint - after all, let's not forget that TLS is mandatory here
> ;-)

I'm still open to something like this.  And for the record, I still
think the idea of "uploading by hosting" and passing the URL used for
that in response to a status code 10 is too beautiful not to explore, if
we really, really need to be able to upload in band.  I get that not
everybody can host publically, but this could be worked around in
various ways: pubnixes could offer this facility to their users.
Somebody could setup a lightweight public web upload point which
then rehosted the resource one a one-use Gemini URL - Sloum has already
demonstrated with gemlog.blue how this kind of thing can work.

Cheers,
Solderpunk


More information about the Gemini mailing list