Skip to content

Commit

Permalink
attempt to fix http parser
Browse files Browse the repository at this point in the history
  • Loading branch information
unbit committed Sep 16, 2015
1 parent d56f16c commit 8906d5d
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions core/master_utils.c
Original file line number Diff line number Diff line change
Expand Up @@ -704,6 +704,7 @@ int uwsgi_respawn_worker(int wid) {
for(i=0;i<uwsgi.cores;i++) {
uwsgi.workers[uwsgi.mywid].cores[i].in_request = 0;
memset(&uwsgi.workers[uwsgi.mywid].cores[i].req, 0, sizeof(struct wsgi_request));
memset(uwsgi.workers[uwsgi.mywid].cores[i].buffer, 0, sizeof(struct uwsgi_header));
}

uwsgi_fixup_fds(wid, 0, NULL);
Expand Down

0 comments on commit 8906d5d

Please sign in to comment.