[jira] [Created] (HTTPCLIENT-2206) fluent: Response#saveContent(File) does not dispose response upon throwing

2022-02-25 Thread Robert Wang (Jira)
Robert Wang created HTTPCLIENT-2206: --- Summary: fluent: Response#saveContent(File) does not dispose response upon throwing Key: HTTPCLIENT-2206 URL: https://issues.apache.org/jira/browse/HTTPCLIENT-2206

[GitHub] [httpcomponents-client] schlosna commented on pull request #352: Optimize ExecSupport.getNextExchangeId()

2022-02-25 Thread GitBox
schlosna commented on pull request #352: URL: https://github.com/apache/httpcomponents-client/pull/352#issuecomment-1051074768 Updated to use switch -- This is an automated message from the Apache Git Service. To respond to the message, please log on to GitHub and use the URL above to

[GitHub] [httpcomponents-client] schlosna edited a comment on pull request #352: Optimize ExecSupport.getNextExchangeId()

2022-02-25 Thread GitBox
schlosna edited a comment on pull request #352: URL: https://github.com/apache/httpcomponents-client/pull/352#issuecomment-1051045250 @michael-o I pulled out a `PrefixedIncrementingId` class to enable reuse across `Exchange`, `PoolingHttpClientConnectionManager`,

[GitHub] [httpcomponents-client] carterkozak commented on pull request #352: Optimize ExecSupport.getNextExchangeId()

2022-02-25 Thread GitBox
carterkozak commented on pull request #352: URL: https://github.com/apache/httpcomponents-client/pull/352#issuecomment-1051060746 hard-coding length 10 and using the switch would be nice, but I defer to your judgement -- This is an automated message from the Apache Git Service. To

[GitHub] [httpcomponents-client] schlosna commented on a change in pull request #352: Optimize ExecSupport.getNextExchangeId()

2022-02-25 Thread GitBox
schlosna commented on a change in pull request #352: URL: https://github.com/apache/httpcomponents-client/pull/352#discussion_r814961372 ## File path: httpclient5/src/main/java/org/apache/hc/client5/http/impl/ExecSupport.java ## @@ -45,7 +45,29 @@ public static long

[GitHub] [httpcomponents-client] schlosna commented on pull request #352: Optimize ExecSupport.getNextExchangeId()

2022-02-25 Thread GitBox
schlosna commented on pull request #352: URL: https://github.com/apache/httpcomponents-client/pull/352#issuecomment-1051045250 @michael-o I pulled out an `IncrementingId` class to enable reuse across `Exchange`, `PoolingHttpClientConnectionManager`, `PoolingAsyncClientConnectionManager`.

[GitHub] [httpcomponents-client] carterkozak commented on a change in pull request #352: Optimize ExecSupport.getNextExchangeId()

2022-02-25 Thread GitBox
carterkozak commented on a change in pull request #352: URL: https://github.com/apache/httpcomponents-client/pull/352#discussion_r814919595 ## File path: httpclient5/src/main/java/org/apache/hc/client5/http/impl/ExecSupport.java ## @@ -45,7 +45,29 @@ public static long

[GitHub] [httpcomponents-client] schlosna commented on a change in pull request #352: Optimize ExecSupport.getNextExchangeId()

2022-02-25 Thread GitBox
schlosna commented on a change in pull request #352: URL: https://github.com/apache/httpcomponents-client/pull/352#discussion_r814902188 ## File path: httpclient5/src/main/java/org/apache/hc/client5/http/impl/ExecSupport.java ## @@ -45,7 +45,29 @@ public static long

[GitHub] [httpcomponents-client] ok2c commented on a change in pull request #352: Optimize ExecSupport.getNextExchangeId()

2022-02-25 Thread GitBox
ok2c commented on a change in pull request #352: URL: https://github.com/apache/httpcomponents-client/pull/352#discussion_r814901897 ## File path: httpclient5/src/main/java/org/apache/hc/client5/http/impl/ExecSupport.java ## @@ -45,7 +45,29 @@ public static long

[GitHub] [httpcomponents-client] carterkozak commented on a change in pull request #352: Optimize ExecSupport.getNextExchangeId()

2022-02-25 Thread GitBox
carterkozak commented on a change in pull request #352: URL: https://github.com/apache/httpcomponents-client/pull/352#discussion_r814900201 ## File path: httpclient5/src/main/java/org/apache/hc/client5/http/impl/ExecSupport.java ## @@ -45,7 +45,29 @@ public static long

[GitHub] [httpcomponents-client] carterkozak commented on a change in pull request #352: Optimize ExecSupport.getNextExchangeId()

2022-02-25 Thread GitBox
carterkozak commented on a change in pull request #352: URL: https://github.com/apache/httpcomponents-client/pull/352#discussion_r814900201 ## File path: httpclient5/src/main/java/org/apache/hc/client5/http/impl/ExecSupport.java ## @@ -45,7 +45,29 @@ public static long

[GitHub] [httpcomponents-client] ok2c commented on pull request #352: Optimize ExecSupport.getNextExchangeId()

2022-02-25 Thread GitBox
ok2c commented on pull request #352: URL: https://github.com/apache/httpcomponents-client/pull/352#issuecomment-1050990006 @schlosna Awesome! Could you please fix style-check violations, though? -- This is an automated message from the Apache Git Service. To respond to the message,

[GitHub] [httpcomponents-client] michael-o commented on a change in pull request #352: Optimize ExecSupport.getNextExchangeId()

2022-02-25 Thread GitBox
michael-o commented on a change in pull request #352: URL: https://github.com/apache/httpcomponents-client/pull/352#discussion_r814892020 ## File path: httpclient5/src/main/java/org/apache/hc/client5/http/impl/ExecSupport.java ## @@ -45,7 +45,29 @@ public static long

[GitHub] [httpcomponents-client] carterkozak commented on a change in pull request #352: Optimize ExecSupport.getNextExchangeId()

2022-02-25 Thread GitBox
carterkozak commented on a change in pull request #352: URL: https://github.com/apache/httpcomponents-client/pull/352#discussion_r814890829 ## File path: httpclient5/src/main/java/org/apache/hc/client5/http/impl/ExecSupport.java ## @@ -45,7 +45,29 @@ public static long

[GitHub] [httpcomponents-client] schlosna opened a new pull request #352: Optimize ExecSupport.getNextExchangeId()

2022-02-25 Thread GitBox
schlosna opened a new pull request #352: URL: https://github.com/apache/httpcomponents-client/pull/352 While analyzing some JFR profiles from a service utilizing a high volume of async HTTP client requests, I noticed one of the top memory allocations of `java.text.DecimalFormatSymbols`

[jira] [Commented] (HTTPCORE-708) AbstractH2StreamMultiplexer: FrameInputBuffer: java.nio.BufferOverflowException

2022-02-25 Thread Oleg Kalnichevski (Jira)
[ https://issues.apache.org/jira/browse/HTTPCORE-708?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=17498154#comment-17498154 ] Oleg Kalnichevski commented on HTTPCORE-708: > It looks like race condition to me, let's

[jira] [Commented] (HTTPCORE-708) AbstractH2StreamMultiplexer: FrameInputBuffer: java.nio.BufferOverflowException

2022-02-25 Thread Lubos Husivarga (Jira)
[ https://issues.apache.org/jira/browse/HTTPCORE-708?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=17498148#comment-17498148 ] Lubos Husivarga commented on HTTPCORE-708: -- Thank you [~olegk]  It looks like race condition

[jira] [Commented] (HTTPCORE-708) AbstractH2StreamMultiplexer: FrameInputBuffer: java.nio.BufferOverflowException

2022-02-25 Thread Oleg Kalnichevski (Jira)
[ https://issues.apache.org/jira/browse/HTTPCORE-708?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=17498073#comment-17498073 ] Oleg Kalnichevski commented on HTTPCORE-708: [~lhusivarga] It turns out to be a really