mirror of
https://github.com/SoftEtherVPN/SoftEtherVPN.git
synced 2025-09-19 09:49:21 +03:00
Cedar: move buffer limit handling from ProtoHandleConnection() to protocol implementation
This allows greater control, required by SSTP: the limit only applies to data packets.
This commit is contained in:
@ -30,7 +30,6 @@ typedef struct PROTO_IMPL
|
||||
bool (*IsPacketForMe)(const PROTO_MODE mode, const UCHAR *data, const UINT size);
|
||||
bool (*ProcessData)(void *param, TCP_RAW_DATA *in, FIFO *out);
|
||||
bool (*ProcessDatagrams)(void *param, LIST *in, LIST *out);
|
||||
void (*BufferLimit)(void *param, const bool reached);
|
||||
} PROTO_IMPL;
|
||||
|
||||
typedef struct PROTO_SESSION
|
||||
|
Reference in New Issue
Block a user