[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Gnu-arch-users] tla + webdav + https
From: |
Matthieu Moy |
Subject: |
[Gnu-arch-users] tla + webdav + https |
Date: |
Thu, 04 Mar 2004 16:08:34 +0100 |
User-agent: |
Gnus/5.1002 (Gnus v5.10.2) Emacs/21.2 (gnu/linux) |
Hi !
Does tla 1.2 manage SSL ?
According to the source code, it seems so (from pfs-dav.c) :
int
arch_pfs_dav_supported_protocol (t_uchar * uri)
{
if (!str_cmp_prefix ("http:", uri) ||
!str_cmp_prefix ("https:", uri))
return 1;
else
return 0;
}
And this should be easy to implement since neon already manage it.
But I get this :
$ tla archives
address@hidden
https://user:address@hidden:443/path/to/archive
$ tla get hello--mainline
webdav error: 400 Bad Request
The error is raised in pfs-dav.c:712
if (pfs->sess_opts.dav_class1) /* if the server supports DAV */
[...]
else /* no dav, so look for a listing file */
{
[...]
if ((ne_err = ne_getmodtime (pfs->sess, dirlisting, &mtime)))
{
==> safe_printfmt (2, "webdav error: %s\n", ne_get_error (pfs->sess));
exit (2);
}
lim_free (0, dirlisting);
}
It seems tla considers my server as a standard https server, not
webdav.
Any idea ?
--
Matthieu
- [Gnu-arch-users] tla + webdav + https,
Matthieu Moy <=