uNetworking / uWebSockets.js

μWebSockets for Node.js back-ends :metal:
Apache License 2.0
7.95k stars 570 forks source link

H3App: segmentation fault #1019

Closed jimmywarting closed 2 months ago

jimmywarting commented 7 months ago

Whenever i try the H3App i get a "segmentation fault"... some kind of unexpected token...

it crash the application and exit...

system: (Mac pro M1) darwin arm64 (Node) v21.5.0

// uWS.H3App({
uWS.SSLApp({
  key_file_name: './cert/key.pem',
  cert_file_name: './cert/cert.pem'
}).get('/*', (res, req) => {
  res.end('Nothing to see here!');
}).listen(3443, (token) => {
  // ...
})

The SSLApp works fine... do i need to generate a other http3 specific cert for it to work?

uNetworkingAB commented 7 months ago

HTTP3 support is experimental and not prioritized right now

uNetworkingAB commented 2 months ago

https://github.com/uNetworking/uWebSockets.js/issues/1086

uNetworkingAB commented 2 months ago

This is a compilation issue, we need to properly cross-compile lsquic on macos