How to avoid connection:close

Discussion in 'Apache' started by TheFalconer, May 14, 2008.

  1. #1
    Hi all!

    I'm developing a c# client that interact with a PHP server-side script.

    I've a problem. Even if i force HTTP 1.1 and the request header connection: keep-alive, after the first client request, apache close the connection inserting the connection:close header.

    Can someone suggest me how i can modify this behaviour?

    Thanks
     
    TheFalconer, May 14, 2008 IP
  2. Cybernaut

    Cybernaut Peon

    Messages:
    408
    Likes Received:
    12
    Best Answers:
    0
    Trophy Points:
    0
    #2
    Apache seems to be configured with keep-alive disabled. Enable it in apache config file (httpd.conf).
     
    Cybernaut, May 16, 2008 IP