diff --git a/compliance/autobahn/server.py b/compliance/autobahn/server.py
index <HASH>..<HASH> 100644
--- a/compliance/autobahn/server.py
+++ b/compliance/autobahn/server.py
@@ -22,6 +22,11 @@ class App:
                     'bytes': event['bytes'],
                     'text': event['text'],
                 })
+            elif event['type'] == 'lifespan.startup':
+                await send({'type': 'lifespan.startup.complete'})
+            elif event['type'] == 'lifespan.shutdown':
+                await send({'type': 'lifespan.shutdown.complete'})
+                break
 
 
 if __name__ == '__main__':
diff --git a/compliance/h2spec/server.py b/compliance/h2spec/server.py
index <HASH>..<HASH> 100644
--- a/compliance/h2spec/server.py
+++ b/compliance/h2spec/server.py
@@ -17,6 +17,11 @@ class App:
             elif event['type'] == 'http.request' and not event.get('more_body', False):
                 await self.send_data(send)
                 break
+            elif event['type'] == 'lifespan.startup':
+                await send({'type': 'lifespan.startup.complete'})
+            elif event['type'] == 'lifespan.shutdown':
+                await send({'type': 'lifespan.shutdown.complete'})
+                break
 
     async def send_data(self, send):
         await send({
Bugfix support the lifespan protocol in the compliance servers

This allows the compliance tests to proceed, and ideally pass...