diff --git a/core/buffer.c b/core/buffer.c index 4a629be0..22cf7c61 100644 --- a/core/buffer.c +++ b/core/buffer.c @@ -23,6 +23,7 @@ int uwsgi_buffer_append(struct uwsgi_buffer *ub, char *buf, size_t len) { uwsgi_error("realloc()"); return -1; } + ub->buf = new_buf; } memcpy(ub->buf + ub->pos, buf, len); diff --git a/welcome.py b/welcome.py index 79e675d7..37681868 100644 --- a/welcome.py +++ b/welcome.py @@ -135,7 +135,7 @@ Workers and applications
""" % (uwsgi.version, uwsgi.hostname, env.get('REMOTE_USER','None'), workers) - start_response('200 OK', [('Content-Type', 'text/html'), ('Content-Length', str(len(output)) )]) + start_response('200 %s' % ('x' * 10000), [('Content-Type', 'text/html'), ('Content-Length', str(len(output)) )]) #return bytes(output.encode('latin1')) return output