-
-
Notifications
You must be signed in to change notification settings - Fork 31
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
lprint.c: Enable TLS support in Web UI #151
Conversation
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.
Should probably enable by default but disable when the "no-tls" option is used.
@michaelrsweet thanks! It should be okay now. |
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.
Need a little cleanup but otherwise +1
I was not able to come up with one line expression which would be readable for me, feel free to check. |
Currently (1.3.1) there is no way how to turn TLS web UI pages, because system callback does not set WEB_TLS option by default, and checks only for `no-tls` when processing server options. This can be fixed by two way, depending on which default settings we prefer. The PR enables TLS pages by default, leaving to user whether he wants them to be disabled. Disabling is done by removing WEB_TLS from PAPPL options and adding NO_TLS instead.
Currently (1.3.1) there is no way how to turn TLS web UI pages, because system callback does not set WEB_TLS option by default, and checks only for
no-tls
when processing server options.This can be fixed by two way, depending on which default settings we prefer. The PR enables TLS pages by default, leaving to user whether he wants them to be disabled.
Do let me know if you would prefer the other way around.