mirror of
https://github.com/XRPLF/rippled.git
synced 2026-06-03 08:46:46 +00:00
adds frame UTF8 validation method
This commit is contained in:
@@ -127,6 +127,7 @@ public:
|
||||
void process_payload();
|
||||
void process_payload2(); // experiment with more efficient masking code.
|
||||
|
||||
bool validate_utf8(uint32_t* state,uint32_t* codep) const;
|
||||
bool validate_basic_header() const;
|
||||
|
||||
void generate_masking_key();
|
||||
@@ -142,4 +143,4 @@ private:
|
||||
|
||||
}
|
||||
|
||||
#endif // WEBSOCKET_FRAME_HPP
|
||||
#endif // WEBSOCKET_FRAME_HPP
|
||||
|
||||
Reference in New Issue
Block a user