mirror of
https://onedev.site.tesses.net/tesses-framework
synced 2026-02-09 00:05:46 +00:00
Fix websocket
This commit is contained in:
@@ -373,7 +373,7 @@ namespace Tesses::Framework::Http
|
|||||||
mtx.Lock();
|
mtx.Lock();
|
||||||
this->closed=true;
|
this->closed=true;
|
||||||
uint8_t finField = 0b10000000 ;
|
uint8_t finField = 0b10000000 ;
|
||||||
uint8_t firstByte= finField | 0x9;
|
uint8_t firstByte= finField | 0x8;
|
||||||
strm->WriteByte(firstByte);
|
strm->WriteByte(firstByte);
|
||||||
strm->WriteByte(0);
|
strm->WriteByte(0);
|
||||||
|
|
||||||
|
|||||||
@@ -40,7 +40,7 @@ namespace Tesses::Framework::Http
|
|||||||
mtx.Lock();
|
mtx.Lock();
|
||||||
closed=true;
|
closed=true;
|
||||||
uint8_t finField = 0b10000000 ;
|
uint8_t finField = 0b10000000 ;
|
||||||
uint8_t firstByte= finField | 0x9;
|
uint8_t firstByte= finField | 0x8;
|
||||||
strm->WriteByte(firstByte);
|
strm->WriteByte(firstByte);
|
||||||
strm->WriteByte(0);
|
strm->WriteByte(0);
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user