Add support for openconnect_set_external_browser_callback introduced in...
Add support for openconnect_set_external_browser_callback introduced in openconnect v9.0 (libopenconnect 5.8) using QDesktopServices
Default libopenconnect external browser callback leads to zombie processes that
cause plasma-nm flows to break under certain conditions related to the external
browser process. Delegate showing the login URI to QDesktopServices.
Signed-off-by: Rahul Rameshbabu <sergeantsagara@protonmail.com>
-
🌎 @justinzobelDeveloperThis commit introduced build failures on Fedora ARM64.
/builddir/build/BUILD/plasma-nm-1886827/vpn/openconnect/openconnectauthworkerthread.cpp: In member function 'int OpenconnectAuthWorkerThread::openUri(openconnect_info*, const char*, void*)': /builddir/build/BUILD/plasma-nm-1886827/vpn/openconnect/openconnectauthworkerthread.cpp:212:108: error: cannot convert 'std::nullptr_t' to 'va_list'
-
What I really should have been doing is passing an empty
va_list
to avoid ABI breaks... I'll make an MR with the change. Would make sense adding aarch64 builds/regression runs to the project itself.Edited by Rahul Rameshbabu -
🌎 @justinzobelDeveloperThanks! I do Fedora builds nightly which include ARM so if something is amiss I'll make sure to leave a comment on the commit that introduced it where I can (not a developer so I just look at blame on Gitlab to see who changed a file.
😀 ) -
mentioned in merge request !199 (closed)
-
I really appreciate it @justinzobel. I have opened !199 (closed) to resolve this hopefully.
-
mentioned in merge request !200 (merged)
-
I ended up going with !200 (merged) instead.
-
I see Fedora nightly builds for AArch64 are passing now with !200 (merged).
-
🌎 @justinzobelDeveloperYeah they are, thanks!
-
mentioned in commit 4654501e