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

tinyproxy.conf.5: document config strings that require double quotes #493

Merged
merged 2 commits into from
May 24, 2023

Conversation

ivanwick
Copy link
Contributor

@ivanwick ivanwick commented May 9, 2023

String config values matched by the STR regex must be enclosed in double quotes

Edit descriptions for brevity

conf.c: move boolean arguments comment before BOOL group

addresses #491

String config values matched by the STR regex must be enclosed in double
quotes

Edit descriptions for brevity

conf.c: move boolean arguments comment before BOOL group

addresses tinyproxy#491
src/conf.c Outdated
@@ -199,8 +199,8 @@ struct {
STDCONF (defaulterrorfile, STR, handle_defaulterrorfile),
STDCONF (statfile, STR, handle_statfile),
STDCONF (stathost, STR, handle_stathost),
STDCONF (xtinyproxy, BOOL, handle_xtinyproxy),
/* boolean arguments */
Copy link
Contributor Author

Choose a reason for hiding this comment

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

I saw the comment out of place when reviewing these regexes for the documentation about quoting. But this change can be reverted if we want to keep the PR strictly in the docs directory.

Copy link
Contributor

Choose a reason for hiding this comment

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

yes, please move this to separate PR; it's unrelated to what this PR does.

Copy link
Contributor Author

Choose a reason for hiding this comment

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

Reverted conf.c change in a806636

@rofl0r rofl0r merged commit 1e615e6 into tinyproxy:master May 24, 2023
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.

None yet

2 participants