Is it possible to adapt a CONNECT response?

Asked by joseph jose on 2014-07-21

I am trying to log a custom header to squid access log from the response adapter. But when request is of CONNECT type, no call is coming inside response adapter. Hence no logging is being performed. Is there any way to trigger the response adapter for CONNECT request ?
My RESPMODE config is as given below

# Response mode configurations
ecap_service eRespmod respmod_precache 0 ecap://
adaptation_service_set respFilter eRespmod
adaptation_access respFilter allow all

Question information

English Edit question
eCAP Edit question
No assignee Edit question
Last query:
Last reply:
Alex Rousskov (rousskov) said : #1

To adapt a CONNECT response, the host application may have to support a post-cache RESPMOD vectoring point and/or have special CONNECT response adaptation code. The exact requirements depend on the host application architecture, but a simple (and probably typical) CONNECT implementation results in CONNECT requests _not_ reaching the pre-cache RESPMOD vectoring point that most proxies use for response adaptation.

For example, Squid does not currently have any code to adapt CONNECT responses.

Can you help with this problem?

Provide an answer of your own, or ask joseph jose for more information if necessary.

To post a message you must log in.