擅长:python、mysql、java
<p>问题是您希望<code>dataReceived</code>同时接收所有数据。互联网不是这样工作的:<a href="http://twistedmatrix.com/trac/wiki/FrequentlyAskedQuestions#Whyisprotocol.dataReceivedcalledwithonlypartofthedataIcalledtransport.writewith" rel="nofollow">see this Twisted FAQ for an explanation of why this is so and how to fix your code</a>。在</p>