> I had the same problems.
> Some SonyEricsson HTTP protocol implementations use "Transfer-Encoding:
> chunked" to post MMS. In case with Apache http server i got a
> HTTP_LENGTH_REQUIRED 411.
> This is why, because according to
> http://httpd.apache.org/docs/misc/client_block_api.html, Apache delegates
to
> solve how to read client input to other application level modules
> (mod_cgi,mod_perl,mod_php,etc...), and none of them intend to produce
> "Transfer-Encoding: chunked".
>
> To solve this i was forced to write mod_dechunk apache module, which acts
> with request on more early stage them other modules and produce http posts
> with "Transfer-Encoding: chunked". It collects chunks, writes combined
data
> to temporary file, set environment variable DECHUNKED_FILE with value of
> path to temp file, and delete temp file on
> apache request cleanup. Using together, other modules
> (mod_cgi,mod_perl,mod_php,etc...) can determine this case
> (Transfer-Encoding: chunked) finding environment variable DECHUNKED_FILE,
> and obtain posted data from file locating variable value.

  I did not have any problems with Apache2 and chunked encoding POST. As I
wrote in original message if I used HTTP mode of posting MMS everything
worked fine even if transfer encoding was chunked. Problems appeared in
WSP mode when MMSes have to pass kannel.

  Mindaugas


Reply via email to