am3o
|
acce1f1fd9
|
refactor: change deprecated "io/ioutil" package to recommended "io" package
|
2024-02-17 12:47:22 +01:00 |
|
David Fifield
|
d99f31d881
|
Have encapsulation.ReadData return an error when the buffer is short.
https://gitlab.torproject.org/tpo/anti-censorship/pluggable-transports/snowflake/-/merge_requests/154#note_2919109
Still ignoring the io.ErrShortBuffer at the callers, which retains
current behavior.
|
2023-11-07 05:51:35 +00:00 |
|
David Fifield
|
001f691b47
|
Have encapsulation.ReadData read into a provided buffer.
Instead of unconditionally allocating its own.
|
2023-11-07 05:51:35 +00:00 |
|
David Fifield
|
e851861e68
|
Benchmark for encapsulation.ReadData.
|
2022-11-16 13:48:34 -07:00 |
|
David Fifield
|
a579c969e6
|
encapsulation.paddingBuffer can be statically allocated.
|
2022-11-16 13:48:34 -07:00 |
|
trinity-1686a
|
5ef5142bb0
|
format using go-1.19
|
2022-10-09 21:15:50 +02:00 |
|
David Fifield
|
222ab3d85a
|
Import Turbo Tunnel support code.
Copied and slightly modified from
https://gitweb.torproject.org/pluggable-transports/meek.git/log/?h=turbotunnel&id=7eb94209f857fc71c2155907b0462cc587fc76cc
https://github.com/net4people/bbs/issues/21
RedialPacketConn is adapted from clientPacketConn in
c64a61c6da/obfs4proxy/turbotunnel_client.go
https://github.com/net4people/bbs/issues/14#issuecomment-544747519
|
2020-04-23 14:00:03 -06:00 |
|