mirror of
https://git.tesses.org/tesses50/tessesframework.git
synced 2026-09-30 08:44:13 +00:00
Fix license compliance and fix things up, add reverse proxy, fix some security flaws with HttpUtils
This commit is contained in:
@@ -53,7 +53,7 @@ class NetworkStream : public Stream {
|
||||
int32_t sock;
|
||||
bool owns;
|
||||
bool success;
|
||||
bool endOfStream;
|
||||
std::atomic<bool> endOfStream;
|
||||
|
||||
public:
|
||||
bool DataAvailable(int timeout = 0);
|
||||
@@ -85,6 +85,9 @@ class NetworkStream : public Stream {
|
||||
|
||||
~NetworkStream();
|
||||
void SetNoDelay(bool noDelay);
|
||||
void Shutdown(StreamShutdownMode mode);
|
||||
void SetSendTimeout(uint64_t seconds);
|
||||
void SetRecvTimeout(uint64_t seconds);
|
||||
void Close();
|
||||
};
|
||||
} // namespace Tesses::Framework::Streams
|
||||
|
||||
Reference in New Issue
Block a user