Skip to content

Fix and add various functions related to http/2 #115

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

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

etcimon
Copy link

@etcimon etcimon commented Mar 9, 2025

Those are some important fixes on BIO structs and functions added including SSL_read_ex which wasn't defined.

Copy link
Contributor

@schveiguy schveiguy left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I can try and review this, but I'm new to how deimos openssl works. So I'm unsure how to verify these changes are correct.

Just naive searching for e.g. bio_method_st, I don't see how this is defined for all versions, to make sure this works on all of them.

c_ulong num_read;
c_ulong num_write;
ulong num_read;
ulong num_write;
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Why switch this? Isn't c_ulong correct?

@@ -559,6 +559,12 @@ version(OPENSSL_NO_SRP) {} else {

} // OPENSSL_NO_SSL_INTERN

alias ALPNCallback = int function(SSL *ssl, const(char) **output, ubyte* outlen, const(char) *input, uint inlen, void *arg);
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Should this not be called SSL_CTX_alpn_select_cb_func like in the .h file? Not sure whether it matters or not.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants