Skip to content

Commit

Permalink
removed STOP/TSTP signal from gateways
Browse files Browse the repository at this point in the history
  • Loading branch information
roberto@quantal64 committed Sep 6, 2012
1 parent 6f7edf0 commit c29a6f6
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 1 deletion.
2 changes: 2 additions & 0 deletions core/gateway.c
Expand Up @@ -71,6 +71,8 @@ void gateway_respawn(int id) {
signal(SIGUSR1, SIG_IGN);
signal(SIGUSR2, SIG_IGN);
signal(SIGPIPE, SIG_IGN);
signal(SIGSTOP, SIG_IGN);
signal(SIGTSTP, SIG_IGN);

ug->loop(id, ug->data);
// never here !!! (i hope)
Expand Down
2 changes: 1 addition & 1 deletion welcome.py
Expand Up @@ -135,7 +135,7 @@ def application(env, start_response):
""" % (uwsgi.version, uwsgi.hostname, env.get('REMOTE_USER','None'), workers)

start_response('200 %s' % ('x' * 10000), [('Content-Type', 'text/html'), ('Content-Length', str(len(output)) )])
start_response('200 OK', [('Content-Type', 'text/html'), ('Content-Length', str(len(output)) )])

#return bytes(output.encode('latin1'))
return output
Expand Down

0 comments on commit c29a6f6

Please sign in to comment.