Improve logging, fix small issues

This commit is contained in:
2021-03-28 15:58:07 +02:00
parent cd053bc74e
commit 210c03b73f
10 changed files with 58 additions and 60 deletions

View File

@@ -85,6 +85,7 @@ class Worker:
RequestHandler.send_error(conn, InternalServerError.status_code, InternalServerError.message)
break
logging.info("Closing socket for client %s", addr)
conn.shutdown(socket.SHUT_RDWR)
conn.close()
# Finished, put back into queue