I've got a servlet that sends out a small amount of information at irregular
intervals. However, when I do a flush() on the ServletOutputStream, the data
doesn't get sent out to the client.

I've investigated the JServ code somewhat, and it looks to me like the code
in jserv_ajpv12.c never flushes its output stream after getting data from
JServ. This means that I can flush the data only as far as jserv_ajpv12,
which then writes the data into a buffer via ap_bwrite. Until that buffer
fills, the data never gets sent to the browser. Does anybody know if this
was intentional, or have I misunderstood something here?

Anyway, I have to either close the connection and open a new one or send a
wad of pad out (like 4096 bytes!) to get my small amount of data to the
client... I have JServ 1.1.? and jserv_ajpv12.c has revision ID  "$Revision:
1.25 $".

Any suggestions? I can't actually recompile the jserv_ajpv12 to test my
theory (no MS compiler handy).

Regards,
Raoul Gough.



--
----------------------------------------------------------
To subscribe:        [EMAIL PROTECTED]
To unsubscribe:      [EMAIL PROTECTED]
Archives and Other:  <http://java.apache.org/main/mail.html>
Problems?:           [EMAIL PROTECTED]

Reply via email to