[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [GNUnet-developers] FS - file uri max size
From: |
Christian Grothoff |
Subject: |
Re: [GNUnet-developers] FS - file uri max size |
Date: |
Sat, 09 Feb 2013 08:17:15 +0100 |
User-agent: |
Mozilla/5.0 (X11; Linux x86_64; rv:10.0.11) Gecko/20121122 Icedove/10.0.11 |
On 02/08/2013 08:28 PM, Smoratinos wrote:
> Hello,
>
> I study a solution to fix the issue gnunet-webui 0002765: length URI
> search result
> https://gnunet.org/bugs/view.php?id=2765
>
> What is the max size of the URI on a search result ?
Right now, close to about 1000 characters for a LOC URI
(run "gnunet-publish -s -a 0 SOMEFILE | wc -c", that generates the
'longest' URIs we have, except for KSK URIs, which are literally
unbounded in length; however, those should not be returned from a
search). So with 1024 bytes you should be fine, but ideally you should
simply not use fixed-size buffers...
Happy hacking!
-Christian