mirror of
https://github.com/1f349/dendrite.git
synced 2024-11-25 21:21:35 +00:00
8bc5084d8d
* p2p: Use JSServer for comms rather than GoJsConn This has several benefits: - it fixes a bug whereby you could not transmit >4k bytes to/from JS/Go land. - it more clearly exposes the interface point between Go and JS: a single global function call. - it presents a nicer API shape than the previous `net.Conn`. - it doesn't needlessly 'stream' data which is already sitting in-memory. This is currently only active for local CS API traffic, another PR will add Federation P2P support. * Typo |
||
---|---|---|
.. | ||
jsServer.go | ||
keyfetcher.go | ||
main_noop.go | ||
main.go |