Twisted transport.write

后端 未结 4 470
心在旅途
心在旅途 2021-01-18 12:55

Is there any way to force self.transport.write(response) to write immediately to its connection so that the next call to self.transport.write(response) does not get buffere

4条回答
  •  醉酒成梦
    2021-01-18 13:34

    Put a relatively large delay (10 seconds) between writes. This will be the only possible solution. Because if the recipient is so badly written by people who don't know what TCP is and how to use it, you can hardly do anything (other than rewrite that application).

提交回复
热议问题