Skip to content
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

[Client encryption]: Fixes handling of escaped utf8 strings in StreamProcessor #4871

Open
wants to merge 7 commits into
base: master
Choose a base branch
from

Conversation

JanHyka
Copy link
Contributor

@JanHyka JanHyka commented Nov 6, 2024

Pull Request Template

Description

  • StreamProcessor now correctly handles escaped utf8 values in property names and values where applicable.
  • Unit test extended to cover non ASCII characters cases
  • Small cleanup in StreamProcessor (Shared code between encryptor and decryptor is in separate file)
  • Reduce allocations on StreamProcessor

Note change in benchmark hardware, actual difference before and after change:
image

Type of change

Please delete options that are not relevant.

  • [] Bug fix (non-breaking change which fixes an issue)
  • [] New feature (non-breaking change which adds functionality)

Closing issues

Contributes to #4678

+ test coverage
+ reduce excessive string allocations on encryption path
@JanHyka
Copy link
Contributor Author

JanHyka commented Nov 6, 2024

@microsoft-github-policy-service agree

@kirankumarkolli
Copy link
Member

/azp run

Copy link

Azure Pipelines successfully started running 1 pipeline(s).

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants