It's quite painful, so not really an option. We can pass it as an optional attachment to the channel handler, falling back to java.io.tmpdir if it does not exist. Not sure if that would be much better though.

Probably we can just use the domain.tmp.dir instead then, since this is only used for proxying stuff on the host-controllers.