Page 1 of 1

Civetweb bootstrap use with C instead of lua or javascript

Posted: Tue Nov 14, 2023 11:53 pm
by alister
I'm investigating CivetWeb as a Java Web server alternative. I'm intending on using the web services integration toolkit to generate wrapper "thunks" for existing services, then call them from C handler functions from CivetWeb.

I can see that CIVETWEB$ROOT:lib has
CIVETWEB$ROOT:[000000.lib]civetweb$shr.exe;1

I've been able to confirm using analyze/image that this is a shareable image, so to my mind a library :D

So:
- Can anyone share code or configuration for using it ? i.e not adding lua or javascript handlers, but linking the shareable executable to C handlers. I can see in the htdocs directory there are lua and javascript examples, but nothing for C
- At the moment i am intending to follow
https://github.com/civetweb/civetweb/bl ... bedding.md. If anyone has experience with the above question then you might be able to help me with whether thats the correct approach ? It looks like i'll need to port the makefile here https://github.com/civetweb/civetweb/bl ... c/Makefile
- If there is a VSI dev in the house, any comments on the the implementation of civetweb for VMS e.g is it using AST's under the hood ? I am replacing some raw socket code that uses AST's and that interrupt driven low CPU wait would be desirable