Skip to content

v1.8.4

Choose a tag to compare

@mizosoft mizosoft released this 11 Oct 11:55
· 89 commits to master since this release
  • Fixed #129, where streaming large files through WritableBodyPublisher on 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.