[Libwebsockets] latest commit breaks DomTerm's http serving
per at bothner.com
Thu Oct 12 06:03:06 CEST 2017
On 10/11/2017 08:16 PM, Andy Green wrote:
> On 10/12/2017 09:03 AM, Per Bothner wrote:
>> ./configure --with-libwebsockets=/path/to/libwebsockets/build --without-qtwebengine --without-java
> I tried this, but I met a couple of problems.
> - lws wants libcap if it exists on your system but the link line
> gcc -I/usr/include/json-c -I./lws-term -I/projects/libwebsockets/build/include -DRESOURCE_DIR='"../share/domterm"' -g -O2 -o ldomterm ldomterm-server.o ldomterm-utils.o ldomterm-protocol.o ldomterm-http.o ldomterm-whereami.o ldomterm-junzip.o /projects/libwebsockets/build/lib/libwebsockets.a -lssl -lcrypto -ljson-c -lpthread -lutil -lz
> didn't include it.
I'm working on a patch for this, but I need to test it more.
> - when I started ./bin/domterm, firefox segfaulted.
Of course if Firefox segfaults, that's a bug in Firefox.
Instead of the --browser flag, you can use --electron (if an electron
executable is in your path), or --browser==chrpme or more generally
--browser=COMMAND for some command thta can be followed by a URL.
per at bothner.com http://per.bothner.com/
More information about the Libwebsockets