Skip to content

[FEATURE REQ] azure-core, configure for maxHttpSize in Azure HttpClient (target is Netty) #45288

Open
@weidongxu-microsoft

Description

@weidongxu-microsoft

Is your feature request related to a problem? Please describe.

Context: LRO URL is now more than 3KB. Some response contains both location header and azure-asyncoperation header, hence the header size would be near or exceed 8KB.

Default maxHttpSize in Netty is 8KB.
https://projectreactor.io/docs/netty/release/api/reactor/netty/http/HttpDecoderSpec.html#maxHeaderSize

This causes exception in customer, when runtime the header size exceed 8KB.
We had IcM on it. For now, ARM mitigated by shortening the URL.

Describe the solution you'd like

We'd like to have configurable maxHttpSize in Azure HttpClient.

Preferrable also set a default size at e.g. 16KB.

Describe alternatives you've considered
A clear and concise description of any alternative solutions or features you've considered.

Additional context
Add any other context or screenshots about the feature request here.

Information Checklist
Kindly make sure that you have added all the following information above and checkoff the required fields otherwise we will treat the issuer as an incomplete report

  • Description Added
  • Expected solution specified

Metadata

Metadata

Assignees

Labels

Type

No type

Projects

Status

No status

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions