From ae6ae23075572b53661a432d1e2aec76a7adeed8 Mon Sep 17 00:00:00 2001 From: Mike Nolan Date: Fri, 14 Nov 2025 10:09:22 -0600 Subject: [PATCH] Fix websocket --- src/Http/HttpClient.cpp | 2 +- src/Http/HttpServer.cpp | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/src/Http/HttpClient.cpp b/src/Http/HttpClient.cpp index 0175faf..7387140 100644 --- a/src/Http/HttpClient.cpp +++ b/src/Http/HttpClient.cpp @@ -373,7 +373,7 @@ namespace Tesses::Framework::Http mtx.Lock(); this->closed=true; uint8_t finField = 0b10000000 ; - uint8_t firstByte= finField | 0x9; + uint8_t firstByte= finField | 0x8; strm->WriteByte(firstByte); strm->WriteByte(0); diff --git a/src/Http/HttpServer.cpp b/src/Http/HttpServer.cpp index f4c6f0f..a32bb22 100644 --- a/src/Http/HttpServer.cpp +++ b/src/Http/HttpServer.cpp @@ -40,7 +40,7 @@ namespace Tesses::Framework::Http mtx.Lock(); closed=true; uint8_t finField = 0b10000000 ; - uint8_t firstByte= finField | 0x9; + uint8_t firstByte= finField | 0x8; strm->WriteByte(firstByte); strm->WriteByte(0);