Skip to content

Conversation

@claudiamurialdo
Copy link
Collaborator

@claudiamurialdo claudiamurialdo commented Mar 1, 2024

Refactored gxhttpclient to utilize a singleton instance, configurable, for improved scalability and efficient connection pooling. Eliminated the use of CookieContainer in handlers to prevent shared state issues across pooled connections. Implemented cookie management through headers.
Issue:106775

…e for reusing the connection pool of httpclient instances. Avoided using CookieContainer of handlers, as they are shared across the pooled connections. Instead, managed sending and receiving cookies as headers.
@claudiamurialdo claudiamurialdo temporarily deployed to external-storage-tests March 1, 2024 22:49 — with GitHub Actions Inactive
@genexusbot
Copy link
Collaborator

Cherry pick to beta success

@claudiamurialdo claudiamurialdo temporarily deployed to external-storage-tests March 1, 2024 22:55 — with GitHub Actions Inactive
@genexusbot
Copy link
Collaborator

Cherry pick to beta success

@claudiamurialdo claudiamurialdo temporarily deployed to external-storage-tests March 12, 2024 18:05 — with GitHub Actions Inactive
@claudiamurialdo claudiamurialdo temporarily deployed to external-storage-tests March 12, 2024 21:44 — with GitHub Actions Inactive
@genexusbot
Copy link
Collaborator

Cherry pick to beta success

@claudiamurialdo claudiamurialdo temporarily deployed to external-storage-tests March 12, 2024 22:09 — with GitHub Actions Inactive
@genexusbot
Copy link
Collaborator

Cherry pick to beta success

…stency with other keys, such as HTTPCLIENT_MAX_PER_ROUTE
@claudiamurialdo claudiamurialdo temporarily deployed to external-storage-tests March 13, 2024 12:36 — with GitHub Actions Inactive
ggallotti
ggallotti previously approved these changes Mar 13, 2024
Copy link
Member

@ggallotti ggallotti left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

🚀

Ignore cookies in container that are invalid for the current url.
@genexusbot
Copy link
Collaborator

Cherry pick to beta success

… no HasFormContentType.

Use async operations when possible for httpclient
connectionProperties was not caching empty values
@claudiamurialdo claudiamurialdo temporarily deployed to external-storage-tests March 19, 2024 22:45 — with GitHub Actions Inactive
@genexusbot
Copy link
Collaborator

Cherry pick to beta failed, 1 conflicted file in commit 4f77cb3
  • dotnet/src/dotnetframework/GxClasses/Helpers/GXRestAPIClient.cs

@genexusbot genexusbot added the conflict Conflict merging to beta branch label Mar 19, 2024
@genexusbot
Copy link
Collaborator

Manual cherry pick to beta success

@genexusbot genexusbot removed the conflict Conflict merging to beta branch label Mar 19, 2024
Enable Microsoft.VisualStudio.Threading.Analyzers
@genexusbot genexusbot removed the conflict Conflict merging to beta branch label Mar 26, 2024
@genexusbot
Copy link
Collaborator

Manual revert to beta success

@genexusbot genexusbot added the conflict Conflict merging to beta branch label Mar 26, 2024
@genexusbot
Copy link
Collaborator

Manual revert to beta success

ggallotti
ggallotti previously approved these changes Apr 1, 2024
@claudiamurialdo claudiamurialdo removed the conflict Conflict merging to beta branch label Apr 2, 2024
…the ServicePointManager.ServerCertificateValidationCallback may change after the first handler has been created. Therefore, subsequent calls cannot reuse the same handler.
@genexusbot
Copy link
Collaborator

Cherry pick to beta failed, 3 conflicted files in commit 4f77cb3
  • dotnet/src/dotnetcore/GxClasses.Web/Middleware/HandlerFactory.cs
  • dotnet/src/dotnetframework/GxClasses/Helpers/GXRestAPIClient.cs
  • dotnet/src/dotnetframework/GxClasses/Middleware/GXHttp.cs

@claudiamurialdo claudiamurialdo temporarily deployed to external-storage-tests April 4, 2024 19:36 — with GitHub Actions Inactive
@genexusbot genexusbot added the conflict Conflict merging to beta branch label Apr 4, 2024
@genexusbot
Copy link
Collaborator

Manual cherry pick to beta success

@genexusbot
Copy link
Collaborator

Cherry pick to beta failed, 1 conflicted file in commit cd6c42e
  • dotnet/src/dotnetframework/GxClasses/Domain/GxHttpClient.cs

@genexusbot
Copy link
Collaborator

Manual cherry pick to beta success

@genexusbot
Copy link
Collaborator

Cherry pick to beta failed, 1 conflicted file in commit c855419
  • dotnet/src/dotnetframework/GxClasses/GlobalSuppressions.cs

@genexusbot
Copy link
Collaborator

Manual cherry pick to beta success

@genexusbot
Copy link
Collaborator

Cherry pick to beta success

@genexusbot genexusbot removed the conflict Conflict merging to beta branch label Apr 4, 2024
@claudiamurialdo claudiamurialdo temporarily deployed to external-storage-tests April 4, 2024 22:26 — with GitHub Actions Inactive
@genexusbot
Copy link
Collaborator

Cherry pick to beta success

@genexusbot
Copy link
Collaborator

Cherry pick to beta success

@claudiamurialdo claudiamurialdo temporarily deployed to external-storage-tests April 5, 2024 14:46 — with GitHub Actions Inactive
@claudiamurialdo claudiamurialdo temporarily deployed to external-storage-tests April 5, 2024 20:50 — with GitHub Actions Inactive
@genexusbot
Copy link
Collaborator

Cherry pick to beta success

@claudiamurialdo claudiamurialdo merged commit 39ae59f into master Apr 11, 2024
@claudiamurialdo claudiamurialdo deleted the httpclient-singleton branch April 11, 2024 14:23
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants