FactbirdHQ / mqttrust

MQTT client for embedded devices, written in rust
50 stars 5 forks source link

fix(core): swap socket creation & hostname lookup statements #48

Closed MathiasKoch closed 2 years ago

MathiasKoch commented 2 years ago

to only attempt doing hostname lookup if we can obtain a valid socketHandle

codecov-commenter commented 2 years ago

Codecov Report

Merging #48 (8c277a9) into master (c8435ec) will increase coverage by 0.03%. The diff coverage is 0.00%.

@@            Coverage Diff             @@
##           master      #48      +/-   ##
==========================================
+ Coverage   39.23%   39.27%   +0.03%     
==========================================
  Files          13       13              
  Lines        1180     1179       -1     
  Branches      338      336       -2     
==========================================
  Hits          463      463              
+ Misses        570      569       -1     
  Partials      147      147              
Impacted Files Coverage Δ
mqttrust_core/src/eventloop.rs 35.98% <0.00%> (+0.16%) :arrow_up:

Continue to review full report at Codecov.

Legend - Click here to learn more Δ = absolute <relative> (impact), ø = not affected, ? = missing data Powered by Codecov. Last update c8435ec...8c277a9. Read the comment docs.