mirror of
https://onedev.site.tesses.net/tesses-framework
synced 2026-02-08 07:45:46 +00:00
Fix websocket
This commit is contained in:
@@ -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);
|
||||
|
||||
|
||||
@@ -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);
|
||||
|
||||
|
||||
Reference in New Issue
Block a user