Chunked encoding is used when the overall length is not yet known when the transmission starts. This may happen when scripts are processed or multimedia data is transfered. ulxmlrpcpp supports chunked encoding for both directions though it usually only makes sense for replies.
To turn on chunked encoding for HTTP the following lines are needed:
TcpIpConnection conn (false, host, port); HttpProtocol prot(conn.get()); prot.setChunkedTransfer(true);
|Chunked Encoding over Proxies|
Please take into account that not all HTTP proxies support chunked encoding in both directions. Squid for example refuses chunked encoding in client requests with error 501.