Need a Help in Apache
I have a Apache web server running in my Linux machine . In one of the scenario I need to send a "Keep Alive" response , so that it remains persistent . I have written following code to generate response in Apache server side code .
aInReq->status = HTTP_OK;
aInReq->status_line = ap_get_status_line(aInReq->status);
aInReq->connection->keepalive = AP_CONN_KEEPALIVE;
But when I get a response I see in header that "Connection" property is set to "closed" . Please let me know how I can generate a keep alive response in Apache .