Civetweb bootstrap use with C instead of lua or javascript

Talk about commercial or opensource products that already exist for OpenVMS or may be available in the future.
Post Reply

Topic author
alister
Contributor
Posts: 16
Joined: Fri Sep 29, 2023 3:00 am
Reputation: 0
Status: Offline

Civetweb bootstrap use with C instead of lua or javascript

Post by alister » Tue Nov 14, 2023 11:53 pm

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
Last edited by alister on Wed Nov 15, 2023 12:33 am, edited 2 times in total.

Post Reply