Skip to content

Commit

Permalink
[libfreelan] Adds user-agent HTTP header.
Browse files Browse the repository at this point in the history
Some IDS/IPS filter HTTP packets depending on presence of some HTTP headers.
  • Loading branch information
s-vincent committed Dec 20, 2018
1 parent c710aa7 commit 97cf07e
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions libs/freelan/src/client.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -621,6 +621,7 @@ namespace freelan

request->set_url(m_url_prefix + path);
request->enable_cookie_support();
request->set_user_agent("FreeLAN/2");

if (m_configuration.disable_peer_verification)
{
Expand Down

0 comments on commit 97cf07e

Please sign in to comment.