File tree Expand file tree Collapse file tree 2 files changed +3
-5
lines changed
http-clients/aws-crt-client/src/main/java/software/amazon/awssdk/http/crt Expand file tree Collapse file tree 2 files changed +3
-5
lines changed Original file line number Diff line number Diff line change 54
54
import software .amazon .awssdk .utils .AttributeMap ;
55
55
import software .amazon .awssdk .utils .IoUtils ;
56
56
import software .amazon .awssdk .utils .Logger ;
57
- import software .amazon .awssdk .utils .NumericUtils ;
58
57
import software .amazon .awssdk .utils .Validate ;
59
58
60
59
/**
@@ -160,7 +159,7 @@ private HttpClientConnectionManager createConnectionPool(URI uri) {
160
159
.withSocketOptions (socketOptions )
161
160
.withTlsContext (tlsContext )
162
161
.withUri (uri )
163
- .withWindowSize (NumericUtils . saturatedCast ( readBufferSize ) )
162
+ .withWindowSize (readBufferSize )
164
163
.withMaxConnections (maxConnectionsPerEndpoint )
165
164
.withManualWindowManagement (true )
166
165
.withProxyOptions (proxyOptions )
@@ -273,8 +272,7 @@ public interface Builder extends SdkAsyncHttpClient.Builder<AwsCrtAsyncHttpClien
273
272
* client before we stop reading from the underlying TCP socket and wait for the Subscriber
274
273
* to read more data.
275
274
*
276
- * @param readBufferSize The number of bytes that can be buffered. The maximum buffering size value is
277
- * capped at {@code Integer.MAX}.
275
+ * @param readBufferSize The number of bytes that can be buffered.
278
276
* @return The builder of the method chaining.
279
277
*/
280
278
Builder readBufferSizeInBytes (Long readBufferSize );
Original file line number Diff line number Diff line change 114
114
<rxjava .version>2.2.21</rxjava .version>
115
115
<commons-codec .verion>1.10</commons-codec .verion>
116
116
<jmh .version>1.29</jmh .version>
117
- <awscrt .version>0.21.4 </awscrt .version>
117
+ <awscrt .version>0.21.5 </awscrt .version>
118
118
119
119
<!-- Test dependencies -->
120
120
<junit5 .version>5.8.1</junit5 .version>
You can’t perform that action at this time.
0 commit comments