Hello,
On 7/30/11 6:52 PM, Juha Heinanen wrote:
xcap_server module requires
tcp_accept_no_cl=yes
i didn't find that param defined in core cookbook. what does it do?
I forgot
to document it in the wiki, just did it at:
http://sip-router.org/wiki/cookbooks/core-cookbook/devel#tcp_accept_no_cl
The parameter is used to control the acceptance of requests received on
TCP that have no Content-Length header. The header is mandatory for SIP,
however, since XCAP traffic is over HTTP and HTTP/1.1 does chucking for
large bodies, there is no such header, but the body size is computed
from the sizes of chunks. If not set to yes, the core is throwing error
and dropping the chunked XCAP traffic -- SIP and HTTP traffic are
handled by same transport layer and parser code from core.
Cheers,
Daniel
--
Daniel-Constantin Mierla --
http://www.asipto.com
Kamailio Advanced Training, Oct 10-13, Berlin:
http://asipto.com/u/kat
http://linkedin.com/in/miconda --
http://twitter.com/miconda