Hi,

I am running Apache 1.3.27 as a reverse proxy using mod_rewrite and mod_proxy. We recently encountered problems with PDA client browsers using MIDP (J2ME Mobile Information Device Profile) which send their requests using a chunked transfer encoding.

mod_proxy as shipped with Apache 1.3.27 does not allow chunked TE and therefore refuses to reroute the requests to the origin server.

I looked in src/modules/proxy/mod_proxy.c and saw the following code:

static int proxy_handler(request_rec *r)
{

    .....

    if ((rc = ap_setup_client_block(r, REQUEST_CHUNKED_ERROR)))
        return rc;

    .....
}

What impact would it have to replace REQUEST_CHUNKED_ERROR with REQUEST_CHUNKED_DECHUNK? I do not master the mod_proxy source enough to forecast any behaviour.

The chunked TE used by MIDP seems unavoidable, the only chance is there:

    http://wireless.java.sun.com/midp/questions/chunking/

but it implies efforts on the client application side which servers usually do not manage.

Any help appreciated,

Mathias.

--
--  Informatique du Credit Mutuel  ----  Reseaux et Systemes Distribues
--  32 rue Mirabeau -- Le Relecq-Kerhuon -- 29808 Brest Cedex 9, FRANCE
--  Tel +33298004653 - Fax +33298284005 - Mail [EMAIL PROTECTED]
--  Key Fingerprint: 8778 D2FD 3B4A 6B33 10AB  F503 63D0 ADAE 9112 03E4

Attachment: smime.p7s
Description: S/MIME Cryptographic Signature



Reply via email to