I was playing around with the code a little bit and managed to compile working web server strip naked from conf file & GUI stuff. (code attached)
Now trying to merge websocket example code into server, come into the mind that using "handle_request" function probably is not a good idea to delegate websocket traffic to external CGI application.
What would be the best solution? Enhance the "handle_request" code or try to use "handle_cgi_request" or writing pipe related things from scratch ( probably worst idea ) ?
Prescription would be good...