Hello again, I think I solved my problem (at least for the development server) by monkey patching django.core.servers.basehttp.ServerHandler. Does anybody know of any horrible side effects this might have, or can suggest a more elegant solution?
Thanks in advance, Marcus --- the monkey patch code ----------------- def finish_response(self): try: if not self.result_is_file() and not self.sendfile(): for data in self.result: self.write(data) self.finish_content() self.close() except socket.error, e: if e[0] == errno.EPIPE: # client has closed socket kill_running_processes() # kills registered processes # by their pid ServerHandler.finish_response = finish_response --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "Django users" group. To post to this group, send email to django-users@googlegroups.com To unsubscribe from this group, send email to django-users+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/django-users?hl=en -~----------~----~----~----~------~----~------~--~---