From: Greg W. <gr...@mo...> - 2006-03-10 23:12:54
|
hi Thanassis Sorry for the slow response. What version? There were several such issues in beta6 through beta9 I think beta10 has fixed these. cheers Thanassis Papathanasiou wrote: > Hi, > my embedded webapp causes an endless loop in HttpConnection.doHandler > (finally section). > The reason seems to be the buffer size i'm using in conjunction with > SC_OK response > and content-length 0. I can workaround this behaviour on my side but I > think it could > be a general issue and has to be fixed in jetty. > I have added some debug messages to illustrate the behaviour. > > Cheers, > Thanassis > > :DEBUG: REQUEST /eibdesc/lookup on org.mortbay.jetty.HttpConnection@503429 > :DEBUG: Got Session ID 1t4q8sby0gfs4 from URL > :DEBUG: sessionManager=org.mortbay.jetty.servlet.HashSessionManager@5224ee > :DEBUG: > session=org.mortbay.jetty.servlet.HashSessionManager$Session:1t4q8sby0gfs4 > :DEBUG: servlet=EibDesc > :DEBUG: chain=null > :DEBUG: servelet holder=EibDesc > [01.03.06 09:03:09 CET][6][BoundedThreadPool0-2] Request (/lookup) from > 127.0.0.1:4107@1t4q8sby0gfs4 > :DEBUG: HttpGenerator.completeHeader: [Connection=74=keep-alive] > :DEBUG: HttpGenerator.completeHeader: [Keep-Alive=74=300] > :DEBUG: HttpGenerator.completeHeader: [Cache-Control=74=no-cache] > :DEBUG: HttpGenerator.completeHeader: [Pragma=74=no-cache] > :DEBUG: HttpGenerator.completeHeader: [Content-Type=74=plain/text] > :DEBUG: HttpGenerator.flushBuffers: to_flush=4 > :DEBUG: HttpGenerator.flushBuffers: to_flush=0 > :DEBUG: HttpGenerator.flushBuffers: _content.length=0 > :DEBUG: HttpGenerator.flushBuffers: _needCRLF=false > :DEBUG: HttpGenerator.flushBuffers: _needEOC=false > [01.03.06 09:03:09 CET][6][BoundedThreadPool0-2] SendOut: > assignValue('mcg:3/0/4','127'); > :DEBUG: HttpGenerator.flushBuffers: to_flush=6 > :DEBUG: HttpGenerator.flushBuffers: to_flush=0 > :DEBUG: HttpGenerator.flushBuffers: _content.length=0 > :DEBUG: HttpGenerator.flushBuffers: _needCRLF=false > :DEBUG: HttpGenerator.flushBuffers: _needEOC=false > [01.03.06 09:03:09 CET][6][BoundedThreadPool0-2] SendOut: > assignValue('mcg:3/0/3','80'); > :DEBUG: HttpGenerator.flushBuffers: to_flush=2 > :DEBUG: HttpGenerator.flushBuffers: to_flush=0 > :DEBUG: HttpGenerator.flushBuffers: _content.length=0 > :DEBUG: HttpGenerator.flushBuffers: _needCRLF=false > :DEBUG: HttpGenerator.flushBuffers: _needEOC=false > [01.03.06 09:03:09 CET][6][BoundedThreadPool0-2] SendOut: > assignValue('mcg:3/0/2','0.29'); > :DEBUG: HttpGenerator.flushBuffers: to_flush=2 > :DEBUG: HttpGenerator.flushBuffers: to_flush=0 > :DEBUG: HttpGenerator.flushBuffers: _content.length=0 > :DEBUG: HttpGenerator.flushBuffers: _needCRLF=false > :DEBUG: HttpGenerator.flushBuffers: _needEOC=false > [01.03.06 09:03:09 CET][6][BoundedThreadPool0-2] SendOut: > assignValue('mcg:3/0/1','40'); > :DEBUG: HttpGenerator.flushBuffers: to_flush=2 > :DEBUG: HttpGenerator.flushBuffers: to_flush=0 > :DEBUG: HttpGenerator.flushBuffers: _content.length=0 > :DEBUG: HttpGenerator.flushBuffers: _needCRLF=false > :DEBUG: HttpGenerator.flushBuffers: _needEOC=false > :DEBUG: RESPONSE /eibdesc/lookup 200 > :DEBUG: HttpGenerator.complete: flushingBuffers > :DEBUG: HttpGenerator.flushBuffers: to_flush=2 > :DEBUG: HttpGenerator.flushBuffers: to_flush=0 > :DEBUG: HttpGenerator.flushBuffers: _content.length=0 > :DEBUG: HttpGenerator.flushBuffers: _needCRLF=false > :DEBUG: HttpGenerator.flushBuffers: _needEOC=false > > :DEBUG: REQUEST /eibdesc/lookup on org.mortbay.jetty.HttpConnection@191d8c1 > :DEBUG: Got Session ID 1t4q8sby0gfs4 from URL > :DEBUG: sessionManager=org.mortbay.jetty.servlet.HashSessionManager@5224ee > :DEBUG: > session=org.mortbay.jetty.servlet.HashSessionManager$Session:1t4q8sby0gfs4 > :DEBUG: servlet=EibDesc > :DEBUG: chain=null > :DEBUG: servelet holder=EibDesc > [01.03.06 09:03:21 CET][6][BoundedThreadPool0-1] Request (/lookup) from > 127.0.0.1:4108@1t4q8sby0gfs4 > :DEBUG: HttpGenerator.completeHeader: [Connection=68=keep-alive] > :DEBUG: HttpGenerator.completeHeader: [Keep-Alive=68=300] > :DEBUG: HttpGenerator.completeHeader: [Cache-Control=68=no-cache] > :DEBUG: HttpGenerator.completeHeader: [Pragma=68=no-cache] > :DEBUG: HttpGenerator.completeHeader: [Content-Type=68=plain/text] > :DEBUG: HttpGenerator.flushBuffers: to_flush=4 > :DEBUG: HttpGenerator.flushBuffers: to_flush=0 > :DEBUG: HttpGenerator.flushBuffers: _content.length=0 > :DEBUG: HttpGenerator.flushBuffers: _needCRLF=false > :DEBUG: HttpGenerator.flushBuffers: _needEOC=false > :DEBUG: RESPONSE /eibdesc/lookup 200 > :DEBUG: HttpConnection.doHandler: completing response > :DEBUG: HttpGenerator.complete: _state=2 > :DEBUG: HttpGenerator.complete: flushingBuffers > :DEBUG: HttpGenerator.flushBuffers: to_flush=0 > :DEBUG: HttpGenerator.flushBuffers: _content.length=0 > :DEBUG: HttpGenerator.flushBuffers: _needCRLF=false > :DEBUG: HttpGenerator.flushBuffers: _needEOC=true > :DEBUG: HttpConnection.doHandler: completing generator > :DEBUG: HttpGenerator.complete: _state=3 > :DEBUG: HttpGenerator.complete: flushingBuffers > :DEBUG: HttpGenerator.flushBuffers: to_flush=0 > :DEBUG: HttpGenerator.flushBuffers: _content.length=0 > :DEBUG: HttpGenerator.flushBuffers: _needCRLF=false > :DEBUG: HttpGenerator.flushBuffers: _needEOC=true > :DEBUG: HttpConnection.doHandler: completing generator > :DEBUG: HttpGenerator.complete: _state=3 > :DEBUG: HttpGenerator.complete: flushingBuffers > :DEBUG: HttpGenerator.flushBuffers: to_flush=0 > :DEBUG: HttpGenerator.flushBuffers: _content.length=0 > :DEBUG: HttpGenerator.flushBuffers: _needCRLF=false > :DEBUG: HttpGenerator.flushBuffers: _needEOC=true > ...... > > > > ------------------------------------------------------- > This SF.Net email is sponsored by xPML, a groundbreaking scripting language > that extends applications into web and mobile media. Attend the live > webcast > and join the prime developer group breaking into this new coding territory! > http://sel.as-us.falkag.net/sel?cmd=lnk&kid=110944&bid=241720&dat=121642 > _______________________________________________ > Jetty-support mailing list > Jet...@li... > https://lists.sourceforge.net/lists/listinfo/jetty-support > |