[Author Prev][Author Next][Thread Prev][Thread Next][Author Index][Thread Index]
Re: [tor-bugs] #28726 [Circumvention/Snowflake]: Loosen restrictions on message sizes in WebSocket server
#28726: Loosen restrictions on message sizes in WebSocket server
-------------------------------------+--------------------------
Reporter: dcf | Owner: arlolra
Type: defect | Status: assigned
Priority: Medium | Milestone:
Component: Circumvention/Snowflake | Version:
Severity: Normal | Resolution:
Keywords: | Actual Points:
Parent ID: #31028 | Points:
Reviewer: | Sponsor:
-------------------------------------+--------------------------
Comment (by arlolra):
> A good solution would be to rewrite our WebSocket library to provide a
streaming interface without message buffering, so to investigate whether
other WebSocket libraries like
https://godoc.org/github.com/gorilla/websocket can do it.
[https://github.com/gorilla/websocket/issues/19#issuecomment-37834461 This
comment] seems to suggest that there's no stream API in the package but
that one can be created based on the following code,
https://github.com/zhangpeihao/gowebsocket/blob/master/conn.go#L78-L123
--
Ticket URL: <https://trac.torproject.org/projects/tor/ticket/28726#comment:3>
Tor Bug Tracker & Wiki <https://trac.torproject.org/>
The Tor Project: anonymity online
_______________________________________________
tor-bugs mailing list
tor-bugs@xxxxxxxxxxxxxxxxxxxx
https://lists.torproject.org/cgi-bin/mailman/listinfo/tor-bugs