Configure the default WSS endpoint and ISRG Root X2 trust anchor, preserve device authentication, enforce TLS and WebSocket handshake validation, and handle partial I/O and connection cleanup. Add host tests, server probes, package verification and integration documentation. Backend 443 /ws still returns HTTP 404; on-device validation remains pending.
14 lines
779 B
Batchfile
14 lines
779 B
Batchfile
@echo off
|
|
setlocal
|
|
cd /d "%~dp0.."
|
|
if not exist artifacts\wss mkdir artifacts\wss
|
|
where cl >nul 2>nul
|
|
if errorlevel 1 call "C:\Program Files (x86)\Microsoft Visual Studio\18\BuildTools\VC\Auxiliary\Build\vcvars64.bat" >nul
|
|
if errorlevel 1 exit /b 1
|
|
cl /nologo /W4 /WX /D_CRT_SECURE_NO_WARNINGS /TC /Iql-application\threadx\interface\custom_app\inc /Iql-application\threadx\interface\custom_app\lib\librws\inc tools\test_wss.c ql-application\threadx\interface\custom_app\talkingq_wss.c ql-application\threadx\interface\custom_app\lib\librws\src\rws_handshake.c /Foartifacts\wss\ /Feartifacts\wss\test_wss.exe
|
|
if errorlevel 1 exit /b 1
|
|
artifacts\wss\test_wss.exe
|
|
if errorlevel 1 exit /b 1
|
|
ql-cross-tool\win32\owtoolchain\Python\python.exe tools\test_wss_io.py
|
|
exit /b %errorlevel%
|