Re: [PATCH spice-gtk 3/5] webdav: use a pipe to connect to server

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

 



On Mon, Feb 23, 2015 at 3:57 PM, Christophe Fergeau <cfergeau@xxxxxxxxxx> wrote:
> Is it required to pass this fake 127.0.0.1 address?
> soup_server_accept_iostream says it can accept NULL local/remote
> addresses.

It depends how you use the server. If you accept http 1.0 requests
(right now phodav doesn't prevent that), in some conditions, this will
fail and trigger a warning. So it is best to give a local address

>> +    if (!soup_server_accept_iostream(server, peer, addr, addr, &error))
>> +        goto fail;
>
> Looks good otherwise from a cursory look (iow trusting that it has been
> tested and works ok).




-- 
Marc-André Lureau
_______________________________________________
Spice-devel mailing list
Spice-devel@xxxxxxxxxxxxxxxxxxxxx
http://lists.freedesktop.org/mailman/listinfo/spice-devel





[Index of Archives]     [Linux ARM Kernel]     [Linux ARM]     [Linux Omap]     [Fedora ARM]     [IETF Annouce]     [Security]     [Bugtraq]     [Linux]     [Linux OMAP]     [Linux MIPS]     [ECOS]     [Asterisk Internet PBX]     [Linux API]     [Monitors]