mirror of
https://gitlab.torproject.org/tpo/anti-censorship/pluggable-transports/snowflake.git
synced 2025-10-14 05:11:19 -04:00
refactor message boundary constrains
This commit is contained in:
parent
33b3891648
commit
1ba58c864d
6 changed files with 10 additions and 27 deletions
|
@ -41,6 +41,8 @@ func (conn *Conn) SetDeadline(t time.Time) error {
|
|||
return err
|
||||
}
|
||||
|
||||
func (conn *Conn) MessageBoundaryPreserved() {}
|
||||
|
||||
func readLoop(w io.Writer, ws *websocket.Conn) error {
|
||||
var buf [2048]byte
|
||||
for {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue