You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@hc.apache.org by GitBox <gi...@apache.org> on 2022/11/01 22:40:48 UTC
[GitHub] [httpcomponents-core] andersjaensson opened a new pull request, #373: Make it possible to read chunked entities with maxResultLength
andersjaensson opened a new pull request, #373:
URL: https://github.com/apache/httpcomponents-core/pull/373
This makes it possible to read more than 4096 bytes of a `HttpEntity` with `EntityUtils.toByteArray` when you provide a `maxResultLength`, even if the entity doesn't have a content-length set (for example chunked).
It now reads the stream in a simliar way as `toCharArrayBuffer`.
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: dev-unsubscribe@hc.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@hc.apache.org
For additional commands, e-mail: dev-help@hc.apache.org
[GitHub] [httpcomponents-core] ok2c commented on pull request #373: Make it possible to read chunked entities with maxResultLength
Posted by GitBox <gi...@apache.org>.
ok2c commented on PR #373:
URL: https://github.com/apache/httpcomponents-core/pull/373#issuecomment-1300180857
@andersjaensson 5.2.x is about to go GA and 5.1.x is about to get discontinued. I would not bother with a backport unless you insist.
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: dev-unsubscribe@hc.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@hc.apache.org
For additional commands, e-mail: dev-help@hc.apache.org
[GitHub] [httpcomponents-core] andersjaensson commented on pull request #373: Make it possible to read chunked entities with maxResultLength
Posted by GitBox <gi...@apache.org>.
andersjaensson commented on PR #373:
URL: https://github.com/apache/httpcomponents-core/pull/373#issuecomment-1301712756
@ok2c I would love to have it in a 5.1 release as soon as possible, since that is what we're using in production, but I'll leave that decision to you :)
When do you think there will be a 5.2.x GA?
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: dev-unsubscribe@hc.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@hc.apache.org
For additional commands, e-mail: dev-help@hc.apache.org
[GitHub] [httpcomponents-core] ok2c commented on pull request #373: Make it possible to read chunked entities with maxResultLength
Posted by GitBox <gi...@apache.org>.
ok2c commented on PR #373:
URL: https://github.com/apache/httpcomponents-core/pull/373#issuecomment-1302038431
@andersjaensson I back-ported your changes to 5.1.x. Please note, though. 5.1 release will take place _after_ the 5.2 GA
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: dev-unsubscribe@hc.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@hc.apache.org
For additional commands, e-mail: dev-help@hc.apache.org
[GitHub] [httpcomponents-core] andersjaensson commented on pull request #373: Make it possible to read chunked entities with maxResultLength
Posted by GitBox <gi...@apache.org>.
andersjaensson commented on PR #373:
URL: https://github.com/apache/httpcomponents-core/pull/373#issuecomment-1299929519
@ok2c thanks for merging this, do you think it makes sense to backport to 5.1?
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: dev-unsubscribe@hc.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@hc.apache.org
For additional commands, e-mail: dev-help@hc.apache.org
[GitHub] [httpcomponents-core] ok2c merged pull request #373: Make it possible to read chunked entities with maxResultLength
Posted by GitBox <gi...@apache.org>.
ok2c merged PR #373:
URL: https://github.com/apache/httpcomponents-core/pull/373
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: dev-unsubscribe@hc.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@hc.apache.org
For additional commands, e-mail: dev-help@hc.apache.org