Add server sent events, change vfs structure, dark mode error pages and dark mode anonydrop

This commit is contained in:
2026-04-30 07:04:45 -05:00
parent c55f0c0f4f
commit 86b062771a
13 changed files with 84 additions and 132 deletions
+2
View File
@@ -739,6 +739,7 @@ namespace Tesses::Framework::Streams {
}
void NetworkStream::SetReusePort(bool reuse)
{
#if !defined(_WIN32)
if(!this->success) return;
int no = reuse ? 1 : 0;
if (NETWORK_SETSOCKOPT(sock, SOL_SOCKET, SO_REUSEPORT, (const char*)&no, sizeof(no)) != 0)
@@ -748,6 +749,7 @@ namespace Tesses::Framework::Streams {
NETWORK_CLOSE(this->sock);
}
#endif
}
void NetworkStream::SetMulticastTTL(uint8_t ttl)
{