<!DOCTYPE html><html><head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8">
</head>
<body>
On 29/10/2023 18:55, robert engels wrote:<br>
<blockquote type="cite" cite="mid:F8B463F4-A3BD-4BA8-80C4-06F255FA5683@ix.netcom.com">
<div style="word-wrap: break-word; -webkit-nbsp-mode: space; line-break: after-white-space;" class="">
<div style="word-wrap: break-word; -webkit-nbsp-mode: space; line-break: after-white-space;" class="">Hi all,
<div class=""><br class="">
</div>
<div class="">Posting here as I think this could be of
interest to many that follow this group.</div>
<div class=""><br class="">
</div>
<div class="">I released a <a href="https://github.com/robaho/httpserver" class="" moz-do-not-send="true">new project</a> that is a http
server designed for virtual threads. No async. Simply supply
a virtual thread based ExecutorService. It is based on the
JDK httpserver and adds websocket support based on
nanohttpd.</div>
<div class=""><br class="">
</div>
<div class="">Feel free to ask any questions.</div>
<br>
</div>
</div>
</blockquote>
When you say "based on the JDK httpserver", do you mean it uses, or
you have forked, the jdk.httpserver code? Just curious what you had
to do as HttpServer::setExecutor can already be used to have it
create a virtual thread per each HTTP request. We have a few JDK
tests that do that to make sure it works.<br>
<br>
-Alan<br>
</body>
</html>