~dobey/ubuntuone-storage-protocol/update-13-10

« back to all changes in this revision

Viewing changes to ubuntuone/storageprotocol/proxy_tunnel.py

  • Committer: Tarmac
  • Author(s): Rodney Dawes
  • Date: 2012-03-30 03:01:34 UTC
  • mfrom: (144.1.1 openssl-except)
  • Revision ID: tarmac-20120330030134-1gq2c8fowodaeioj
License exception for use of OpenSSL

Show diffs side-by-side

added added

removed removed

Lines of Context:
2
2
#
3
3
# Author: Lucio Torre <lucio.torre@canonical.com>
4
4
#
5
 
# Copyright 2009 Canonical Ltd.
 
5
# Copyright 2009-2012 Canonical Ltd.
6
6
#
7
7
# This program is free software: you can redistribute it and/or modify it
8
8
# under the terms of the GNU Affero General Public License version 3,
15
15
#
16
16
# You should have received a copy of the GNU Affero General Public License
17
17
# along with this program.  If not, see <http://www.gnu.org/licenses/>.
 
18
#
 
19
# In addition, as a special exception, the copyright holders give
 
20
# permission to link the code of portions of this program with the
 
21
# OpenSSL library under certain conditions as described in each
 
22
# individual source file, and distribute linked combinations
 
23
# including the two.
 
24
# You must obey the GNU General Public License in all respects
 
25
# for all of the code used other than OpenSSL.  If you modify
 
26
# file(s) with this exception, you may extend this exception to your
 
27
# version of the file(s), but you are not obligated to do so.  If you
 
28
# do not wish to do so, delete this exception statement from your
 
29
# version.  If you delete this exception statement from all source
 
30
# files in the program, then also delete it here.
18
31
"""Proxy tunelling"""
19
32
import base64
20
33