Added HTTP/2 limitation of SVR.JS on Bun

This commit is contained in:
Dorian Niemiec 2024-04-03 09:12:05 +02:00
parent 89ad4682ce
commit d3425ed66a

View file

@ -224,6 +224,7 @@ However, SVR.JS on Bun currently has these limitations:
* WebSocket requests are not supported (via _req.socket_ API).
* There is just one worker process (Bun 1.0 and later; due to _cluster_ module not being implemented in Bun; SVR.JS shims the cluster module, but ports aren't shared in Bun 1.0 and later).
* PBKDF2 function blocks the event loop, which may cause denial of service.
* HTTP/2 is not supported (because Bun didn't implement HTTP/2 server in _http2_ module yet)
## Configuration