Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

WARNING: Unsupported BIO ctrl call #12025

Closed
petr-fischer opened this issue Apr 22, 2022 · 1 comment · Fixed by #12034
Closed

WARNING: Unsupported BIO ctrl call #12025

petr-fischer opened this issue Apr 22, 2022 · 1 comment · Fixed by #12034
Labels
kind:bug A bug in the code. Does not apply to documentation, specs, etc. topic:stdlib:crypto

Comments

@petr-fischer
Copy link

petr-fischer commented Apr 22, 2022

When I run, for example, this code (just get something on HTTPS with HTTP::Client):

require "http"                                                                                                                                                  
pp HTTP::Client.get("https://www.example.com").headers

this warning occurs in the run output:

WARNING: Unsupported BIO ctrl call (73)
WARNING: Unsupported BIO ctrl call (73)
WARNING: Unsupported BIO ctrl call (73)
WARNING: Unsupported BIO ctrl call (73)
WARNING: Unsupported BIO ctrl call (73)
...
WARNING: Unsupported BIO ctrl call (76)
WARNING: Unsupported BIO ctrl call (76)
...
$ crystal --version
Crystal 1.4.1 [b7377c041] (2022-04-22)

LLVM: 10.0.0
Default target: x86_64-unknown-linux-gnu
$ openssl version
OpenSSL 3.0.2 15 Mar 2022 (Library: OpenSSL 3.0.2 15 Mar 2022)
$ cat /etc/os-release
PRETTY_NAME="Ubuntu 22.04 LTS"
NAME="Ubuntu"
VERSION_ID="22.04"
VERSION="22.04 (Jammy Jellyfish)"
VERSION_CODENAME=jammy
@petr-fischer petr-fischer added the kind:bug A bug in the code. Does not apply to documentation, specs, etc. label Apr 22, 2022
@Blacksmoke16
Copy link
Member

Seems somewhat related to openssl/openssl#5253, as that's what added BIO_CTRL_GET_KTLS_SEND which is what 73 represents.

If I had to guess, I'd say this is related to #11231 in that Crystal bindings weren't updated to handle this context.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
kind:bug A bug in the code. Does not apply to documentation, specs, etc. topic:stdlib:crypto
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants