VolantMQ / volantmq

High-Performance MQTT Server
Apache License 2.0
981 stars 169 forks source link

reader add readAndProcess method #118

Closed yqylovy closed 5 years ago

troian commented 5 years ago

Why no PR description?? What it changes, fixes?

yqylovy commented 5 years ago

hi,It is a code refactor pr, reduce duplicate code.

troian commented 5 years ago

There are 2 patches not related to each other. readAndProcess does not improve anything and I leave code as is for this moment until async socket operations available in go as before connection and after connection a bit 2 different ways. Second patch connection shold count qos1 package looks like a fix. Can you make issue with description followed by PR with this patch.

yqylovy commented 5 years ago

OK,I will make a issue.