mac invites: don't check certificate
This commit is contained in:
parent
211394649f
commit
7fb8cc587f
|
@ -56,8 +56,7 @@ namespace SparkleLib {
|
|||
{
|
||||
this.is_connecting = true;
|
||||
|
||||
this.thread = new Thread (
|
||||
new ThreadStart (delegate {
|
||||
this.thread = new Thread (() => {
|
||||
int port = Server.Port;
|
||||
|
||||
if (port < 0)
|
||||
|
@ -188,8 +187,7 @@ namespace SparkleLib {
|
|||
}
|
||||
}
|
||||
}
|
||||
})
|
||||
);
|
||||
});
|
||||
|
||||
this.thread.Start ();
|
||||
}
|
||||
|
|
|
@ -154,11 +154,7 @@ namespace SparkleLib {
|
|||
ChangeSets = GetChangeSets ();
|
||||
SparkleWatcherFactory.CreateWatcher (this);
|
||||
|
||||
new Thread (
|
||||
new ThreadStart (delegate {
|
||||
CreateListener ();
|
||||
})
|
||||
).Start ();
|
||||
new Thread (() => CreateListener ()).Start ();
|
||||
|
||||
this.remote_timer.Elapsed += delegate {
|
||||
bool time_to_poll = (DateTime.Compare (this.last_poll,
|
||||
|
@ -382,12 +378,11 @@ namespace SparkleLib {
|
|||
if (this.listener.IsConnected) {
|
||||
this.poll_interval = PollInterval.Long;
|
||||
|
||||
new Thread (
|
||||
new ThreadStart (delegate {
|
||||
new Thread (() => {
|
||||
if (!is_syncing && !HasLocalChanges && HasRemoteChanges)
|
||||
SyncDownBase ();
|
||||
})
|
||||
).Start ();
|
||||
|
||||
}).Start ();
|
||||
}
|
||||
|
||||
this.listener.Connected += ListenerConnectedDelegate;
|
||||
|
|
|
@ -65,7 +65,7 @@ case $1 in
|
|||
invite=`date -u +%N`
|
||||
open=`echo $2 | sed s/sparkleshare:/https:/`
|
||||
open=`echo $open | sed s/sparkleshare-unsafe:/http:/`
|
||||
curl -o ~/SparkleShare/$invite.xml $open --insecure
|
||||
curl --insecure --output ~/SparkleShare/$invite.xml $open
|
||||
;;
|
||||
*)
|
||||
mono "@expanded_libdir@/@PACKAGE@/SparkleShare.exe" --help
|
||||
|
|
Binary file not shown.
Loading…
Reference in a new issue