-
Notifications
You must be signed in to change notification settings - Fork 1.1k
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
enable setting LimitRequestFieldSize globally as it does not actually… #1293
Conversation
… work to increase it, inside a vhost
@KlavsKlavsen from httpd's documentation
If your default (first listed) vhost doesn't have any settings, it'll use the Server's default setting, if the server hasn't changed it, it'll default to 8190. at any rate, i agree, that this is more sensible to put in init.pp rather than vhost.pp |
@igalic Thank you. my parser did NOT quite catch that in the documentation ;) We just confirmed this however, by testing and found that it works when we set it in our default vhost (so we can avoid forking apache upstream module to set this - until puppetlabs-apache supports it as a general setting. |
@KlavsKlavsen cool would you mind extending the documentation, and adding a test? my recommendation is to use the github flow workflow, if you want to make your life / contribution easier, with follow-up requests from me and my fellow colleagues ;) |
I usually create a branch - when I find I need to do other PR's.. but yeah.. I should probably start with doing that, just to be sure :) I'm running "rake spec" now - to test my updated test procedure.. damn it takes time.. :) |
you can select only a few tests with rake rspec spec/classes/apache_spec.rb rspec spec/defines/vhost_spec.rb |
I've added the new test and removed the vhost option. the test succeeds: |
thank you @KlavsKlavsen |
enable setting LimitRequestFieldSize globally as it does not actually…
thanks @KlavsKlavsen, thanks @tphoney for review |
… work to increase it, inside a vhost. We tested with Kerberos keys (which is why we need to increase - as they can be upto 12000 bytes long.. so a default of 8190 doesn't work :)