Christian Schwarz
bcb5965617
[ #307 ] rpc: proper handling of context cancellation for transportmux + dataconn
...
- prior to this patch, context cancellation would leave rpc.Server open
- did not make problems because context was only cancelled by SIGINT,
which was immediately followed by os.Exit
2020-05-18 19:46:24 +02:00
Bruce Smith
2fbd9d8f8c
transport/tcp: support for CIDR-mask based ACLs + client-identities
...
Co-authored-by: Christian Schwarz <me@cschwarz.com>
fixes #235
close #265
2020-05-15 21:17:01 +02:00
InsanePrawn
44bd354eae
Spellcheck all files
...
Signed-off-by: InsanePrawn <insane.prawny@gmail.com>
2020-02-24 16:06:09 +01:00
Christian Schwarz
02b3b4f80c
fix some typos
2020-02-17 18:02:04 +01:00
Juergen Hoetzel
d35e2400b2
transport/{TCP,TLS}: optional IP_FREEBIND / IP_BINDANY bind socketops
...
Allows to bind to an address even if it is not actually (yet or ever)
configured. Fixes #238
Rationale:
https://www.freedesktop.org/wiki/Software/systemd/NetworkTarget/#whatdoesthismeanformeadeveloper
2020-01-04 17:21:48 +01:00
Christian Schwarz
5c95c21727
transport/local: configurable dial_timeout for connect, default 2s
2019-09-29 19:05:54 +02:00
Christian Schwarz
2cd9173bfb
transport/local: hard fail, more aggressive connect timeout
2019-09-14 13:43:46 +02:00
Christian Schwarz
b5dc04e62c
transport/local: fix "client-provided callback did block on send" crash
...
fixes #173
(amendment of 0e419c11df2bc45feb6edb7d82a309b0fe174875)
2019-06-29 11:49:16 +02:00
Christian Schwarz
5b97953bfb
run golangci-lint and apply suggested fixes
2019-03-27 13:12:26 +01:00
Christian Schwarz
afed762774
format source tree using goimports
2019-03-22 19:41:12 +01:00
Christian Schwarz
796c5ad42d
rpc rewrite: control RPCs using gRPC + separate RPC for data transfer
...
transport/ssh: update go-netssh to new version
=> supports CloseWrite and Deadlines
=> build: require Go 1.11 (netssh requires it)
2019-03-13 13:53:48 +01:00