Skip to content

Fix issue #9 (crash on float parsing)

Tore Bergebakken requested to merge toberge/buggy-web-server:master into master
  • Wrapped std::stof() call in a try-catch statement
  • Assuming version 1.0 when the version number is invalid (thus skipping the behaviour specific to HTTP/1.1 and above)

Feel free to comment if this error should be handled differently.
See the desription of issue #9 for more information.

Merge request reports

Loading