ocserv cookie expires time

Nikos Mavrogiannopoulos n.mavrogiannopoulos at gmail.com
Tue Jan 27 04:18:38 PST 2015


On Tue, Jan 27, 2015 at 1:10 PM, 老T <logtee at gmail.com> wrote:
> Hello
> I set 'cookie-timeout = 300' on ocserv.conf
> But when i connect by android openconnect
> I found this in log
>  20:01:57 LIB: Set-Cookie: webvpnc=; expires=Thu, 01 Jan 1970 22:00:00
> GMT; path=/; Secure.
> and con't reconnect.

The specific header you quote does exactly that, it expires the cookie
(see it has no value). There was a recent discussion on this list
about a bug in the expiration of cookies in 0.9.0. It has been solved
in the master branch of the git repository.

regards,
Nikos



More information about the openconnect-devel mailing list