ceenhttpd icon indicating copy to clipboard operation
ceenhttpd copied to clipboard

Linux support

Open MarcellVokk opened this issue 7 months ago • 2 comments

Hi!

Does this library support linux? I can't seem to get it working...

My code

var httpConfig = new ServerConfig()
.AddRoute(new HttpRequestHandler());

var httpsConfig = new ServerConfig()
.AddRoute(new HttpRequestHandler());
httpsConfig.LoadCertificate(@"./bfmeladdercom.pfx", "4j4k0c2c");

HttpServerTask = HttpServer.ListenAsync(
    new IPEndPoint(IPAddress.Any, 80),
    false,
    httpConfig
);

HttpsServerTask = HttpServer.ListenAsync(
    new IPEndPoint(IPAddress.Any, 443),
    true,
    httpsConfig
);

No requests are being received by HttpRequestHandler...

Publish/build config Screenshot 2024-01-04 083209

Any help would be apreciated!

MarcellVokk avatar Jan 04 '24 07:01 MarcellVokk