From 04c09b50d2fee5d4648d40b6c2b738f8290ad62e Mon Sep 17 00:00:00 2001
From: VakarisZ <vakarisz@yahoo.com>
Date: Tue, 28 Jan 2020 19:04:30 +0200
Subject: [PATCH] Small style improvement, disabled explicit http 1.1

---
 monkey/infection_monkey/transport/http.py       | 2 +-
 monkey/monkey_island/cc/resources/bootloader.py | 2 --
 2 files changed, 1 insertion(+), 3 deletions(-)

diff --git a/monkey/infection_monkey/transport/http.py b/monkey/infection_monkey/transport/http.py
index a3cf6b2b6..8745e62eb 100644
--- a/monkey/infection_monkey/transport/http.py
+++ b/monkey/infection_monkey/transport/http.py
@@ -110,7 +110,7 @@ class FileServHTTPRequestHandler(http.server.BaseHTTPRequestHandler):
 class HTTPConnectProxyHandler(http.server.BaseHTTPRequestHandler):
     timeout = 30  # timeout with clients, set to None not to make persistent connection
     proxy_via = None  # pseudonym of the proxy in Via header, set to None not to modify original Via header
-    protocol_version = "HTTP/1.1"
+    #protocol_version = "HTTP/1.1"
 
     def do_POST(self):
         content_length = int(self.headers['Content-Length'])  # <--- Gets the size of data
diff --git a/monkey/monkey_island/cc/resources/bootloader.py b/monkey/monkey_island/cc/resources/bootloader.py
index 672f7033f..80a7b56d7 100644
--- a/monkey/monkey_island/cc/resources/bootloader.py
+++ b/monkey/monkey_island/cc/resources/bootloader.py
@@ -1,8 +1,6 @@
 import flask_restful
 from flask import request, make_response
 
-from monkey_island.cc.services.node import NodeService
-
 WINDOWS_VERSIONS = {
     "5.0": "Windows 2000",
     "5.1": "Windows XP",