diff options
| author | Unbit <info@unbit.it> | 2014-09-21 08:26:20 +0200 |
|---|---|---|
| committer | Unbit <info@unbit.it> | 2014-09-21 08:26:20 +0200 |
| commit | ed2ca5d33325dc925f6fc5558d0b817447327049 (patch) | |
| tree | b11e25d766a399583622d4262af007817d02dac8 /core/fork_server.c | |
| parent | e2a29ee13504a7895ca980a6b48232ce610424b1 (diff) | |
| download | uwsgi-ed2ca5d33325dc925f6fc5558d0b817447327049.tar.gz | |
request buffer_size is now 64bit (except for uwsgi protocol)
Diffstat (limited to 'core/fork_server.c')
| -rw-r--r-- | core/fork_server.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/core/fork_server.c b/core/fork_server.c index 03caec58..5a0baaaa 100644 --- a/core/fork_server.c +++ b/core/fork_server.c @@ -85,8 +85,8 @@ void uwsgi_fork_server(char *socket) { struct uwsgi_header *uh = (struct uwsgi_header *) hbuf; // this memory area must be freed in the right place !!! - char *body_argv = uwsgi_malloc(uh->pktsize); - if (uwsgi_read_nb(client_fd, body_argv, uh->pktsize, uwsgi.socket_timeout)) { + char *body_argv = uwsgi_malloc(uh->_pktsize); + if (uwsgi_read_nb(client_fd, body_argv, uh->_pktsize, uwsgi.socket_timeout)) { free(body_argv); uwsgi_error("uwsgi_fork_server()/uwsgi_read_nb()"); goto end; @@ -184,7 +184,7 @@ void uwsgi_fork_server(char *socket) { // now parse the uwsgi packet array and build the argv struct uwsgi_string_list *usl = NULL, *usl_argv = NULL; - uwsgi_hooked_parse_array(body_argv, uh->pktsize, parse_argv_hook, &usl_argv); + uwsgi_hooked_parse_array(body_argv, uh->_pktsize, parse_argv_hook, &usl_argv); free(body_argv); // build new argc/argv |
