ring

2021-04-21T11:01:27.135600Z

What is the current status of ring 2.0 / ring 2.1? My particular use case is to authenticate a request and use java.nio to serve files out of a zip efficiently, as it stands I need to spawn a thread to run the Files/copy to copy the file out of the zip to the ring output stream. It’d be nice to be able to just return a java.nio.Path (in a zip filesystem) to ring and have it automatically copy it via nio (presumably through SeekableByteChannel) for me. Reading through the threads at https://github.com/ring-clojure/ring/issues/393 it seems nio support is planned after websocket support and slated for ring 2.1, so likely some years off yet, is that right?!

mpenet 2021-04-21T12:23:33.136Z

it's in stasis I think

mpenet 2021-04-21T12:23:57.136500Z

it's mostly a one man show sadly, so not sure when/if it will evolve

mpenet 2021-04-21T12:24:57.137300Z

I am eager to have ring evolve too personally, but wouln't mind ring2 leaving out WS out of the picture

mpenet 2021-04-21T12:25:43.138Z

WS is full of little quirks/details that make it tricky to build a spec that will work nicely/efficiently for everybody (every server impl.) imho