Pierre Krieger 294310cd07
Rewrite multiplex (#261)
* Rewrite multiplex

* Increase the packet size limit to 32 MB

* Fix waiting for poll_complete to finish

* Typo

* Properly close substreams

* Add a limit to the number of substreams

* Add a limit to the length of the internal buffer

* Fix concerns
2018-07-17 16:31:32 +02:00
..
2018-07-17 16:31:32 +02:00
2018-07-17 16:31:32 +02:00
2018-07-17 16:31:32 +02:00
2018-07-17 16:31:32 +02:00
2018-07-17 16:31:32 +02:00
2018-07-16 12:15:27 +02:00

How the keys were generated

The keys used in the examples were generated like this:

openssl genrsa -out private.pem 2048
openssl rsa -in private.pem -outform DER -pubout -out public.der
openssl pkcs8 -in private.pem -topk8 -nocrypt -out private.pk8
rm private.pem      # optional