Improve proxy server support
authorKirill Isakov <bootctl@gmail.com>
Sun, 24 Apr 2022 19:38:50 +0000 (01:38 +0600)
committerKirill Isakov <bootctl@gmail.com>
Sun, 24 Apr 2022 19:38:50 +0000 (01:38 +0600)
commita5c6c6ea1ab657d83a4d8b064ac9bfa9c16adf63
tree3b1c281a3f03f43f9a9e4822f0185ea19ff35184
parent5a76af7839d3239a16a6a3f9dabe05768799de89
Improve proxy server support

- fix authentication with socks5 proxies
- fix crash in forked process with exec proxy and empty node name
- refactor byte fiddling into structs
- add unit and integration tests
15 files changed:
src/connection.h
src/meson.build
src/meta.c
src/net_socket.c
src/protocol_auth.c
src/protocol_misc.c
src/proxy.c [new file with mode: 0644]
src/proxy.h [new file with mode: 0644]
test/integration/meson.build
test/integration/proxy.py [new file with mode: 0755]
test/integration/testlib/check.py
test/integration/testlib/path.py
test/integration/testlib/template.py
test/unit/meson.build
test/unit/test_proxy.c [new file with mode: 0644]