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

Support setting default variable value #3

Merged
merged 2 commits into from
Mar 19, 2014
Merged

Support setting default variable value #3

merged 2 commits into from
Mar 19, 2014

Conversation

calio
Copy link
Contributor

@calio calio commented Mar 19, 2014

I want to use ngx_http_geoip2_module to replace http://wiki.nginx.org/HttpGeoModule in our application. Geo module supports default variable value, and this feature is very important to our application. So this pull request adds default value support to ngx_http_geoip2_module.

char *prefix = "default=";
size_t prefix_len = sizeof("default=") - 1;

printf("prefix len %d", (int)prefix_len);
Copy link
Owner

Choose a reason for hiding this comment

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

Is this supposed to be here?

Copy link
Contributor Author

Choose a reason for hiding this comment

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

Sorry, it shouldn't be here. I'll remove this line.

@leev leev merged commit 2cefb47 into leev:master Mar 19, 2014
@leev
Copy link
Owner

leev commented Mar 19, 2014

Thanks for this @calio, I have merged it.

@AndriiZ AndriiZ mentioned this pull request Jan 5, 2019
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.

2 participants