-
Notifications
You must be signed in to change notification settings - Fork 2k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
allowUsingHttp2 #42947
base: main
Are you sure you want to change the base?
allowUsingHttp2 #42947
Conversation
128a645
to
e3939b3
Compare
/azp run java - cosmos - tests |
Azure Pipelines failed to run 1 pipeline(s). |
/azp run java - cosmos - tests |
Azure Pipelines successfully started running 1 pipeline(s). |
API change check API changes are not detected in this pull request. |
/azp run java - cosmos - tests |
Azure Pipelines successfully started running 1 pipeline(s). |
/azp run java - cosmos - tests |
Azure Pipelines successfully started running 1 pipeline(s). |
// Check for leading whitespace or other prohibited characters | ||
if (StringUtils.isNotEmpty(value) && (value.charAt(0) == ' ' || value.charAt(value.length() - 1) == ' ')) { | ||
// Clean up the header value by trimming or handling as needed | ||
logger.warn("There are extra white space for key {} with value {}", key, value); |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Given taht this happens for each request now - maybe make this DEBUG level tracing for now?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
make sense - will change in next iteration
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
changed to trace level
@@ -59,6 +59,8 @@ static HttpClient createFixed(HttpClientConfig httpClientConfig) { | |||
fixedConnectionProviderBuilder.pendingAcquireTimeout(connectionAcquireTimeout); | |||
fixedConnectionProviderBuilder.maxIdleTime(maxIdleConnectionTimeoutInMillis); | |||
|
|||
// TODO[Http2]: config Http2AllocationStrategy (maxConnections & maxConcurrentStreams) |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I assume left out intentionally instead of using 30 for maxConcurrentStreams?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
yea want to wire it up when adding the public API change
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM - Thanks!
/azp run java - cosmos - tests |
Azure Pipelines successfully started running 1 pipeline(s). |
/azp run java - cosmos - tests |
Azure Pipelines successfully started running 1 pipeline(s). |
No description provided.