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

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

Back to the top