Hi, I'm currently trying to make a custom build that uses libssh2 instead of exec for SSH, since I don't want OpenSSH windows to spawn as my program makes requests. I changed this flag, then followed through the rest of the compilation steps both for native binaries and lg2s.
I then tried pulling, not on a proxy, using this code:
varfOptions=newFetchOptions();fOptions.Prune=UpdaterMod.settings.pruneOld;varmOptions=newMergeOptions();mOptions.CommitOnSuccess=true;mOptions.FileConflictStrategy=UpdaterMod.settings.onFileConflict;varsig=newSignature(newIdentity(modName,email),DateTimeOffset.Now);try{stringlogHolder="";Commands.Fetch(repo,remote.Name,refSpecs,fOptions,logHolder);if(logHolder.Length>0)LogMsg(logHolder,LogMode.Warn);}catch(Exceptione){LogMsg($"Could not fetch data from remote repo: {e.Message}",LogMode.Error);return;}Expected behavior
The program should attempt to pull without trying to use a proxy.
Actual behavior
The caught exception contains the message in the title.
System information
Windows 10 10.0.19045
AMD Ryzen 5 3600
Other useful information
This issue persists when the flag is switched back to exec
Hi, I'm currently trying to make a custom build that uses
libssh2instead ofexecfor SSH, since I don't want OpenSSH windows to spawn as my program makes requests. I changed this flag, then followed through the rest of the compilation steps both for native binaries and lg2s.I then tried pulling, not on a proxy, using this code:
Expected behavior
The program should attempt to pull without trying to use a proxy.
Actual behavior
The caught exception contains the message in the title.
System information
Windows 10 10.0.19045
AMD Ryzen 5 3600
Other useful information
This issue persists when the flag is switched back to exec