n0-computer / dumbpipe

https://dumbpipe.dev
Other
107 stars 9 forks source link

Allow specifying a custom ALPN #15

Closed rklaehn closed 9 months ago

rklaehn commented 9 months ago

This way you can e.g. use dumbpipe to test iroh-bytes using bash scripts and predefined request files.

You have full control of every single byte that flows over the socket. The downside is that you have to write some kind of handshake yourself from the connect side, otherwise the listen side won't even be aware of you.

@ribasushi this one is for you (and also for me so I can write a nice TCK for iroh-bytes protocol implementers... )