Community
Participate
Working Groups
Build Identifier: 7.1.5 The jetty-client fails with ArrayIndexOutOfBoundException , if request header size is greater than the one configured. It should ideally compare the 2 & should invoke exchange's onException even before calling the requestcomplete() Reproducible: Always Steps to Reproduce: 1. create a httpclient instance & setup httpexchange 2. create a request with header size > default header size ( which is 6k) 2. send a request invoking client.send(exchange) 3. this just hangs ( in the log you can see ArrayIndexOutOfBoundsException)
Created attachment 176599 [details] Added a new test case to reproduce this bug Added a new test case to reproduce this bug
thanks for the test case. Fixed by moving the completeHeader call within the try catch block. Also added a better exception message than array out of bounds. checked into r2213