114 |
|
|
115 |
hst->request(cmd); |
hst->request(cmd); |
116 |
close(cmd->out_fd); |
close(cmd->out_fd); |
|
free( req); |
|
117 |
|
|
118 |
/* |
/* |
119 |
log_error_time(); |
log_error_time(); |
120 |
fprintf(stderr, "HIC status: %d wrote: %d\n", cmd->status, cmd->bytes_sent); |
fprintf(stderr, "HIC status: %d wrote: %d\n", cmd->status, cmd->bytes_sent); |
121 |
*/ |
*/ |
122 |
|
|
123 |
|
free( req); |
124 |
|
|
125 |
return 0; |
return 0; |
126 |
} |
} |
164 |
|
|
165 |
x->next = x->prev = NULL; |
x->next = x->prev = NULL; |
166 |
x->command.cgi_env = req->cgi_env; |
x->command.cgi_env = req->cgi_env; |
167 |
x->command.one_one = 0; |
x->command.http_version = req->http_version; |
168 |
x->command.post_data_fd = req->post_data_fd.fds[0]; |
x->command.post_data_fd = req->post_data_fd.fds[0]; |
169 |
x->command.out_fd = out_fd; |
x->command.out_fd = out_fd; |
170 |
x->command.path_translated = req->path_translated; |
x->command.path_translated = req->path_translated; |