bashwork/pymodbus — pull request #44 by pjkundert (2014-03-25 15:06:19+00:00)
Title: Allow specification of client connection handler in Modbus...Server

There is no way to supply an alternative request handler class to ModbusTcpServer. This prevents writing a server that responds cleanly to shutdown, since each client service Thread blocks indefinitely awaiting input from that client. Provide a means to supply an alternative request handler class to ModbusTcpServer (and ModbusUdpServer).

o ModbusTcpServer and ModbusUdpServer allows handler class other than
default Modbus{Connected,Disconnected}RequestHandler
o Add debug logging on request failure, to help diagnose root causes