----------------------------------------------------------------
BEFORE YOU POST, search the faq at <http://java.apache.org/faq/>
WHEN YOU POST, include all relevant version numbers, log files,
and configuration files.  Don't make us guess your problem!!!
----------------------------------------------------------------

Hi,

In my context, HTTP requests are sent between a Java application and
a servlet. Exchanges are going well (requests and responses)
when the content-type is application/x-www-form-urlencode - text/html
If the content-type is application/octet-stream, all is also running
well and data bytes are properly exchanged on both sides.
If I add a Content-Encoding: x-gzip and compress data with the gzip
algorithm, data are received by the servlet,
but if I try to send back data (from the servlet to the client),
compressed or not, nothing is received on the client side.
The listening socket on the client side is blocked as the response seems
to be "lost" (or more exactly, it seems that the gzipped stream
between the client application and the servlet has corrupted the
connexion and disables further exchanges).
The compressing algorithm is x-gzip and I use the
java.util.zip.GZIPOutputStream
and GZIPInputStream java classes on both sides.

Platforms: Win NT
JServ : 1.1.2
Apache : 1.3.12
JDK (client side: 1.1.8, 1.2.2)

Did anyone experience the same problem ? Any suggestion ?
Or more simply, does JServ support gzip streams (ie gzipped HTTP body) ?
If not, is there another HTTP compatible algorithm/method supported by
JServ ?

Thanks,
pascal


--
--------------------------------------------------------------
Please read the FAQ! <http://java.apache.org/faq/>
To subscribe:        [EMAIL PROTECTED]
To unsubscribe:      [EMAIL PROTECTED]
Search Archives: 
<http://www.mail-archive.com/java-apache-users%40list.working-dogs.com/>
Problems?:           [EMAIL PROTECTED]

Reply via email to