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

Some fixes #243

Merged
merged 10 commits into from
May 28, 2024
Merged

Some fixes #243

merged 10 commits into from
May 28, 2024

Conversation

sjaeckel
Copy link
Member

Check commit messages for details

We have to reset the `r_sent` flag in case we drop the `<r>` stanza,
otherwise the SM `h` request mechanism stops working.

Signed-off-by: Steffen Jaeckel <[email protected]>
In case we're in disconnected state, allow the user to drop the first
element of the send queue, even if it was already in progress
to be written.

Before this patch, the first element could not be retrieved at all, even
after a disconnect.

Signed-off-by: Steffen Jaeckel <[email protected]>
This was reported as creating a segfault in [0]

[0] profanity-im/profanity#1963

Signed-off-by: Steffen Jaeckel <[email protected]>
GnuTLS has support already built-in.

Signed-off-by: Steffen Jaeckel <[email protected]>
Patch written by @matthias-hmb

This fixes #241

Signed-off-by: Steffen Jaeckel <[email protected]>
Signed-off-by: Steffen Jaeckel <[email protected]>
Building the SSL library is too much overhead, let's do this only once
and re-build and run libstrophe with Valgrind enabled in the same runner.

Signed-off-by: Steffen Jaeckel <[email protected]>
Make sure to use the custom built TLS library.

Signed-off-by: Steffen Jaeckel <[email protected]>
* be a bit more verbose on `getaddrinfo()` error
* fix missing space

Signed-off-by: Steffen Jaeckel <[email protected]>
Unfortunately OpenSSL didn't implement a warning for deprecated macros, so
this wasn't discovered until now.

Discovered in [0].

OpenSSL patch to improve the situation proposed in [1].

[0] #244
[1] openssl/openssl#24296

Signed-off-by: Steffen Jaeckel <[email protected]>
@sjaeckel sjaeckel merged commit 5142eea into master May 28, 2024
78 checks passed
@sjaeckel sjaeckel deleted the some-fixes branch May 28, 2024 08:35
@sjaeckel sjaeckel restored the some-fixes branch May 28, 2024 08:35
@sjaeckel sjaeckel deleted the some-fixes branch May 28, 2024 08:35
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.

1 participant