Skip to content

Commit

Permalink
Close #268: Add a 1 second delay before sending a response to an auth…
Browse files Browse the repository at this point in the history
…entication request to prevent brute force attacks
  • Loading branch information
TheSomeMan committed Nov 16, 2023
1 parent c0681a9 commit 32105b3
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions src/http_server_handle_req.c
Original file line number Diff line number Diff line change
Expand Up @@ -583,6 +583,7 @@ http_server_handle_req_post_with_ecdh_key(
{
str_buf_free_buf(&decrypted_str_buf);
}
vTaskDelay(pdMS_TO_TICKS(1000));
return resp;
}

Expand Down

0 comments on commit 32105b3

Please sign in to comment.