pocoproject / poco

The POCO C++ Libraries are powerful cross-platform C++ libraries for building network- and internet-based applications that run on desktop, server, mobile, IoT, and embedded systems.
https://pocoproject.org
Other
8.04k stars 2.11k forks source link

Serving a Static Web Page and NTDDLL Error #4571

Closed ffreality closed 1 month ago

ffreality commented 1 month ago

Hi, this is my Poco based UE5 HTTP Server plugin with FRunnableThread support. I made it open source. So, other developers can use it for their projects. https://github.com/FF-Plugins-Active/FF_HTTP_POCO

But I couldn't figured it out how can I serve a static web page with POCO ? Other libraries like Mongoose, LibHv or LibWebSocket give us some (generally three) parameters to define root folder, static page url 404 page.

Is there any way like this for POCO or should I parse request uri and direct users manually ?

Also sometimes UE5 gives (ntdll.dll) in Access violation reading location 0x0000000000000000. Especially if I don't send response to a request.