diff options
author | David Sommerseth <dazo@users.sourceforge.net> | 2010-11-13 00:49:05 +0100 |
---|---|---|
committer | David Sommerseth <dazo@users.sourceforge.net> | 2010-11-13 00:49:05 +0100 |
commit | 61c40649de994c8f2ce713389294134aeb6cc8a7 (patch) | |
tree | 0dd900c6949958704a5276e41a375db949ecc707 /proxy.c | |
parent | Merge branch 'svn-BETA21' into beta2.2 (diff) | |
parent | Merge branch 'svn-BETA21' into bugfix2.1 (diff) | |
download | openvpn-61c40649de994c8f2ce713389294134aeb6cc8a7.tar.xz |
Merge branch 'bugfix2.1' into beta2.2
Diffstat (limited to 'proxy.c')
-rw-r--r-- | proxy.c | 4 |
1 files changed, 4 insertions, 0 deletions
@@ -552,6 +552,10 @@ establish_http_proxy_passthru (struct http_proxy_info *p, if (!send_line_crlf (sd, buf)) goto error; + openvpn_snprintf(buf, sizeof(buf), "Host: %s", host); + if (!send_line_crlf(sd, buf)) + goto error; + /* send User-Agent string if provided */ if (p->options.user_agent) { |