THIS IS AN AUTOMATED MESSAGE, DO NOT REPLY.
The following task has a new comment added:
FS#237 - Kamailio does not handle HTTP Via: headers in requests and responses
User who did this - Peter Dunkley (pd)
----------
Unfortunately there is no way to enforce direct client-server communication. Some
networks only allow HTTP through a network proxy and others have in-line (and unavoidable)
proxies as part of their Internet routing.
I don't believe Kamailio needs to do anything clever with an HTTP Via: (it is just
added by gateways and proxies for their use). I think that Kamailio needs to:
- not generate a parser error it receives an HTTP Via:, and
- not put Via: headers into HTTP responses at all
From RFC 2616:
The Via general-header field MUST be used by gateways and proxies to
indicate the intermediate protocols and recipients between the user
agent and the server on requests, and between the origin server and
the client on responses. It is analogous to the "Received" field of
RFC 822 [9] and is intended to be used for tracking message forwards,
avoiding request loops, and identifying the protocol capabilities of
all senders along the request/response chain.
I'm not sure how easy this is to do (particularly the not putting Via: headers into
responses part).
----------
More information can be found at the following URL:
http://sip-router.org/tracker/index.php?do=details&task_id=237#comment6…
You are receiving this message because you have requested it from the Flyspray bugtracking
system. If you did not expect this message or don't want to receive mails in future,
you can change your notification settings at the URL shown above.