Hi there,
I am using your SDK proudly and it has many great features. It is really great, but it stops working with a SIGABORT on my linux in
this section of code, when it is pinged by nmap:
http_linux_server.cpp
```
// Get the path - remove the version portion and prefix space
builder.append_path(http_path_and_version.substr(1, http_path_and_version.size() - VersionPortionSize - 1));
```
This is caused, because nmap just opens a connection without sending any valid headers. This is a security flaw that can be used for DOS-attacks.
You should probably check, whether you can use substr before you use it. This crash sometimes appears when using Chrome with ajax request. It would be kind, if you could patch this.
Kind regards
Henrik
Comments: Fixed in development branch
I am using your SDK proudly and it has many great features. It is really great, but it stops working with a SIGABORT on my linux in
this section of code, when it is pinged by nmap:
http_linux_server.cpp
```
// Get the path - remove the version portion and prefix space
builder.append_path(http_path_and_version.substr(1, http_path_and_version.size() - VersionPortionSize - 1));
```
This is caused, because nmap just opens a connection without sending any valid headers. This is a security flaw that can be used for DOS-attacks.
You should probably check, whether you can use substr before you use it. This crash sometimes appears when using Chrome with ajax request. It would be kind, if you could patch this.
Kind regards
Henrik
Comments: Fixed in development branch