[Pkg-privacy-commits] [obfs4proxy] 07/14: meek-lite: Don't send a "User-Agent" header.

Ximin Luo infinity0 at debian.org
Sat Feb 20 22:34:35 UTC 2016


This is an automated email from the git hooks/post-receive script.

infinity0 pushed a commit to branch master
in repository obfs4proxy.

commit 672e70000a79a8e994aed759e3e2e3716076f727
Author: Yawning Angel <yawning at torproject.org>
Date:   Fri Oct 30 09:51:03 2015 +0000

    meek-lite: Don't send a "User-Agent" header.
---
 transports/meeklite/meek.go | 1 +
 1 file changed, 1 insertion(+)

diff --git a/transports/meeklite/meek.go b/transports/meeklite/meek.go
index 8957ceb..f0d29db 100644
--- a/transports/meeklite/meek.go
+++ b/transports/meeklite/meek.go
@@ -239,6 +239,7 @@ func (c *meekConn) roundTrip(sndBuf []byte) (recvBuf []byte, err error) {
 			req.Host = host
 		}
 		req.Header.Set("X-Session-Id", c.sessionID)
+		req.Header.Set("User-Agent", "")
 
 		resp, err = c.transport.RoundTrip(req)
 		if err != nil {

-- 
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/pkg-privacy/packages/obfs4proxy.git



More information about the Pkg-privacy-commits mailing list