]> git.proxmox.com Git - proxmox-backup.git/commit
examples: unify h2 examples
authorFabian Grünbichler <f.gruenbichler@proxmox.com>
Fri, 4 Dec 2020 11:59:34 +0000 (12:59 +0100)
committerFabian Grünbichler <f.gruenbichler@proxmox.com>
Thu, 14 Jan 2021 15:01:33 +0000 (16:01 +0100)
commit19f5aa252fd793d9b8db9ad12fec68a558349b54
tree607d9c71213a82aff90ae35f45ccca927869bbf5
parent89e9134a3f2cb3caebab93b600c26b72655beeb0
examples: unify h2 examples

update them to the new tokio-openssl API and remove socket buffer size
setting - it was removed from the TcpStream API, and is now only
available via TcpSocket (which can in turn be converted to a
TcpListener), but this is not needed for this example.

Signed-off-by: Fabian Grünbichler <f.gruenbichler@proxmox.com>
examples/h2client.rs
examples/h2s-client.rs
examples/h2s-server.rs
examples/h2server.rs