Show More
@@ -71,8 +71,9 b' class sshserver(object):' | |||||
71 | self.fout.flush() |
|
71 | self.fout.flush() | |
72 |
|
72 | |||
73 | def sendstream(self, source): |
|
73 | def sendstream(self, source): | |
|
74 | write = self.fout.write | |||
74 | for chunk in source.gen: |
|
75 | for chunk in source.gen: | |
75 |
|
|
76 | write(chunk) | |
76 | self.fout.flush() |
|
77 | self.fout.flush() | |
77 |
|
78 | |||
78 | def sendpushresponse(self, rsp): |
|
79 | def sendpushresponse(self, rsp): |
General Comments 0
You need to be logged in to leave comments.
Login now