Re: AW: Tomcat Connector 1.2.15 - JkOption "FlushPackets"-Bug
Ah, sorry, I read your mail out of context (at least not with enough context). So mod_jk default is -ForwardPackets and setting +ForwardPackets or ForwardPackets is the same. Since in some mails singular was used and in some mails plural: the correct spelling is "FlushPackets". Mladen Turk wrote: Rainer Jung wrote: Hi Mladen, are you sure? I have the impression default is I meant that the '+' is default: if (action == '-') { conf->options &= ~opt; } else if (action == '+') { conf->options |= opt; } else { /* for now +Opt == Opt */ conf->options |= opt; } So it shouldn't make any difference between: JkOptions +FlushPackets and JkOptions FlushPackets Regards, Mladen. - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Re: AW: Tomcat Connector 1.2.15 - JkOption "FlushPackets"-Bug
Rainer Jung wrote: Hi Mladen, are you sure? I have the impression default is I meant that the '+' is default: if (action == '-') { conf->options &= ~opt; } else if (action == '+') { conf->options |= opt; } else { /* for now +Opt == Opt */ conf->options |= opt; } So it shouldn't make any difference between: JkOptions +FlushPackets and JkOptions FlushPackets Regards, Mladen. - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Re: AW: Tomcat Connector 1.2.15 - JkOption "FlushPackets"-Bug
Hi Mladen, are you sure? I have the impression default is c->options = JK_OPT_FWDURIDEFAULT; and #define JK_OPT_FWDURIDEFAULTJK_OPT_FWDURICOMPAT #define JK_OPT_FWDURICOMPAT 0x0001 but needed is #define JK_OPT_FLUSHPACKETS 0x0020 It looks like JK_OPT_FLUSHPACKETS is only set when JkOption parsed. Anything I missed? Regards, Rainer Fenlason, Josh wrote: Are you sure that + is the default for the FlushPackets option? I had a similar issue where I was trying to stream data from a servlet. Once I added 'JkOptions +FlushPackets' to my mod_jk config, everything worked as expected. , Josh. -Original Message- From: Mladen Turk [mailto:[EMAIL PROTECTED] Sent: Monday, February 20, 2006 3:47 AM To: Tomcat Developers List Subject: Re: AW: Tomcat Connector 1.2.15 - JkOption "FlushPackets"-Bug Peter Rossbach wrote: I thing you mus set JkOptions +FlushPackets No need. Default is +. Regards, Mladen. - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
RE: AW: Tomcat Connector 1.2.15 - JkOption "FlushPackets"-Bug
Are you sure that + is the default for the FlushPackets option? I had a similar issue where I was trying to stream data from a servlet. Once I added 'JkOptions +FlushPackets' to my mod_jk config, everything worked as expected. , Josh. > -Original Message- > From: Mladen Turk [mailto:[EMAIL PROTECTED] > Sent: Monday, February 20, 2006 3:47 AM > To: Tomcat Developers List > Subject: Re: AW: Tomcat Connector 1.2.15 - JkOption "FlushPackets"-Bug > > > Peter Rossbach wrote: > > I thing you mus set > > JkOptions +FlushPackets > > > > No need. Default is +. > > Regards, > Mladen. > > > - > To unsubscribe, e-mail: [EMAIL PROTECTED] > For additional commands, e-mail: [EMAIL PROTECTED] > - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Re: AW: Tomcat Connector 1.2.15 - JkOption "FlushPackets"-Bug
Peter Rossbach wrote: I thing you mus set JkOptions +FlushPackets No need. Default is +. Regards, Mladen. - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Re: AW: Tomcat Connector 1.2.15 - JkOption "FlushPackets"-Bug
I thing you mus set JkOptions +FlushPackets regards Peter Am 20.02.2006 um 09:28 schrieb Pelikan Stephan: JkOptions FlushPackets
Re: AW: Tomcat Connector 1.2.15 - JkOption "FlushPackets"-Bug
Pelikan Stephan wrote: Hallo Mladen, FlushPacket works, and the patch is invalid. The service ws_flush is invoked from ajp_common. My original problem is that I produce a big servlet-response. This servlet-response builds a progress-bar, so there are interruption (serversided sleeps to wait for the next 'progress-bar-event') between some pieces of html-parts. I want to send these chunks directly to the browser to update the progress-bar but this did not heapen (without mod_jk it works). I tried to turn off every buffer I found but it still did not work. Turning debug-level of the mod_jk-log on I saw, that these parts where transmitted to the apache and the apache does not transmit it to the browser. The patch was the only way to get it work. Perhaps you could tell me how to solve this correctly - without a patch? Take a look at ajp_process_callback/jk_ajp_common.c If there is a bug it should be fixed there, not within the ws_write callback. Regards, Mladen. - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]