Take the 2-minute tour ×
Server Fault is a question and answer site for professional system and network administrators. It's 100% free, no registration required.

We have an app which sits behind an Apache instance using mod_proxy to pass requests to the correct app server.

Our app correctly returns a Connection: Keep-Alive when queried directly, but mod_proxy is scrubbing the header.

I did some reading and a few suggested that the client needs to set a Proxy-Connection: Keep-Alive to the the proxy about this, but that didn't work either.

Is it possible to have persistent connection proxied by apache?

share|improve this question
    
Is the KeepAlive parameter in apache on or off? –  becomingwisest May 11 '11 at 7:14
    
It is off at the moment, however my reading suggests that the KeepAlive parameter refers to sending TCP keepalives to the backend, and seems somewhat seperate to the HTTP 1.1 Keep-Alive. –  richo May 11 '11 at 22:58
add comment

1 Answer

Given that you say apache has KeepAlive off, I'm guessing its closing the connection. Try turning it on per KeepAlive

share|improve this answer
    
I tried it after I read your comment. Didn't fix the issue. Some weird gzip flag did in the end, and then to add insult to injury the top level problem turned out not to be anything to do with apache. –  richo May 12 '11 at 6:38
add comment

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.