Skip to main content

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [List Home]
Re: [jetty-users] Upgrading to Jetty 9.1

Have you filed a bug yet?

https://bugs.eclipse.org/bugs/enter_bug.cgi?product=Jetty&format=guided




--
Joakim Erdfelt <joakim@xxxxxxxxxxx>
Expert advice, services and support from from the Jetty & CometD experts


On Fri, Jan 24, 2014 at 8:08 AM, Stefan Magnus Landrø <stefan.landro@xxxxxxxxx> wrote:
Just came across this code in HttpGenerator.java - the 

header.put(CONNECTION_KEEP_ALIVE,0,CONNECTION_CLOSE.length-2); 

looks very much like a bug to me:

           else if (keep_alive)
            {
                if (connection==null)
                    header.put(CONNECTION_KEEP_ALIVE);
                else
                {
                    header.put(CONNECTION_KEEP_ALIVE,0,CONNECTION_CLOSE.length-2);
                    header.put((byte)',');
                    header.put(StringUtil.getBytes(connection.toString()));
                    header.put(CRLF);
                }
            }


2014/1/24 Stefan Magnus Landrø <stefan.landro@xxxxxxxxx>
Hi there,

We're in the process of upgrading to jetty 9.1 from latest jetty 8.

Our app servers sit behind a F5 Big Ip load balancer, and after upgrading to 9.1, requests to resources that produce responses with Transfer-Encding: chunked, the request from the client (e.g. curl) hang for like 30 seconds due to what seems to be our connection keep-alive timeout.

What could be causing this issue? 

Any pointers would be appreciated,

Cheers,

Stefan



--
BEKK Open
http://open.bekk.no

TesTcl - a unit test framework for iRules

_______________________________________________
jetty-users mailing list
jetty-users@xxxxxxxxxxx
https://dev.eclipse.org/mailman/listinfo/jetty-users



Back to the top