[Libwebsockets] latest commit breaks DomTerm's http serving

Andy Green andy at warmcat.com
Wed Oct 25 04:40:04 CEST 2017



On 10/18/2017 03:16 AM, Per Bothner wrote:
> On 10/17/2017 02:33 AM, Andy Green wrote:
> 
>> Now I released 2.4 I have some time to look at it again.
> 
> Much appreciated.
> 
>> Although several other new deathmatches appeared immediately.
> 
> I'm in no hurry.  The --enable-compiled-in-resources option works fine.

Can you help me understand what should be needed to reproduce this?

I can build current domterm (after a git pull) with

$ PKG_CONFIG_PATH=/usr/local/lib/pkgconfig/ ./configure
$ make && sudo make install

FFOX 57 doesn't crash, he brings up

file:///home/agreen/.domterm/default.html#connect-pid=9099

but it is empty.  The source is

<!DOCTYPE html>
<html><head>
<base href='http://localhost:40725/'/>
<meta http-equiv='Content-Type' content='text/html; charset=UTF-8'>
<title>DomTerm</title>
<link type='text/css' rel='stylesheet' href='hlib/domterm-core.css'>
<link type='text/css' rel='stylesheet' href='hlib/domterm-standard.css'>
<link type='text/css' rel='stylesheet' href='hlib/goldenlayout-base.css'>
<link type='text/css' rel='stylesheet' href='hlib/domterm-layout.css'>
<link type='text/css' rel='stylesheet' href='hlib/domterm-default.css'>
<script type='text/javascript' src='hlib/domterm-all.js'> </script>
<script type='text/javascript'>
DomTerm.server_port = 40725;
DomTerm.server_key = 'Q0lQtMmU9_FuTCgMidXi';
if (DomTerm.isElectron()) {
     window.nodeRequire = require;
     delete window.require;
     delete window.exports;
     delete window.module;
}
</script>
<script type='text/javascript' src='hlib/jquery.min.js'> </script>
<script type='text/javascript' src='hlib/goldenlayout.js'> </script>
<script type='text/javascript' src='hlib/domterm-layout.js'> </script>
<script type='text/javascript' src='hlib/domterm-menus.js'> </script>
<script type='text/javascript' src='hlib/domterm-client.js'> </script>
</head>
<body></body>
</html>

-Andy



More information about the Libwebsockets mailing list