lynx-dev
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: lynx-dev Cookie size problem


From: Klaus Weide
Subject: Re: lynx-dev Cookie size problem
Date: Wed, 23 Dec 1998 18:13:15 -0600 (CST)

On Wed, 23 Dec 1998, Chris Bongaarts wrote:
> (I'm not on this list; I won't see replies unless I am cc:'ed...)
> 
> A project I'm working on here uses rather large (~2k) cookies, which
> lynx 2.7.1 and probably 2.8.1 can't support due to this line in
> WWW/Library/Implementation/HTMIME.c:
> 
> #define VALUE_SIZE 1024         /* @@@@@@@ Arbitrary? */
> 
> The original Netscape cookie "standard" specifies cookies up to 4K in
> length should be accepted.  Changing this value to 4096 makes my
> cookies work just fine.  As this value is "arbitrary", it should be no 
> problem to make this a permanent Lynx change, no? :)
> 
> (Of course, since the actual issue is part of lib-www and not Lynx
> proper, maybe this isn't such a trivial change :)

No, that should be OK.

The size is limited to 4096 in LYCookie.c anyway.  But that always 
includes domain and path attributes, whether explicit or implied,
so it isn't actually possible to use the full 4096 bytes for just
name + value.


   Klaus

reply via email to

[Prev in Thread] Current Thread [Next in Thread]