soheilhy / cmux

Connection multiplexer for GoLang: serve different services on the same port!
Apache License 2.0
2.53k stars 197 forks source link

Fix bug matchers are ignored except last one #57

Closed acomagu closed 6 years ago

acomagu commented 6 years ago

On the current code, only last matcher specified by Match() is used and others are ignored.

acomagu commented 6 years ago

Thank you for reviewing! I fixed.