I'm trying to use HttpObjectAggregator
with latest aleph (0.4.6) but as soon as I add it to the pipeline (through :pipeline-transform
handler), it gets stuck and I receive a "connection was closed after 5.140 seconds" (https://github.com/ztellman/aleph/blob/f6b88aa0ccc280c36cb857e17b270bb67aaeb527/src/aleph/http/client.clj#L495). Here is how I add it to the pipeline:
(.addAfter pipeline "http-client" "aggregator" (HttpObjectAggregator. (* 5 1024 1024))