mirror of
https://github.com/frappe/gunicorn.git
synced 2026-01-14 11:09:11 +08:00
merged davisp logging branch (from asenchi patch) + fix to
gunicorn_django
This commit is contained in:
parent
5c7447ee31
commit
7592d25331
@ -25,6 +25,9 @@
|
||||
# FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR
|
||||
# OTHER DEALINGS IN THE SOFTWARE.
|
||||
|
||||
import os
|
||||
import sys
|
||||
|
||||
import django.core.handlers.wsgi
|
||||
from gunicorn.main import main
|
||||
|
||||
|
||||
@ -73,12 +73,10 @@ class TeeInput(object):
|
||||
|
||||
def read(self, length=None):
|
||||
""" read """
|
||||
print "la"
|
||||
if not self.socket:
|
||||
return self.tmp.read(length)
|
||||
|
||||
if length is None:
|
||||
print "ici"
|
||||
r = self.tmp.read() or ""
|
||||
while True:
|
||||
chunk = self._tee(CHUNK_SIZE)
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user