Question about configuring maximum header length in Apache HttpClient

2023-08-24 Thread Sandeep Gaur
Hi All, I hope this email finds you well. I'm writing to you today to ask about the possibility of configuring the maximum header length in Apache HttpClient. We recently updated the httpcore5-h2 to 5.2.2, and one of our calls is now failing with the HTTP2 protocol, even though it works with HTT

Re: Question about configuring maximum header length in Apache HttpClient

2023-08-24 Thread Oleg Kalnichevski
On Thu, 2023-08-24 at 17:35 +0530, Sandeep Gaur wrote: > Hi All, > > I hope this email finds you well. > > I'm writing to you today to ask about the possibility of configuring > the > maximum header length in Apache HttpClient. > Please do not cross post to priv...@hc.apache.org Please post th

Re: Question about configuring maximum header length in Apache HttpClient

2023-08-24 Thread Sandeep Gaur
Hi Oleg, Below are the stack traces, 08:54:24:003773|0217-00082:INFO [org.apache.hc.client5.http.impl.async.AsyncHttpRequestRetryExec] - Recoverable I/O exception (org.apache.hc.core5.http2.H2StreamResetException) caught when processing request to {s}->https://localhost:8092 java.net.SocketTimeo

Re: Question about configuring maximum header length in Apache HttpClient

2023-08-24 Thread Oleg Kalnichevski
On Thu, 2023-08-24 at 21:54 +0530, Sandeep Gaur wrote: > Hi Oleg, > > Below are the stack traces, > > 08:54:24:003773|0217-00082:INFO > [org.apache.hc.client5.http.impl.async.AsyncHttpRequestRetryExec] - > Recoverable I/O exception > (org.apache.hc.core5.http2.H2StreamResetException) caught when

Re: Question about configuring maximum header length in Apache HttpClient

2023-08-24 Thread Sandeep Gaur
Hi, I have debugged a bit, the very first frame is Goaway with error code as 11 (ENHANCE_YOUR_CALM (0x0b), ). When I reduce the header size then I can see the we get first HEADERS,DATA and then GOAWAY frame Thanks, Sandeep On Thu, Aug 24, 2023 at 9:54 PM Sandeep Gaur wrote: > Hi Oleg, > >

[GitHub] [httpcomponents-core] arturobernalg opened a new pull request, #418: HTTPCORE-756 - Deprecation of userInfo in Compliance with RFC 9110

2023-08-24 Thread via GitHub
arturobernalg opened a new pull request, #418: URL: https://github.com/apache/httpcomponents-core/pull/418 Description: This pull request addresses the recommendations set out in RFC 9110 regarding the deprecation of the userInfo subcomponent in "http" or "https" URIs. Changes

[GitHub] [httpcomponents-core] michael-o commented on a diff in pull request #418: HTTPCORE-756 - Deprecation of userInfo in Compliance with RFC 9110

2023-08-24 Thread via GitHub
michael-o commented on code in PR #418: URL: https://github.com/apache/httpcomponents-core/pull/418#discussion_r1304790613 ## httpcore5/src/main/java/org/apache/hc/core5/net/URIAuthority.java: ## @@ -155,7 +148,7 @@ public URIAuthority(final String hostname) { } pub