424 |
|
|
425 |
if (req->is_cgi == HIC_CGI) { /* internally handled cgi */ |
if (req->is_cgi == HIC_CGI) { /* internally handled cgi */ |
426 |
#ifdef ENABLE_HIC |
#ifdef ENABLE_HIC |
427 |
|
/* Move the post_data_fd pointer to start. |
428 |
|
*/ |
429 |
|
lseek(req->post_data_fd, SEEK_SET, 0); |
430 |
|
|
431 |
if (hic_send_command(req, pipes[1]) == -1) { |
if (hic_send_command(req, pipes[1]) == -1) { |
432 |
log_error_time(); |
log_error_time(); |
433 |
fprintf(stderr, "Error in HIC\n"); |
fprintf(stderr, "Error in HIC\n"); |
556 |
close(pipes[1]); |
close(pipes[1]); |
557 |
break; |
break; |
558 |
} |
} |
559 |
} /* HIC */ |
} /* HIC */ |
560 |
|
|
561 |
/* we only get here in parent case, and |
/* we only get here in parent case, and |
562 |
* success. |
* success. |