diff options
author | Yawning Angel <yawning@torproject.org> | 2015-10-30 09:51:03 +0000 |
---|---|---|
committer | Yawning Angel <yawning@torproject.org> | 2015-10-30 09:51:03 +0000 |
commit | 672e70000a79a8e994aed759e3e2e3716076f727 (patch) | |
tree | c7953a3be7cab9d2477ca8ac19e69e351f0e3bad /transports | |
parent | 43cdc20e7e7f136c96814bf752ef1fbc9b6fec33 (diff) |
meek-lite: Don't send a "User-Agent" header.
Diffstat (limited to 'transports')
-rw-r--r-- | transports/meeklite/meek.go | 1 |
1 files changed, 1 insertions, 0 deletions
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 { |