-
Notifications
You must be signed in to change notification settings - Fork 83
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 Nil pointer references for WebSystemdSocket #127
Conversation
b325bb2
to
5cbf819
Compare
589e116
to
114ce37
Compare
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.
Maybe a better check would be to make sure that there is at least one valid listener and error if there is none.
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.
Perfect, thanks!
This needs a DCO sign-off. You can use |
@SuperQ should be good to go. Squashed commits and amended to have the signature |
Signed-off-by: Ethan J. Gallant <[email protected]> Co-authored-by: William Van Hevelingen <[email protected]> Co-authored-by: Stephanie Palis <[email protected]> change to var
Thanks! |
* [FEATURE] Client TLS: Add option to require a specific Subject Alternate Names #126 * [FEATURE] Add a POST form to the landing page #144 * [FEATURE] Add generic customization to landing page #146 * [ENHANCEMENT] Add a Content-Type header to the landing page #142 * [BUGFIX] Fix Nil pointer references for WebSystemdSocket #127 Signed-off-by: SuperQ <[email protected]>
Noticed this when working with https://github.com/Lusitaniae/apache_exporter
If you don't provide a boolean value for WebSystemdSocket (default false) calling ListenAndServe causes the application to SigSegv. This checks if it is nil before evaluating the boolean value.