lthibault / quic-mangos

A QUIC transport for mangos (scalability protocols) written in pure Go
Apache License 2.0
24 stars 2 forks source link

build error #4

Closed wllenyj closed 6 years ago

wllenyj commented 6 years ago

lthibault/quic-mangos/listener.go:31:13: undefined: ctx.Lift

lthibault commented 6 years ago

Should be fixed -- thanks!

We recently changed the public API of github.com/SentimensRG/ctx. ctx.Lift was replaced with ctx.C.

Out of curiosity, what is your use-case for quic-mangos?

Let me know if you run into any trouble.

wllenyj commented 6 years ago

study :-P

lthibault commented 6 years ago

Fair enough :)

In that case, I encourage you to have a look at https://github.com/lthibault/quic-mangos/issues/2. I learned a few things about network protocol best-practices from gdamore's comments (e.g.: prefer fixed-length headers to line-based protocols).

The fixes for the above issue are quite simple, yet make for an excellent study of mangos transport design. If you're interested in taking a stab at it, I'd be happy to guide you along the path ;)