nim-libp2p/libp2p
Tanguy Cizain af3be7966b
Websocket Transport (#593)
* start of websocket transport

* more ws tests

* switch to common test

* add close to wsstream

* update ws & chronicles version

* cleanup

* removed multicodec

* clean ws outgoing connections

* renamed to websock

* removed stream from logs

* renamed ws to websock

* add connection closing test to common transport

* close incoming connection on ws stop

* renamed testwebsocket.nim -> testwstransport.nim

* removed raise todo

* split out/in connections

* add wss to tests

* Fix tls (#608)

* change log level

* fixed issue related to stopping

some cosmetic cleanup

* use `allFutures` to stop/close things

Prevent potential race conditions when stopping two or more transports

* misc

* point websock to server-case-object branch

* interop test with go

* removed websock version specification

* add daemon -> native ws test

* fix & test closed read/write

* update readOnce, thanks jangko

Co-authored-by: Dmitriy Ryajov <dryajov@gmail.com>
2021-08-03 15:48:03 +02:00
..
crypto Debt: cleanup warnings #426 (#536) 2021-02-25 09:24:49 -06:00
daemon add base exception class and fix hierarchy 2021-06-02 12:24:04 -06:00
muxers Muxer bandwidth metrics (#607) 2021-07-26 16:12:36 +02:00
protobuf Add `libp2p_dump` and `libp2p_dump_dir` compiler time options. (#359) 2020-09-15 11:16:43 +02:00
protocols Identify Push (#587) 2021-06-14 11:08:47 -06:00
stream Muxer bandwidth metrics (#607) 2021-07-26 16:12:36 +02:00
transports Websocket Transport (#593) 2021-08-03 15:48:03 +02:00
upgrademngrs Peer Store implement part II (#586) 2021-06-08 18:55:24 +02:00
utils adding raises defect across the codebase (#572) 2021-05-21 10:27:01 -06:00
builders.nim Websocket Transport (#593) 2021-08-03 15:48:03 +02:00
cid.nim fix peer score accumulation (#541) 2021-03-09 13:22:52 +01:00
connmanager.nim Peer Store implement part II (#586) 2021-06-08 18:55:24 +02:00
debugutils.nim fix debugutils (#423) 2020-11-04 19:56:28 -06:00
dial.nim merge latest master 2021-06-02 12:25:36 -06:00
dialer.nim merge latest master 2021-06-02 12:25:36 -06:00
errors.nim use LPError more consistently (#582) 2021-06-02 15:39:10 +02:00
multiaddress.nim Websocket Transport (#593) 2021-08-03 15:48:03 +02:00
multibase.nim fix peer score accumulation (#541) 2021-03-09 13:22:52 +01:00
multicodec.nim fix peer score accumulation (#541) 2021-03-09 13:22:52 +01:00
multihash.nim fix peer score accumulation (#541) 2021-03-09 13:22:52 +01:00
multistream.nim Muxer bandwidth metrics (#607) 2021-07-26 16:12:36 +02:00
peerid.nim clean up peerid (#470) 2020-12-03 13:53:16 -06:00
peerinfo.nim use LPError more consistently (#582) 2021-06-02 15:39:10 +02:00
peerstore.nim Peer Store implement part II (#586) 2021-06-08 18:55:24 +02:00
standard_switch.nim More builders (#560) 2021-04-06 14:16:23 -06:00
switch.nim Peer Store implement part II (#586) 2021-06-08 18:55:24 +02:00
transcoder.nim add side effect annotations (#197) 2020-06-01 09:25:16 +02:00
utility.nim now wild `except:` 2021-03-15 16:48:11 +09:00
varint.nim use stew/leb128 (#481) 2020-12-15 12:15:22 -06:00
vbuffer.nim make `isLiteral` compatible with ARC and ORC (#602) 2021-07-01 12:05:50 +02:00
wire.nim Websocket Transport (#593) 2021-08-03 15:48:03 +02:00