Randall Leeds
d6a47e8aa2
Merge pull request #1193 from urbaniak/gaiohttp-logging
...
fix access logging in gaiohttp worker
2016-02-02 18:04:40 -08:00
Berker Peksag
012d958327
Merge pull request #1197 from kaniini/fix-939
...
use EnvironmentError instead of socket.error (closes #939 )
2016-02-03 01:56:56 +02:00
Krzysztof Urbaniak
353508cd8a
fix access logging in gaiohttp worker
2016-02-03 00:55:58 +01:00
William Pitcock
448bb0a94d
use EnvironmentError instead of socket.error
2016-02-01 09:57:27 -05:00
Benoit Chesneau
db52b6e66b
Merge pull request #1079 from darkrain42/empty-message-for-HEAD-replies
...
Ensure response to HEAD request won't have message body
2016-01-22 15:17:54 +01:00
Benoit Chesneau
b2aa84b491
Merge pull request #1182 from MarSoft/1181-reload-logging
...
Fixed log message for listener reloading
2016-01-22 14:59:20 +01:00
Semyon Maryasin
46da49fd5a
Fixed log message for listener reloading
...
Fixes #1181
2016-01-09 15:01:27 +03:00
Berker Peksag
3ccdafbb62
Simplify installation instructions in gunicorn.org
2016-01-06 01:52:36 +02:00
benoitc
6dcd7a6ada
keep a consistent style
2016-01-05 01:10:38 +01:00
benoitc
68cd6c3b05
bump to 19.4.5
2016-01-05 01:06:42 +01:00
Berker Peksag
0ba74cf202
Merge pull request #1178 from tuco86/master
...
Fix NameError fileno in gunicorn.http.wsgi
2016-01-04 16:31:07 +02:00
Hannes Uebelacker
2fe4ad72ca
fix http.wsgi.Response.sendfile
2016-01-04 14:11:15 +01:00
benoitc
eabe7da84f
fix changelog
2016-01-04 11:00:35 +01:00
benoitc
72ebf90574
it should be 19.4.4
2016-01-04 10:46:23 +01:00
benoitc
ac07b06664
typo
2016-01-04 10:37:03 +01:00
benoitc
b466c0192c
say hello to 2016
2016-01-04 10:36:14 +01:00
benoitc
894978d171
bump to 19.4.3
2016-01-04 10:34:40 +01:00
benoitc
c42419dacb
doc: be more descriptive in errorlog option
...
fix #1173
2016-01-04 10:22:40 +01:00
Paul Aurich
53329b19cc
Ensure response to HEAD request won't have message body
...
Ensure that Gunicorn won't try to use chunked transfer-encoding for responses
to a HEAD request, so that `Response.close` will not write a terminating
chunk. Responses to a HEAD request MUST NOT have a message-body.
The application is still responsible for ensuring no message body is actually
generated in response to a HEAD request.
2016-01-03 18:25:07 -08:00
Benoit Chesneau
305f373dc6
Merge pull request #1175 from benoitc/fix/1174
...
reuse util.is_fileobject
2016-01-02 14:35:08 +01:00
benoitc
5bc13be79e
rename util.is_fileobject to util.has_fileno
...
be more descriptive
2015-12-31 15:32:08 +01:00
benoitc
d55ef38c8a
reuse util.is_fileobject
...
is_fileobject usgae was removed due to the use of the `tell` method check.
This change remove this check wich allows us to completely test if
fileno() is usable. Also it handle most of the exceptions around created by
breaking changes across Python versions. Hopefully we are good now.
fix #1174
2015-12-31 14:50:48 +01:00
Benoit Chesneau
f6b172dfec
Merge pull request #1172 from benoitc/fix/1171
...
don't check if a file is writable using os.stat
2015-12-29 15:13:49 +01:00
Benoit Chesneau
6439c3ba7a
don't check if a file is writable using os.stat
...
Some systems edisable like SELINUX disable some flags so ignore the possible
error while chowning a log file. The error will be raised later anyway.
fix #1171
2015-12-29 15:01:23 +01:00
Benoit Chesneau
cfabfc8474
fix typo
2015-12-29 01:35:27 +01:00
Benoit Chesneau
d63571d17a
fix news
2015-12-29 01:34:03 +01:00
Benoit Chesneau
01cdd8b62a
bump to 19.4.2
...
fix #1159
2015-12-29 01:32:53 +01:00
Randall Leeds
98c9e3b375
Catch sendfile failure from no file descriptor
...
If the filelike response object has no `fileno` attribute, then skip
trying to use sendfile rather than failing with an error.
Close #1160
2015-12-28 14:50:46 -08:00
Benoit Chesneau
960d5ef7cc
Merge pull request #1168 from benoitc/fix-config-test
...
fix sendfile option validation
2015-12-28 22:59:24 +01:00
Benoit Chesneau
9730978782
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.
2015-12-28 20:39:45 +01:00
Benoit Chesneau
94c6dfe202
Merge pull request #1167 from benoitc/fix/gh1157
...
check auth before trying to own a file
2015-12-28 20:35:36 +01:00
Benoit Chesneau
3fdc113d81
fix gaiohttp test
...
fix #1164
2015-12-28 20:22:03 +01:00
Benoit Chesneau
c805bd2960
check auth before trying to own a file
...
fix #1157
2015-12-28 13:00:44 +01:00
Benoit Chesneau
d199e76cea
revert TCP__FASTOPEN change
...
on OSX socket.TCP_FASTOPEN is set but make the server enter in a loop while
trying to set the options which makes gunicorn unusable.
For now remove TCP_FASTOPEN option until we find a solution
2015-12-28 12:56:11 +01:00
Randall Leeds
2f8e7503fe
Always send access log to syslog if syslog is on
2015-12-27 13:30:37 -08:00
Randall Leeds
d8b6f0afff
Clarify --no-sendfile default
...
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
2015-12-27 13:27:20 -08:00
Randall Leeds
2ac41c406b
Merge pull request #1095 from danc86/handle-HaltServer-in-manage_workers
...
handle HaltServer in manage_workers
2015-12-26 14:35:55 -08:00
benoitc
0fbb94e8c6
Merge branch 'master' of github.com:benoitc/gunicorn
2015-12-24 09:52:59 +01:00
benoitc
c66a9722f6
Merge branch 'feature/tcp_fastopen' into tcp_fast
2015-12-24 09:51:18 +01:00
Berker Peksag
58108ef7e6
Tweak markup in faq.rst
2015-12-15 01:15:51 +02:00
Berker Peksag
4f597dc0aa
Merge pull request #1163 from molivier/master
...
Fix Slowloris broken link. Close #1142
2015-12-15 01:13:58 +02:00
molivier
1025c4c55d
Fix Slowloris broken link. Close #1142
2015-12-14 17:38:19 +01:00
Randall Leeds
1f3bdddfb2
Do not rely on sendfile sending requested count
...
Close #1155
2015-11-29 11:14:04 -08:00
benoitc
79e14a98dd
update site demo.
...
fix #1145
2015-11-25 17:48:59 +01:00
benoitc
3b1c9b4ff7
update site
2015-11-25 17:23:42 +01:00
benoitc
6aba0680b9
document change
2015-11-25 16:59:37 +01:00
Benoit Chesneau
2a04b91dfa
Merge pull request #1153 from mtustin-handy/patch-1
...
Fix random outdent which makes gtornado worker unusable
2015-11-25 16:53:39 +01:00
mtustin-handy
5c2cb816d0
Fix random outdent which makes gtornado worker unusable
2015-11-25 10:41:04 -05:00
benoitc
57e690d1b7
bump version
2015-11-25 16:25:41 +01:00
benoitc
09e0d4c7fc
encode fix test
2015-11-25 14:11:54 +01:00