On Wed, Mar 12, 2014 at 2:15 PM, Christophe Fergeau <cfergeau@xxxxxxxxxx> wrote: > On Tue, Mar 11, 2014 at 07:12:56PM +0100, Marc-André Lureau wrote: >> On Tue, Mar 11, 2014 at 6:03 PM, Christophe Fergeau <cfergeau@xxxxxxxxxx> wrote: >> > When qemu only accepts TLS connections, but spice-gtk is given an URI with >> > both port and tls-port specified, spice_session_channel_open_host() is >> > first attempted to the non-TLS port, and when that fails, >> > spice_channel_coroutine() retries a TLS connection. >> > >> >> On a second thought, I think it was also a good idea to report an >> error when the specified non-tls port is invalid. > > I did not get what you want here :-/ In which situation exactly do you want > an error to be reported? When the given plain port doesn't exist or G_IO_ERROR_CONNECTION_REFUSED. That is, it is a good thing to report an error if the spice server only accepts tls connection, but the client was given a plain port too. No? -- Marc-André Lureau _______________________________________________ Spice-devel mailing list Spice-devel@xxxxxxxxxxxxxxxxxxxxx http://lists.freedesktop.org/mailman/listinfo/spice-devel