Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Remove direct openssl backend, available via env GIO_USE_TLS
- Loading branch information
Showing
8 changed files
with
6 additions
and
2,442 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
Oops, something went wrong.
71d67e4
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Can you explain how that works if I want to use openssl?
71d67e4
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Technically you shouldn't as both backends are supposed to provide equivalent functionality (and I have tested their interoperability).
If you want nevertheless you need to ensure that
Gio team encourages downstream packagers not to include openssl backend on linux (only on windows where it is the only choice anyway) because it had many tests commented out (they were mostly failing). I have landed several commits to unlock all tests (and correct the code to fix the missing functionality) which proves now at least test suite passes. There are still couple of glitches remaining - which is on my todo. Technically I believe Gio team can withdraw the request to shun openssl backend - will raise that.
But till then you'll likely need to build glib-networking manually with openssl support and then:
P.S. Despite failed unit-tests openssl worked quite ok with wocky. It had problem with error reporting consistency (one of the main reasons for failed tests) and then had unimplemented ALPN and resumption. Now remaining glitches are mostly with error reporting for abnormal handshake termination.