Skip to content
Snippets Groups Projects
Commit 35118fd1 authored by Anatolii Kurotych's avatar Anatolii Kurotych
Browse files

[+] debug info about bad user agent

parent e6e273f2
No related branches found
No related tags found
No related merge requests found
......@@ -284,6 +284,7 @@ void* dap_http_simple_proc(dap_http_simple_t * cl_sh)
}
if(_is_user_agent_supported(header->value) == false) {
log_it(L_DEBUG, "Not supported user agent in request: %s", header->value);
const char* error_msg = "User-Agent version not supported. Update your software";
_write_response_bad_request(cl_sh, error_msg);
return NULL;
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment