-
Notifications
You must be signed in to change notification settings - Fork 1.8k
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 sendfile option validation #1168
Conversation
The --no-sendfile option had a confusing entry in the usage message. Even though sendfile is enabled by default, the --no-sendfile flag showed a true value as the default, which could be interpreted to mean that by default sendfile support is disabled. This change makes the default "None", meaning sendfile is not disabled, which is hopefully slightly more clear. Close #1156
#1169 makes travis-ci return an OK. gaiohttp test is still broken on this branch |
da1e90f
to
6e6c2f6
Compare
@tilgovi oups pushed a new version, i missed to commit a part in the config.py on which I moved part of your previous diff. Let me know if it's ok for you. |
though maybe we should just keep your change instead of introducing a new property... Anyway let me know :) |
sendfile option don't set any default for now which makes the validation fail (and then tests) since no boolean is given. For now just return when the value is not set.
6e6c2f6
to
9730978
Compare
nvm I'm tired :) pushed the third version just fixing the test. |
Okay :-). We can do more another time. On Mon, Dec 28, 2015, 11:41 Benoit Chesneau notifications@github.com
|
ok :) merging it. will make the release asap. thanks for the review! |
fix sendfile option validation
fix sendfile option validation
sendfile option don't set any default for now which makes the validation fail
(and then tests) since no boolean is given. For now just return when the value
is not set.