You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
When getting the MSI token in the AzureADAuthenticator class, the response gets chunked if the token size crosses more than 2048. This returns a header transfer-encoding: chunked instead of content-length. The code is written so that it only relies on content-length if available. This should be changed and transfer-encoding: chunked should also be accepted.
The text was updated successfully, but these errors were encountered:
favoretti
added a commit
to favoretti/azure-data-lake-store-java
that referenced
this issue
Nov 13, 2024
In some cases, token returned exceeds 2048 bytes and is returned as
chunked, in which case Content-length is set to 0.
`getInputStream()` handles chunked contents gracefully, but the check
for the Content-length to 0 breaks the use-case.
Also, if the HTTP ersponse code isn't 200, we want to log all of the
output instead of chopping it off at 1024 bytes.
FixesAzure#63
When getting the MSI token in the AzureADAuthenticator class, the response gets chunked if the token size crosses more than 2048. This returns a header transfer-encoding: chunked instead of content-length. The code is written so that it only relies on content-length if available. This should be changed and transfer-encoding: chunked should also be accepted.
The text was updated successfully, but these errors were encountered: