[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [Gnu-arch-users] arch + webdav + https ?
From: |
Jan Hudec |
Subject: |
Re: [Gnu-arch-users] arch + webdav + https ? |
Date: |
Tue, 9 Mar 2004 09:07:08 +0100 |
User-agent: |
Mutt/1.5.5.1+cvs20040105i |
On Fri, Mar 05, 2004 at 07:56:58 +0100, Matthieu Moy wrote:
> Hi !
>
> [ I've tried to post this message directly to the list, but it seems
> to have been lost. Trying through gmane ]
>
> Does tla 1.2 manage SSL (HTTPS) ?
>
> 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 manages 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 ?
Look at the wiki (gnuarch.org). It says that HTTPS support is disabled
in the configure script. It says that the reason is legal -- OpenSSL
license is incompatible with GPL (It's a BSD-style license).
-------------------------------------------------------------------------------
Jan 'Bulb' Hudec
<address@hidden>
signature.asc
Description: Digital signature