diff --git a/pywsus.py b/pywsus.py
index 21ee579..a090681 100644
--- a/pywsus.py
+++ b/pywsus.py
@@ -140,7 +140,10 @@ def do_GET(self):
logging.info("Requested: {path}".format(path=self.path))
self._set_response(True)
- self.wfile.write(update_handler.executable)
+ try:
+ self.wfile.write(update_handler.executable)
+ except (ConnectionResetError, BrokenPipeError):
+ logging.debug("Connection reset during EXE send (BITS probe, normal)")
def do_POST(self):
diff --git a/requirements.txt b/requirements.txt
index 79e47c6..e4c98a5 100644
--- a/requirements.txt
+++ b/requirements.txt
@@ -1,3 +1,3 @@
beautifulsoup4==4.9.1
-lxml==4.6.2
+lxml>=4.9.2
soupsieve==2.0.1
diff --git a/resources/get-config.xml b/resources/get-config.xml
index 9fa5bf2..5276315 100644
--- a/resources/get-config.xml
+++ b/resources/get-config.xml
@@ -1 +1 @@
-{lastChange}falseAnonymous
+{lastChange}falseAnonymousProtocolVersion3.2MaxExtendedUpdatesPerRequest20IsInventoryRequired0ClientReportingLevel2
diff --git a/resources/sync-updates.xml b/resources/sync-updates.xml
index 09e607f..f45ece6 100644
--- a/resources/sync-updates.xml
+++ b/resources/sync-updates.xml
@@ -1 +1 @@
-{revision_id1}{deployment_id1}Installtrue2020-02-29000true<UpdateIdentity UpdateID="{uuid1}" RevisionNumber="204" /><Properties UpdateType="Software" ExplicitlyDeployable="true" AutoSelectOnWebSites="true" /><Relationships><Prerequisites><AtLeastOne IsCategory="true"><UpdateIdentity UpdateID="0fa1201d-4330-4fa8-8ae9-b877473b6441" /></AtLeastOne></Prerequisites><BundledUpdates><UpdateIdentity UpdateID="{uuid2}" RevisionNumber="204" /></BundledUpdates></Relationships>{revision_id2}{deployment_id2}Bundletrue2020-02-29000true<UpdateIdentity UpdateID="{uuid2}" RevisionNumber="204" /><Properties UpdateType="Software" /><Relationships></Relationships><ApplicabilityRules><IsInstalled><False /></IsInstalled><IsInstallable><True /></IsInstallable></ApplicabilityRules>false{expire}{cookie}true
+{revision_id1}{deployment_id1}Installtrue2020-02-29000true<UpdateIdentity UpdateID="{uuid1}" RevisionNumber="204" /><Properties UpdateType="Software" ExplicitlyDeployable="true" AutoSelectOnWebSites="true" /><Relationships><BundledUpdates><UpdateIdentity UpdateID="{uuid2}" RevisionNumber="204" /></BundledUpdates></Relationships>{revision_id2}{deployment_id2}Bundletrue2020-02-29000true<UpdateIdentity UpdateID="{uuid2}" RevisionNumber="204" /><Properties UpdateType="Software" /><Relationships></Relationships><ApplicabilityRules><IsInstalled><False /></IsInstalled><IsInstallable><True /></IsInstallable></ApplicabilityRules>false{expire}{cookie}true