Re: [PR] HTTPCORE-761: support ExtendedSocketOption in socket [httpcomponents-core]

2024-07-24 Thread via GitHub
kkewwei commented on PR #473: URL: https://github.com/apache/httpcomponents-core/pull/473#issuecomment-2247018192 > > @ok2c I have added the parameters in `SocketConfig`, but they are not used anywhere, is that ok? > > @kkewwei Why? It is being used in `HttpRequester`, `HttpServer`

Re: [PR] HTTPCORE-761: support ExtendedSocketOption in socket [httpcomponents-core]

2024-07-22 Thread via GitHub
ok2c commented on PR #473: URL: https://github.com/apache/httpcomponents-core/pull/473#issuecomment-224322 > @ok2c I have added the parameters in `SocketConfig`, but they are not used anywhere, is that ok? @kkewwei Why? It is being used in `HttpRequester`, `HttpServer` and

Re: [PR] HTTPCORE-761: support ExtendedSocketOption in socket [httpcomponents-core]

2024-07-22 Thread via GitHub
kkewwei commented on PR #473: URL: https://github.com/apache/httpcomponents-core/pull/473#issuecomment-2242754778 @ok2c I have added the parameters in `SocketConfig`, but they are not used anywhere, is that ok? -- This is an automated message from the Apache Git Service. To respond to

Re: [PR] HTTPCORE-761: support ExtendedSocketOption in socket [httpcomponents-core]

2024-07-22 Thread via GitHub
ok2c commented on PR #473: URL: https://github.com/apache/httpcomponents-core/pull/473#issuecomment-2242545374 @kkewwei One last thing. Could you please make symmetric changes to `SocketConfig` used by the classic transport? -- This is an automated message from the Apache Git Service.

Re: [PR] HTTPCORE-761: support ExtendedSocketOption in socket [httpcomponents-core]

2024-07-21 Thread via GitHub
ok2c commented on PR #473: URL: https://github.com/apache/httpcomponents-core/pull/473#issuecomment-2241752695 @kkewwei I am fine with the proposed changes. There is a problem with the build, however. -- This is an automated message from the Apache Git Service. To respond to the

Re: [PR] HTTPCORE-761: support ExtendedSocketOption in socket [httpcomponents-core]

2024-07-19 Thread via GitHub
kkewwei commented on PR #473: URL: https://github.com/apache/httpcomponents-core/pull/473#issuecomment-2238812266 @ok2c, please have a look when you are free. -- This is an automated message from the Apache Git Service. To respond to the message, please log on to GitHub and use the URL

[PR] HTTPCORE-761: support ExtendedSocketOption in socket [httpcomponents-core]

2024-07-19 Thread via GitHub
kkewwei opened a new pull request, #473: URL: https://github.com/apache/httpcomponents-core/pull/473 Support setting TCP_KEEPIDLE, TCP_KEEPINTERVAL, TCP_KEEPCOUNT in Socket. -- This is an automated message from the Apache Git Service. To respond to the message, please log on to GitHub and

Re: [PR] HTTPCORE-761: support ExtendedSocketOption in socket [httpcomponents-core]

2024-07-19 Thread via GitHub
ok2c commented on PR #442: URL: https://github.com/apache/httpcomponents-core/pull/442#issuecomment-2238780064 @kkewwei Exactly. -- 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 go to the specific

Re: [PR] HTTPCORE-761: support ExtendedSocketOption in socket [httpcomponents-core]

2024-07-19 Thread via GitHub
kkewwei commented on PR #442: URL: https://github.com/apache/httpcomponents-core/pull/442#issuecomment-2238730495 @ok2c, how about like this? ``` public void testSetExtendedSocketOption() throws IOException { .. // 1.Partial versions of jdk1.8 contain

Re: [PR] HTTPCORE-761: support ExtendedSocketOption in socket [httpcomponents-core]

2024-07-19 Thread via GitHub
ok2c commented on PR #442: URL: https://github.com/apache/httpcomponents-core/pull/442#issuecomment-2238686487 @kkewwei I am sorry I could not express myself clearly enough. What I am trying to say that one can use different asserts or even skip some tests / asserts altogether when

Re: [PR] HTTPCORE-761: support ExtendedSocketOption in socket [httpcomponents-core]

2024-07-19 Thread via GitHub
kkewwei commented on PR #442: URL: https://github.com/apache/httpcomponents-core/pull/442#issuecomment-2238652024 > TestSSLContextBuilder @ok2c I don't quite understand what you mean. could you describe it more clearly? very thank you. I should test whether it is supported on a Win

Re: [PR] HTTPCORE-761: support ExtendedSocketOption in socket [httpcomponents-core]

2024-07-19 Thread via GitHub
ok2c commented on PR #442: URL: https://github.com/apache/httpcomponents-core/pull/442#issuecomment-2238551181 @kkewwei You may also consider doing something similar to what `TestSSLContextBuilder` does to test if the it is being executed on a Win OS variant. -- This is an automated

Re: [PR] HTTPCORE-761: support ExtendedSocketOption in socket [httpcomponents-core]

2024-07-19 Thread via GitHub
ok2c commented on PR #442: URL: https://github.com/apache/httpcomponents-core/pull/442#issuecomment-2238546136 > If ok, I will modify the unit test. @kkewwei Yes, that would be enough as far as I am concerned. -- This is an automated message from the Apache Git Service. To

Re: [PR] HTTPCORE-761: support ExtendedSocketOption in socket [httpcomponents-core]

2024-07-19 Thread via GitHub
kkewwei commented on PR #442: URL: https://github.com/apache/httpcomponents-core/pull/442#issuecomment-2238517961 @ok2c, It seems unnecessary to find out why the test fails on windows. If the user set parameters and httpcomponents does not support , then an exception will be thrown

Re: [PR] Fix behaviour of PublicSuffixMatcher to match https://github.com/publicsuffix [httpcomponents-client]

2024-07-11 Thread via GitHub
massdosage closed pull request #563: Fix behaviour of PublicSuffixMatcher to match https://github.com/publicsuffix URL: https://github.com/apache/httpcomponents-client/pull/563 -- This is an automated message from the Apache Git Service. To respond to the message, please log on to GitHub and

Re: [PR] Fix behaviour of PublicSuffixMatcher to match https://github.com/publicsuffix [httpcomponents-client]

2024-07-11 Thread via GitHub
massdosage commented on PR #563: URL: https://github.com/apache/httpcomponents-client/pull/563#issuecomment-510584 Apologies, this is still a work in progress and I meant to submit the PR against our fork and not the origin. I'm closing this, will create a proper PR in future when

[PR] Fix behaviour of PublicSuffixMatcher to match https://github.com/publicsuffix [httpcomponents-client]

2024-07-11 Thread via GitHub
massdosage opened a new pull request, #563: URL: https://github.com/apache/httpcomponents-client/pull/563 This PR is just for internal discussion currently -- 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

Re: [PR] Bump commons-cli:commons-cli from 1.7.0 to 1.8.0 [httpcomponents-core]

2024-07-08 Thread via GitHub
ok2c merged PR #472: URL: https://github.com/apache/httpcomponents-core/pull/472 -- 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 go to the specific comment. To unsubscribe, e-mail:

Re: [PR] Bump org.junit:junit-bom from 5.10.2 to 5.10.3 [httpcomponents-core]

2024-07-08 Thread via GitHub
ok2c merged PR #471: URL: https://github.com/apache/httpcomponents-core/pull/471 -- 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 go to the specific comment. To unsubscribe, e-mail:

Re: [PR] Cleanup test classes [httpcomponents-core]

2024-07-02 Thread via GitHub
strangelookingnerd commented on PR #470: URL: https://github.com/apache/httpcomponents-core/pull/470#issuecomment-2191642879 > I would not change public vs package visibility, but that's just me, and the convention we've been using. The thing is that right now there is a mixture (at

Re: [PR] Cleanup test classes [httpcomponents-core]

2024-07-02 Thread via GitHub
strangelookingnerd commented on PR #470: URL: https://github.com/apache/httpcomponents-core/pull/470#issuecomment-2191634860 > > Make sure tests have at least one assertion > > I am aware of this recommendation but I always felt it was not justified / too extreme. I myself am

Re: [PR] Cleanup test classes [httpcomponents-core]

2024-07-02 Thread via GitHub
ok2c commented on PR #470: URL: https://github.com/apache/httpcomponents-core/pull/470#issuecomment-2191594071 Oh, that is a big one. > Make sure tests have at least one assertion I am aware of this recommendation but I always felt it was not justified / too extreme.

Re: [PR] Cleanup test classes [httpcomponents-core]

2024-07-02 Thread via GitHub
garydgregory commented on PR #470: URL: https://github.com/apache/httpcomponents-core/pull/470#issuecomment-2191613075 I would not change public vs package visibility, but that's just me, and the convention we've been using. -- This is an automated message from the Apache Git Service.

[PR] Cleanup test classes [httpcomponents-core]

2024-07-02 Thread via GitHub
strangelookingnerd opened a new pull request, #470: URL: https://github.com/apache/httpcomponents-core/pull/470 This PR cleans up the test classes. The proposed changes include: **Remove superfluous exceptions in throws clauses** Superfluous exceptions within throws clauses have

Re: [PR] HTTPCLIENT-2328: Redesign of blocking TLS session initialtion and termination; fixes the problem with requests hanging if TLS 1.3 connection is half-closed [httpcomponents-core]

2024-06-09 Thread via GitHub
ok2c merged PR #468: URL: https://github.com/apache/httpcomponents-core/pull/468 -- 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 go to the specific comment. To unsubscribe, e-mail:

Re: [PR] first commit [httpcomponents-client]

2024-06-05 Thread via GitHub
sfc-gh-dbouassida closed pull request #560: first commit URL: https://github.com/apache/httpcomponents-client/pull/560 -- 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 go to the specific comment. To

[PR] first commit [httpcomponents-client]

2024-06-05 Thread via GitHub
sfc-gh-dbouassida opened a new pull request, #560: URL: https://github.com/apache/httpcomponents-client/pull/560 (no comment) -- 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 go to the specific

Re: [PR] HTTPCORE-766: redesign of server-side request routing [httpcomponents-core]

2024-06-05 Thread via GitHub
ok2c merged PR #467: URL: https://github.com/apache/httpcomponents-core/pull/467 -- 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 go to the specific comment. To unsubscribe, e-mail:

[PR] HTTPCLIENT-2328: Redesign of blocking TLS session initialtion and termination; fixes the problem with requests hanging if TLS 1.3 connection is half-closed [httpcomponents-core]

2024-06-04 Thread via GitHub
ok2c opened a new pull request, #468: URL: https://github.com/apache/httpcomponents-core/pull/468 (no comment) -- 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 go to the specific comment. To

Re: [PR] HTTPCORE-766: redesign of server-side request routing [httpcomponents-core]

2024-06-02 Thread via GitHub
ok2c commented on PR #467: URL: https://github.com/apache/httpcomponents-core/pull/467#issuecomment-2144011481 > Overall this looks fine, though it was a much larger change than I had anticipated. @erik-wramner True. I ended up rewriting the entire request routing layer as a

Re: [PR] HTTPCORE-766: redesign of server-side request routing [httpcomponents-core]

2024-06-02 Thread via GitHub
erik-wramner commented on PR #467: URL: https://github.com/apache/httpcomponents-core/pull/467#issuecomment-2143943997 Overall this looks fine, though it was a much larger change than I had anticipated. I only have one question. The code uses `UriPatternType.URI_PATTERN` and the other

[PR] HTTPCORE-766: redesign of server-side request routing [httpcomponents-core]

2024-06-01 Thread via GitHub
ok2c opened a new pull request, #467: URL: https://github.com/apache/httpcomponents-core/pull/467 Redesign of server-side request routing: * support for multiple authorities (defined as hostname / port pair) * customizable authority resolution / authority normalization * support for

Re: [PR] HTTPCLIENT-2327: Propagate CancellationExceptions from MemcachedClient operations as ResourceIOExceptions [httpcomponents-client]

2024-05-16 Thread via GitHub
ok2c merged PR #559: URL: https://github.com/apache/httpcomponents-client/pull/559 -- 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 go to the specific comment. To unsubscribe, e-mail:

Re: [PR] Fix HttpClientConnection.isConsistent description [httpcomponents-core]

2024-05-16 Thread via GitHub
ok2c merged PR #466: URL: https://github.com/apache/httpcomponents-core/pull/466 -- 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 go to the specific comment. To unsubscribe, e-mail:

Re: [PR] [HTTPCLIENT-2327] Propagate CancellationExceptions from MemcachedClient operations as ResourceIOExceptions [httpcomponents-client]

2024-05-16 Thread via GitHub
ok2c commented on code in PR #559: URL: https://github.com/apache/httpcomponents-client/pull/559#discussion_r1602857699 ## httpclient5-cache/src/main/java/org/apache/hc/client5/http/impl/cache/memcached/MemcachedOperationCancellationException.java: ## @@ -0,0 +1,42 @@ +/* + *

[PR] Fix HttpClientConnection.isConsistent description [httpcomponents-core]

2024-05-16 Thread via GitHub
laststem opened a new pull request, #466: URL: https://github.com/apache/httpcomponents-core/pull/466 Fix descriptions that seem inaccurate. -- 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 go to the

Re: [PR] [HTTPCLIENT-2327] Propagate CancellationExceptions from MemcachedClient operations as ResourceIOExceptions [httpcomponents-client]

2024-05-15 Thread via GitHub
jattisha commented on code in PR #559: URL: https://github.com/apache/httpcomponents-client/pull/559#discussion_r1602246401 ## httpclient5-cache/src/main/java/org/apache/hc/client5/http/impl/cache/memcached/MemcachedHttpAsyncCacheStorage.java: ## @@ -161,7 +162,11 @@ private

Re: [PR] fix the G1 Humongous Allocation BUG, when the connection run all the … [httpcomponents-core]

2024-04-29 Thread via GitHub
ok2c commented on PR #465: URL: https://github.com/apache/httpcomponents-core/pull/465#issuecomment-2083253924 @crazylulululu Merged to `5.2.x` as well. -- 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

Re: [PR] fix the G1 Humongous Allocation BUG, when the connection run all the … [httpcomponents-core]

2024-04-29 Thread via GitHub
ok2c merged PR #465: URL: https://github.com/apache/httpcomponents-core/pull/465 -- 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 go to the specific comment. To unsubscribe, e-mail:

Re: [PR] fix the G1 Humongous Allocation BUG, when the connection run all the … [httpcomponents-core]

2024-04-29 Thread via GitHub
crazylulululu commented on code in PR #465: URL: https://github.com/apache/httpcomponents-core/pull/465#discussion_r1583366968 ## httpcore5-h2/src/main/java/org/apache/hc/core5/http2/hpack/HPackDecoder.java: ## @@ -158,6 +158,10 @@ void decodeString(final ByteArrayBuffer

Re: [PR] fix the G1 Humongous Allocation BUG, when the connection run all the … [httpcomponents-core]

2024-04-29 Thread via GitHub
ok2c commented on code in PR #465: URL: https://github.com/apache/httpcomponents-core/pull/465#discussion_r1583023593 ## httpcore5-h2/src/main/java/org/apache/hc/core5/http2/hpack/HPackDecoder.java: ## @@ -158,6 +158,10 @@ void decodeString(final ByteArrayBuffer buffer, final

Re: [PR] fix the G1 Humongous Allocation BUG, when the connection run all the … [httpcomponents-core]

2024-04-29 Thread via GitHub
crazylulululu commented on PR #465: URL: https://github.com/apache/httpcomponents-core/pull/465#issuecomment-2082495455 @ok2c , I have add the test case ,please help to check , thanks. -- This is an automated message from the Apache Git Service. To respond to the message, please log on

Re: [PR] fix the G1 Humongous Allocation BUG, when the connection run all the … [httpcomponents-core]

2024-04-29 Thread via GitHub
ok2c commented on PR #465: URL: https://github.com/apache/httpcomponents-core/pull/465#issuecomment-2082425684 > > @crazylulululu Do you think you could add a test case for this defect to `TestHPackCoding`? > > OK, use this.tmpBuf.position() + extra as the requiredCapacity is error

Re: [PR] fix the G1 Humongous Allocation BUG, when the connection run all the … [httpcomponents-core]

2024-04-29 Thread via GitHub
crazylulululu commented on PR #465: URL: https://github.com/apache/httpcomponents-core/pull/465#issuecomment-2082418772 > @crazylulululu Do you think you could add a test case for this defect to `TestHPackCoding`? OK, use this.tmpBuf.position() + extra as the requiredCapacity is

Re: [PR] fix the G1 Humongous Allocation BUG, when the connection run all the … [httpcomponents-core]

2024-04-29 Thread via GitHub
ok2c commented on PR #465: URL: https://github.com/apache/httpcomponents-core/pull/465#issuecomment-2082386349 @crazylulululu Do you think you could add a test case for this defect to `TestHPackCoding`? -- This is an automated message from the Apache Git Service. To respond to the

Re: [PR] fix the G1 Humongous Allocation BUG, when the connection run all the … [httpcomponents-core]

2024-04-29 Thread via GitHub
crazylulululu commented on PR #465: URL: https://github.com/apache/httpcomponents-core/pull/465#issuecomment-2082359208 ![image](https://github.com/apache/httpcomponents-core/assets/42406448/db7f8364-4760-4a52-ad53-c1da2a29e35c) -- This is an automated message from the Apache Git

[PR] fix the G1 Humongous Allocation BUG, when the connection run all the … [httpcomponents-core]

2024-04-29 Thread via GitHub
crazylulululu opened a new pull request, #465: URL: https://github.com/apache/httpcomponents-core/pull/465 the logic is incorrect ,if a connection is used continuously , it will generate the G1 Humongous Allocation , and GC will be particularly frequent, please fix this bug as soon as

[PR] Bump commons-cli:commons-cli from 1.6.0 to 1.7.0 [httpcomponents-core]

2024-04-19 Thread via GitHub
dependabot[bot] opened a new pull request, #464: URL: https://github.com/apache/httpcomponents-core/pull/464 Bumps commons-cli:commons-cli from 1.6.0 to 1.7.0. [![Dependabot compatibility

[PR] Bump com.googlecode.maven-download-plugin:download-maven-plugin from 1.8.1 to 1.9.0 [httpcomponents-client]

2024-04-12 Thread via GitHub
dependabot[bot] opened a new pull request, #558: URL: https://github.com/apache/httpcomponents-client/pull/558 Bumps [com.googlecode.maven-download-plugin:download-maven-plugin](https://github.com/maven-download-plugin/maven-download-plugin) from 1.8.1 to 1.9.0. Release notes

Re: [PR] Avoid unnecessary volatile reads [httpcomponents-core]

2024-04-11 Thread via GitHub
ok2c commented on PR #463: URL: https://github.com/apache/httpcomponents-core/pull/463#issuecomment-2049173346 Superseded by 45b6138676a568b3c357c0ee5c802dbc964cff75 -- This is an automated message from the Apache Git Service. To respond to the message, please log on to GitHub and use

Re: [PR] Avoid unnecessary volatile reads [httpcomponents-core]

2024-04-11 Thread via GitHub
ok2c closed pull request #463: Avoid unnecessary volatile reads URL: https://github.com/apache/httpcomponents-core/pull/463 -- 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 go to the specific comment. To

Re: [PR] Callbacks for Connection initialization [httpcomponents-client]

2024-04-09 Thread via GitHub
ok2c merged PR #555: URL: https://github.com/apache/httpcomponents-client/pull/555 -- 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 go to the specific comment. To unsubscribe, e-mail:

Re: [PR] Callbacks for Connection initialization [httpcomponents-client]

2024-04-08 Thread via GitHub
tippl commented on PR #555: URL: https://github.com/apache/httpcomponents-client/pull/555#issuecomment-2043306992 One more edit, making the Builder constructor not protected means you cannot extend it. Made an oversight when removing the protected there. -- This is an automated message

Re: [PR] Callbacks for Connection initialization [httpcomponents-client]

2024-04-08 Thread via GitHub
tippl commented on code in PR #555: URL: https://github.com/apache/httpcomponents-client/pull/555#discussion_r1556186911 ## httpclient5/src/main/java/org/apache/hc/client5/http/impl/io/PoolingHttpClientConnectionManagerBuilder.java: ## @@ -273,15 +275,24 @@ public final

Re: [PR] Callbacks for Connection initialization [httpcomponents-client]

2024-04-08 Thread via GitHub
ok2c commented on code in PR #555: URL: https://github.com/apache/httpcomponents-client/pull/555#discussion_r1556181108 ## httpclient5/src/main/java/org/apache/hc/client5/http/impl/io/PoolingHttpClientConnectionManagerBuilder.java: ## @@ -273,15 +275,24 @@ public final

Re: [PR] Callbacks for Connection initialization [httpcomponents-client]

2024-04-08 Thread via GitHub
tippl commented on PR #555: URL: https://github.com/apache/httpcomponents-client/pull/555#issuecomment-2043269396 Hopefully this is how you meant it. :) Yeah, exposing the private variables wasn't ideal, but all of this is kind of not ideal since it's trying to expose callbacks for

Re: [PR] Callbacks for Connection initialization [httpcomponents-client]

2024-04-08 Thread via GitHub
garydgregory commented on PR #555: URL: https://github.com/apache/httpcomponents-client/pull/555#issuecomment-2042446988 Changing to protected instance variables are a very bad idea IMO: we are handcuffing ourselves to names, types and details that break encapsulation. A subclass should

Re: [PR] Callbacks for Connection initialization [httpcomponents-client]

2024-04-08 Thread via GitHub
ok2c commented on PR #555: URL: https://github.com/apache/httpcomponents-client/pull/555#issuecomment-2042084955 > I've also modified the bulilders to allow extending @tippl Everything looks good to me except for builders. Your change exposes every single internal implementation

Re: [PR] Callbacks for Connection initialization [httpcomponents-client]

2024-04-07 Thread via GitHub
tippl commented on PR #555: URL: https://github.com/apache/httpcomponents-client/pull/555#issuecomment-2041466636 @ok2c Sorry for the delay. Hopefully this is more to your liking. I've tried to avoid the need of having to extend the `PoolingHttpClientConnectionManager` to use a

Re: [PR] Avoid unnecessary volatile reads [httpcomponents-core]

2024-03-30 Thread via GitHub
ok2c commented on PR #463: URL: https://github.com/apache/httpcomponents-core/pull/463#issuecomment-2028019357 @rhernandez35 Could you please correct style check violations and ideally split the change-set into two separate commits? Looks good otherwise. -- This is an automated message

[PR] Avoid unnecessary volatile reads [httpcomponents-core]

2024-03-29 Thread via GitHub
rhernandez35 opened a new pull request, #463: URL: https://github.com/apache/httpcomponents-core/pull/463 This commit avoids repeatedly reading volatile instance fields in ClientH2PrefaceHandler and AbstractCharDataConsumer. This is important for both performance and correctness,

Re: [PR] Update the method parameter from String to CharSequence. [httpcomponents-core]

2024-03-22 Thread via GitHub
ok2c merged PR #462: URL: https://github.com/apache/httpcomponents-core/pull/462 -- 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 go to the specific comment. To unsubscribe, e-mail:

Re: [PR] Update the method parameter from String to CharSequence. [httpcomponents-core]

2024-03-21 Thread via GitHub
ok2c commented on PR #462: URL: https://github.com/apache/httpcomponents-core/pull/462#issuecomment-2011603034 @wangkaish There are style-check violations. Please address them. Please also add `@since 5.3` to a;; new methods. Otherwise looks good. -- This is an automated message from

Re: [PR] Update the method parameter from String to CharSequence. [httpcomponents-core]

2024-03-20 Thread via GitHub
wangkaish commented on PR #462: URL: https://github.com/apache/httpcomponents-core/pull/462#issuecomment-2011021839 @ok2c There is a method named `isIPv4MappedIPv64Address` in InetAddressUtils, is that mean `isIPv4MappedIPv6Address`? -- This is an automated message from the Apache Git

Re: [PR] Update the method parameter from String to CharSequence. [httpcomponents-core]

2024-03-20 Thread via GitHub
ok2c commented on PR #462: URL: https://github.com/apache/httpcomponents-core/pull/462#issuecomment-2009194371 @wangkaish You do something like that https://github.com/ok2c/httpcomponents-core/commit/96ca1afe17af5e7e4973b21579adf9ebd5a10a69 -- This is an automated message from the

Re: [PR] Update the method parameter from String to CharSequence. [httpcomponents-core]

2024-03-20 Thread via GitHub
ok2c commented on PR #462: URL: https://github.com/apache/httpcomponents-core/pull/462#issuecomment-2009196175 > but in fact the API is compatible @wangkaish No, it is not. It is compile compatible but binary incompatible. -- This is an automated message from the Apache Git Service.

Re: [PR] Update the method parameter from String to CharSequence. [httpcomponents-core]

2024-03-20 Thread via GitHub
wangkaish commented on PR #462: URL: https://github.com/apache/httpcomponents-core/pull/462#issuecomment-2009107247 Hi, @ok2c CI indicates that version compatibility check failed, but in fact the API is compatible, what do I do in this case? -- This is an automated message from the

[PR] Update the method parameter from String to CharSequence. [httpcomponents-core]

2024-03-20 Thread via GitHub
wangkaish opened a new pull request, #462: URL: https://github.com/apache/httpcomponents-core/pull/462 Update the method parameter of InetAddressUtils from String to CharSequence. Sometimes I need to pass parts of a String(create a String slice) to this method instead of splitting

Re: [PR] Update the method parameter from String to CharSequence. [httpcomponents-client]

2024-03-20 Thread via GitHub
wangkaish commented on PR #557: URL: https://github.com/apache/httpcomponents-client/pull/557#issuecomment-2009032435 @ok2c ok, InetAddressUtils moved to httpcomponents-core, I will create a new pr to httpcomponents-core and close this pr. -- This is an automated message from the Apache

Re: [PR] Update the method parameter from String to CharSequence. [httpcomponents-client]

2024-03-20 Thread via GitHub
wangkaish closed pull request #557: Update the method parameter from String to CharSequence. URL: https://github.com/apache/httpcomponents-client/pull/557 -- 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

Re: [PR] Update the method parameter from String to CharSequence. [httpcomponents-client]

2024-03-20 Thread via GitHub
ok2c commented on PR #557: URL: https://github.com/apache/httpcomponents-client/pull/557#issuecomment-2008965636 @wangkaish There will be no more changes to 4.5.x. Please port the proposed change-set to `master`. -- This is an automated message from the Apache Git Service. To respond

Re: [PR] Update the method parameter from String to CharSequence. [httpcomponents-client]

2024-03-19 Thread via GitHub
garydgregory commented on PR #557: URL: https://github.com/apache/httpcomponents-client/pull/557#issuecomment-2008643813 Changing the API from a class to an interface has no such behavioral guarantee, even if the API binary compatibility is maintained. IOW there is no proof that

Re: [PR] Update the method parameter from String to CharSequence. [httpcomponents-client]

2024-03-19 Thread via GitHub
wangkaish commented on PR #557: URL: https://github.com/apache/httpcomponents-client/pull/557#issuecomment-2008608253 Hi @garydgregory String is an implementation of CharSequence, and the test argument used in TestInetAddressUtils is String, so I don't think we need a test case with a

Re: [PR] Update the method parameter from String to CharSequence. [httpcomponents-client]

2024-03-19 Thread via GitHub
garydgregory commented on PR #557: URL: https://github.com/apache/httpcomponents-client/pull/557#issuecomment-2008585993 @wangkaish You'll need to _add_ tests that exercise CharSequence parameter values. -- This is an automated message from the Apache Git Service. To respond to the

[PR] Update the method parameter from String to CharSequence. [httpcomponents-client]

2024-03-19 Thread via GitHub
wangkaish opened a new pull request, #557: URL: https://github.com/apache/httpcomponents-client/pull/557 Update the method parameter of InetAddressUtils from String to CharSequence. -- This is an automated message from the Apache Git Service. To respond to the message, please log on to

Re: [PR] Callbacks for Connection initialization [httpcomponents-client]

2024-03-18 Thread via GitHub
tippl commented on PR #555: URL: https://github.com/apache/httpcomponents-client/pull/555#issuecomment-2004716082 I've come across the idea for these metrics here micrometer-metrics/micrometer#1617, so I cannot say i'm the only one who wants these metrics, but the pool of people is

Re: [PR] Callbacks for Connection initialization [httpcomponents-client]

2024-03-18 Thread via GitHub
ok2c commented on PR #555: URL: https://github.com/apache/httpcomponents-client/pull/555#issuecomment-2004622070 > Is there a reason for not being able to add the `HttpClientConnectionOperator` to the builder? > @tippl The are two reasons: 1. Internal interfaces ideally

Re: [PR] HTTPCLIENT-2325 Avoid adding "; charset=" for multipart/form-data requests [httpcomponents-client]

2024-03-18 Thread via GitHub
ok2c merged PR #556: URL: https://github.com/apache/httpcomponents-client/pull/556 -- 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 go to the specific comment. To unsubscribe, e-mail:

Re: [PR] Callbacks for Connection initialization [httpcomponents-client]

2024-03-18 Thread via GitHub
tippl commented on PR #555: URL: https://github.com/apache/httpcomponents-client/pull/555#issuecomment-2004560033 > One can subclass `PoolingHttpClientConnectionManager` and pass a custom `HttpClientConnectionOperator` through the protected super constructor. Is there a reason for

Re: [PR] Callbacks for Connection initialization [httpcomponents-client]

2024-03-18 Thread via GitHub
ok2c commented on PR #555: URL: https://github.com/apache/httpcomponents-client/pull/555#issuecomment-2003798399 > So there is no way to actually create a PoolingHttpClientConnectionManager with a custom HttpClientConnectionOperator, either by itself or through the Builder. One can

Re: [PR] HTTPCLIENT-2325 Avoid adding "; charset=" for multipart/form-data requests [httpcomponents-client]

2024-03-18 Thread via GitHub
ok2c commented on code in PR #556: URL: https://github.com/apache/httpcomponents-client/pull/556#discussion_r1528452045 ## httpclient5/src/main/java/org/apache/hc/client5/http/entity/mime/MultipartEntityBuilder.java: ## @@ -253,12 +253,13 @@ MultipartFormEntity buildEntity() {

Re: [PR] HTTPCLIENT-2325 Avoid adding "; charset=" for multipart/form-data requests [httpcomponents-client]

2024-03-18 Thread via GitHub
michael-o commented on code in PR #556: URL: https://github.com/apache/httpcomponents-client/pull/556#discussion_r1528412914 ## httpclient5/src/main/java/org/apache/hc/client5/http/entity/mime/MultipartEntityBuilder.java: ## @@ -253,12 +253,13 @@ MultipartFormEntity

Re: [PR] HTTPCLIENT-2325 Avoid adding "; charset=" for multipart/form-data requests [httpcomponents-client]

2024-03-18 Thread via GitHub
vlsi commented on code in PR #556: URL: https://github.com/apache/httpcomponents-client/pull/556#discussion_r1528370944 ## httpclient5/src/main/java/org/apache/hc/client5/http/entity/mime/MultipartEntityBuilder.java: ## @@ -253,12 +253,13 @@ MultipartFormEntity buildEntity() {

Re: [PR] HTTPCLIENT-2325 Avoid adding "; charset=" for multipart/form-data requests [httpcomponents-client]

2024-03-18 Thread via GitHub
michael-o commented on code in PR #556: URL: https://github.com/apache/httpcomponents-client/pull/556#discussion_r1528368485 ## httpclient5/src/main/java/org/apache/hc/client5/http/entity/mime/MultipartEntityBuilder.java: ## @@ -253,12 +253,13 @@ MultipartFormEntity

Re: [PR] HTTPCLIENT-2325 Avoid adding "; charset=" for multipart/form-data requests [httpcomponents-client]

2024-03-18 Thread via GitHub
michael-o commented on code in PR #556: URL: https://github.com/apache/httpcomponents-client/pull/556#discussion_r1528366507 ## httpclient5/src/test/java/org/apache/hc/client5/http/entity/mime/TestMultipartEntityBuilder.java: ## @@ -88,7 +88,7 @@ public void

Re: [PR] HTTPCLIENT-2325 Avoid adding "; charset=" for multipart/form-data requests [httpcomponents-client]

2024-03-18 Thread via GitHub
vlsi commented on code in PR #556: URL: https://github.com/apache/httpcomponents-client/pull/556#discussion_r1528356852 ## httpclient5/src/test/java/org/apache/hc/client5/http/entity/mime/TestMultipartEntityBuilder.java: ## @@ -99,7 +99,7 @@ public void

Re: [PR] HTTPCLIENT-2325 Avoid adding "; charset=" for multipart/form-data requests [httpcomponents-client]

2024-03-18 Thread via GitHub
vlsi commented on code in PR #556: URL: https://github.com/apache/httpcomponents-client/pull/556#discussion_r1528354232 ## httpclient5/src/test/java/org/apache/hc/client5/http/entity/mime/TestMultipartEntityBuilder.java: ## @@ -88,7 +88,7 @@ public void

Re: [PR] HTTPCLIENT-2325 Avoid adding "; charset=" for multipart/form-data requests [httpcomponents-client]

2024-03-18 Thread via GitHub
vlsi commented on code in PR #556: URL: https://github.com/apache/httpcomponents-client/pull/556#discussion_r1528350724 ## httpclient5/src/main/java/org/apache/hc/client5/http/entity/mime/MultipartEntityBuilder.java: ## @@ -253,12 +253,13 @@ MultipartFormEntity buildEntity() {

Re: [PR] HTTPCLIENT-2325 Avoid adding "; charset=" for multipart/form-data requests [httpcomponents-client]

2024-03-18 Thread via GitHub
michael-o commented on code in PR #556: URL: https://github.com/apache/httpcomponents-client/pull/556#discussion_r1528332718 ## httpclient5/src/main/java/org/apache/hc/client5/http/entity/mime/MultipartEntityBuilder.java: ## @@ -253,12 +253,13 @@ MultipartFormEntity

Re: [PR] Callbacks for Connection initialization [httpcomponents-client]

2024-03-17 Thread via GitHub
tippl commented on PR #555: URL: https://github.com/apache/httpcomponents-client/pull/555#issuecomment-2002643664 > @tippl Do you mean `PoolingHttpClientConnectionManager` builder? if so, I would rather not couple it with an internal interface.. @ok2c As it stands now,

Re: [PR] Callbacks for Connection initialization [httpcomponents-client]

2024-03-17 Thread via GitHub
ok2c commented on PR #555: URL: https://github.com/apache/httpcomponents-client/pull/555#issuecomment-2002636234 > 1. While keeping the `PoolingHttpClientConnectionManager` constructor internal, should I add a way to provide a custom `HttpClientConnectionOperator` to the

Re: [PR] Callbacks for Connection initialization [httpcomponents-client]

2024-03-17 Thread via GitHub
tippl commented on PR #555: URL: https://github.com/apache/httpcomponents-client/pull/555#issuecomment-2002499629 > @tippl I apologize if I have said was misleading but the idea was to provide hooks for performance metrics without exposing the whole thing in the public APIs. > > 1.

[PR] Callbacks for Connection initialization [httpcomponents-client]

2024-03-16 Thread via GitHub
tippl opened a new pull request, #555: URL: https://github.com/apache/httpcomponents-client/pull/555 As discussed on the mailing list, implements a callback for Connection initialization steps. Useful for collection of metrics on how long each step takes for network troubleshooting.

Re: [PR] Bump log4j.version from 2.22.1 to 2.23.0 [httpcomponents-core]

2024-03-15 Thread via GitHub
dependabot[bot] commented on PR #459: URL: https://github.com/apache/httpcomponents-core/pull/459#issuecomment-1999768275 Superseded by #461. -- 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 go to the

Re: [PR] Bump log4j.version from 2.22.1 to 2.23.0 [httpcomponents-core]

2024-03-15 Thread via GitHub
dependabot[bot] closed pull request #459: Bump log4j.version from 2.22.1 to 2.23.0 URL: https://github.com/apache/httpcomponents-core/pull/459 -- 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 go to the

[PR] Bump log4j.version from 2.22.1 to 2.23.1 [httpcomponents-core]

2024-03-15 Thread via GitHub
dependabot[bot] opened a new pull request, #461: URL: https://github.com/apache/httpcomponents-core/pull/461 Bumps `log4j.version` from 2.22.1 to 2.23.1. Updates `org.apache.logging.log4j:log4j-slf4j-impl` from 2.22.1 to 2.23.1 Updates `org.apache.logging.log4j:log4j-core` from

[PR] Bump log4j.version from 2.23.0 to 2.23.1 [httpcomponents-client]

2024-03-15 Thread via GitHub
dependabot[bot] opened a new pull request, #554: URL: https://github.com/apache/httpcomponents-client/pull/554 Bumps `log4j.version` from 2.23.0 to 2.23.1. Updates `org.apache.logging.log4j:log4j-slf4j-impl` from 2.23.0 to 2.23.1 Updates `org.apache.logging.log4j:log4j-core` from

Re: [PR] HTTPCLIENT-2321 Clarify default implementation of HttpClientConnectio… [httpcomponents-client]

2024-03-14 Thread via GitHub
ok2c closed pull request #553: HTTPCLIENT-2321 Clarify default implementation of HttpClientConnectio… URL: https://github.com/apache/httpcomponents-client/pull/553 -- This is an automated message from the Apache Git Service. To respond to the message, please log on to GitHub and use the URL

Re: [PR] HTTPCLIENT-2321 Clarify default implementation of HttpClientConnectio… [httpcomponents-client]

2024-03-13 Thread via GitHub
ok2c commented on code in PR #553: URL: https://github.com/apache/httpcomponents-client/pull/553#discussion_r1522819492 ## httpclient5/src/main/java/org/apache/hc/client5/http/impl/classic/HttpClientBuilder.java: ## @@ -134,7 +135,27 @@ * exclusive and may not apply when

Re: [PR] Bump com.googlecode.maven-download-plugin:download-maven-plugin from 1.7.1 to 1.8.1 [httpcomponents-client]

2024-03-11 Thread via GitHub
ok2c merged PR #548: URL: https://github.com/apache/httpcomponents-client/pull/548 -- 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 go to the specific comment. To unsubscribe, e-mail:

  1   2   3   4   5   6   7   8   9   10   >