Univention Bugzilla – Attachment 7597 Details for
Bug 41070
UMC-Server crashes after authentication: KeyError: <socket>
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Requests
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
patch
41070.patch (text/plain), 986 bytes, created by
Florian Best
on 2016-04-19 08:58:50 CEST
(
hide
)
Description:
patch
Filename:
MIME Type:
Creator:
Florian Best
Created:
2016-04-19 08:58:50 CEST
Size:
986 bytes
patch
obsolete
>diff --git a/management/univention-management-console/src/univention/management/console/protocol/server.py b/management/univention-management-console/src/univention/management/console/protocol/server.py >index 9f4adf4..13edf47 100644 >--- a/management/univention-management-console/src/univention/management/console/protocol/server.py >+++ b/management/univention-management-console/src/univention/management/console/protocol/server.py >@@ -139,7 +139,10 @@ def _receive(self, socket): > self._cleanup(socket) > return False > >- state = self.__states[socket] >+ try: >+ state = self.__states[socket] >+ except KeyError: >+ return False > state.buffer += data > > msg = None >@@ -209,7 +212,10 @@ def _handle(self, state, msg): > state.processor.request(msg) > > def _do_send(self, socket): >- state = self.__states[socket] >+ try: >+ state = self.__states[socket] >+ except KeyError: >+ return False > id, first = state.resend_queue.pop(0) > try: > ret = socket.send(first)
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Diff
View Attachment As Raw
Actions:
View
|
Diff
Attachments on
bug 41070
: 7597