mattgodbolt / seasocks

Simple, small, C++ embeddable webserver with WebSockets support
BSD 2-Clause "Simplified" License
734 stars 120 forks source link

Handle exceptions of invalid WS versions #132

Closed offa closed 4 years ago

offa commented 4 years ago

Handling of missing or invalid Sec-WebSocket-Version header added (#131).

codecov[bot] commented 4 years ago

Codecov Report

Merging #132 into master will decrease coverage by 0.08%. The diff coverage is 0%.

Impacted file tree graph

@@            Coverage Diff             @@
##           master     #132      +/-   ##
==========================================
- Coverage   37.82%   37.74%   -0.09%     
==========================================
  Files          52       52              
  Lines        2255     2260       +5     
==========================================
  Hits          853      853              
- Misses       1402     1407       +5
Impacted Files Coverage Δ
src/main/c/Connection.cpp 21.4% <0%> (-0.12%) :arrow_down:
src/main/c/seasocks/ResponseCodeDefs.h 3.12% <0%> (-0.11%) :arrow_down:

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 ec3558d...f92a9ef. Read the comment docs.

mattgodbolt commented 4 years ago

Thanks!