Skip to content

Commit 339f6b4

Browse files
authored
Merge branch 'main' into mw-rest5
2 parents 485f73b + 9adeb78 commit 339f6b4

File tree

3 files changed

+6
-2
lines changed

3 files changed

+6
-2
lines changed

docs/reference/release-highlights.md

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -26,6 +26,10 @@ To view release notes for earlier versions, use the version dropdown in the top
2626

2727
### Recent releases
2828

29+
#### 8.19 [_version_8_19]
30+
31+
[Release notes](https://www.elastic.co/guide/en/elasticsearch/client/java-api-client/8.19/release-highlights.html)
32+
2933
#### 8.18 [_version_8_18]
3034

3135
[Release notes](https://www.elastic.co/guide/en/elasticsearch/client/java-api-client/8.18/release-highlights.html)

docs/release-notes/index.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,5 +13,5 @@ To check for security updates, go to [Security announcements for the Elastic sta
1313
## 9.0.0
1414
[Release notes](../release-notes/9-0-0.md)
1515

16-
## 9.0.1
16+
## 9.1.0
1717
[Release notes](../release-notes/9-1-0.md)

java-client/src/main/java/co/elastic/clients/transport/rest5_client/low_level/BufferedByteConsumer.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -55,7 +55,7 @@ protected int capacityIncrement() {
5555

5656
@Override
5757
protected void data(final ByteBuffer src, final boolean endOfStream) throws ContentTooLongException {
58-
if (src.capacity() > limit) {
58+
if (buffer.length() + src.limit() > limit) {
5959
throw new ContentTooLongException(
6060
"entity content is too long [" + src.capacity() + "] for the configured buffer limit [" + limit + "]"
6161
);

0 commit comments

Comments
 (0)