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

fix: Signal Handlers on Non-Windows Platforms in sslclient #1123

Merged
merged 6 commits into from
May 1, 2024

Conversation

Nidhoegger
Copy link
Contributor

@Nidhoegger Nidhoegger commented Apr 6, 2024

Only set signals to Ignore on non-Linux of no signal-handler is in place. Also set the SA_RESTART flag to avoid operations returning EINTR.

Code change checklist

  • I have ensured that all methods and functions are fully documented using doxygen style comments.
  • My code follows the coding style guide.
  • I tested that my change works before raising the PR.
  • I have ensured that I did not break any existing API calls.
  • I have not built my pull request using AI, a static analysis tool or similar without any human oversight.

@CLAassistant
Copy link

CLAassistant commented Apr 6, 2024

CLA assistant check
All committers have signed the CLA.

@github-actions github-actions bot added the code Improvements or additions to code. label Apr 6, 2024
Copy link

netlify bot commented Apr 6, 2024

Deploy Preview for dpp-dev ready!

Name Link
🔨 Latest commit 1ea7c12
🔍 Latest deploy log https://app.netlify.com/sites/dpp-dev/deploys/662d3e8f400af4000898751d
😎 Deploy Preview https://deploy-preview-1123--dpp-dev.netlify.app
📱 Preview on mobile
Toggle QR Code...

QR Code

Use your smartphone camera to open QR code link.

To edit notification comments on pull requests, go to your Netlify site configuration.

@Jaskowicz1
Copy link
Contributor

Jaskowicz1 commented Apr 6, 2024

Thanks for your contribution! This PR doesn't seem like it's carried anything from master so it's okay to stay up but next time please make your changes on a branch based from dev, rather than using the master branch!

@Jaskowicz1
Copy link
Contributor

Also, next time, please read the description of the PR and choose the template that accurately reflects your PR. I've added the template in for you this time, please fill it out (and correct your PR title to follow our conventions please!)

@Nidhoegger Nidhoegger changed the title Signal Handlers on Non-Windows Platforms in sslclient fix: Signal Handlers on Non-Windows Platforms in sslclient Apr 6, 2024
@Nidhoegger Nidhoegger force-pushed the master branch 2 times, most recently from 0f261f3 to b448d3a Compare April 6, 2024 13:58
Copy link
Contributor

@braindigitalis braindigitalis left a comment

Choose a reason for hiding this comment

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

changes requested

@Nidhoegger
Copy link
Contributor Author

Nidhoegger commented Apr 6, 2024 via email

@braindigitalis
Copy link
Contributor

braindigitalis commented Apr 7, 2024 via email

@Nidhoegger
Copy link
Contributor Author

Nidhoegger commented Apr 7, 2024 via email

@Nidhoegger
Copy link
Contributor Author

Anyway, changed it. There is no harm done in ignoring it IMHO

@Nidhoegger
Copy link
Contributor Author

Nidhoegger commented Apr 8, 2024 via email

@braindigitalis
Copy link
Contributor

To set everything to a known state. Not everything is checked and other fields might be set.Message ID: @.***>

surely the nicer c++ way is just: sa = {};

@Nidhoegger
Copy link
Contributor Author

Nidhoegger commented Apr 8, 2024 via email

@Jaskowicz1
Copy link
Contributor

Is this latest change tested?

@braindigitalis braindigitalis merged commit 70077e8 into brainboxdotcc:dev May 1, 2024
42 of 43 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
code Improvements or additions to code.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants