Fork me on GitHub
#pedestal
<
2023-10-05
>
hlship18:10:33

We're continuing to have trouble updating the SSL support for Tomcat; the API is quite different between 9 and 10 and this is a big distraction from all the more interesting things we'd like to be working on. Does anyone here have a goo d understanding of SSL support in Tomcat?

isak23:10:59

If anyone wants to try https://helidon.io/nima, the new loom webserver from oracle, we have a first draft of a pedestal adapter here: https://github.com/xledger/pedestal-helidon/ (This is just pasted and adapted from @mpenet’s https://github.com/mpenet/mina)

👍 4
metal 4
1
mpenet05:10:10

you should be able to make it way more minimal. :handler is wired via server options, which is just a multimethod. You could just create a :pedestal-handler mm that does what you need and not have to fork the whole project that way.

mpenet05:10:50

I was planning on doing just that for grpc and websocket

isak14:10:40

Ah very cool, I'll try switching to that approach

mpenet14:10:11

I just updated it to helidon 4 rc1 btw

👍 1
isak15:10:47

Unforked a lot of it now: https://github.com/xledger/pedestal-helidon/commit/7f6e21043fc894e1021955e297d132b04742485b I left the modified request/context adapter, since I don't think there is a way to use the one from mina without loosing some of the nice perf stuff you added.

👌 2
hifumi12322:10:20

is there a reason for deploying a SNAPSHOT2? it should be sufficient to redeploy the SNAPSHOT since these are by definition mutable and maven / leiningen / etc will constantly pull in the latest version of the SNAPSHOT

isak14:10:13

Ah, I didn't know I could redeploy them