avaje-jex icon indicating copy to clipboard operation
avaje-jex copied to clipboard

Start Http3

Open SentryMan opened this issue 3 weeks ago • 8 comments

initial draft of Http3.

part of #46

relies on https://github.com/ptrd/flupke/issues/18 and https://github.com/ptrd/flupke/issues/17

SentryMan avatar Nov 06 '25 17:11 SentryMan

@mechite what do you think of this so far

SentryMan avatar Nov 07 '25 20:11 SentryMan

Remember that jex exclusively uses virtual threads so that we can avoid needing to implement any async stuff

SentryMan avatar Nov 08 '25 01:11 SentryMan

exclusively uses virtual threads

right.. didn't know that. you learn something new every day

mechite avatar Nov 08 '25 01:11 mechite

You can put in a manual override to use a regular executor, but the whole thing was designed with virtual threads in mind

SentryMan avatar Nov 08 '25 01:11 SentryMan

random question... is the .impl package preferred here?

in Avaje projects the pattern I picked up was either — same package, public interface SomeInterface ... & final ... DSomeInterface ..., ...or with a "subpackage" named .core for implementations

(I don't care — but consistency is gold)

mechite avatar Nov 08 '25 05:11 mechite

consider me baffled, these transport tests are so flaky

SentryMan avatar Nov 08 '25 21:11 SentryMan

this might be the fabled udp unreliability, I can't tell if it's a client or server issue, given the total lack of java webtransport clients in the ecosystem.

SentryMan avatar Nov 09 '25 02:11 SentryMan

I think I get it, it was sending the data frames before the ssl frames, so just need a delay before sending data.

EDIT: apparently it was something else

SentryMan avatar Nov 09 '25 04:11 SentryMan

after https://github.com/ptrd/flupke/issues/29 is resolved we should be good to go

SentryMan avatar Nov 25 '25 20:11 SentryMan

@rbygrave I'm good with this

SentryMan avatar Nov 28 '25 00:11 SentryMan