Does anyone have context on jdk.httpserver?

robert engels rengels at ix.netcom.com
Tue Jan 7 15:18:29 UTC 2025


Hi,

I would like to revisit this. I have signed the OCA for another PR I worked on - I believe it covers all of my contributions.

The websockets license looks to be very permissive. But it seems like this is something Oracle could reach out to the authors to resolve.

I could also simply create a whiteroom ws impl, as I did for the http2 support - it’s a pretty small surface api.

I am more than willing to work on this, but I need to know what the feasibility is of it actually being included.

Even if the work was limited to “better support for vt”, some of the changes are more extensive (like the SSL handling).

Regards,
Robert

> On Jan 22, 2024, at 3:08 AM, Alan Bateman <Alan.Bateman at oracle.com> wrote:
> 
> On 22/01/2024 08:43, Robert Engels wrote:
>> See github.com/robaho/httpserver  for a more capable fork of the JDK code. 
>> 
>> Would love to create a PR to move the core changes back into the JDK but the net-dev folks don’t seem to be interested   
> 
> As I recall, it wasn't really possible to do any assessment because the "contribution" wasn't covered by the OCA. In addition, I think you said in one of the mails that it includes code from another project (for websocket or HTTP upgrade?) and it's a big deal to have to import and work through the license issues with 3rd party code.
> 
> At a high level it seems reasonable to update the HTTP server implementation to work better with virtual threads but updating it to be a more fully featured HTTP server goes beyond what this HTTP server was/is intended for.
> 
> -Alan
> 
> 



More information about the net-dev mailing list