Repository navigation
v1.8.4
-
Fixed #129, where streaming large files through
WritableBodyPublisheron slow networks caused high memory usage. Now the publisher blocks writers when the upload speed can't keep up. Memory usage is bounded according to the expression:int memoryQuota = Integer.getInteger("com.github.mizosoft.methanol.flow.prefetch", 8) * Integer.getInteger("jdk.httpclient.bufsize", 16 * 1024);
Note that this also reflects on
MoreBodyPublishers::ofOutputStream&MoreBodyPublishers::ofWritableByteChannel. -
Fixed #134, where the system language affected how HTTP dates were formatted.