commit 672e70000a79a8e994aed759e3e2e3716076f727 Author: Yawning Angel yawning@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 {