Skip to content
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 5 additions & 1 deletion kmip/services/server/session.py
Original file line number Diff line number Diff line change
Expand Up @@ -111,7 +111,11 @@ def run(self):
self._logger.info("Stopping session: {0}".format(self.name))

def _handle_message_loop(self):
request_data = self._receive_request()
try:
request_data = self._receive_request()
except socket.timeout:
return

request = messages.RequestMessage()

max_size = self._max_response_size
Expand Down