however dataReceived on the other side of the connection is only called after accumulating all the bytes from the original transport.write
you can see that i use ProtocolWrapper however i do not use WrappingFactory beause i don't like ClientFactory... not compatible with endpoints so i don't use it
in golang this would be easy. in twisted i am navigating a forest of classes and i'm not sure wtf
actually what i'd like is to be able to do traffic shaping... but for now i'd settle for a constant slow trickle of bytes
adamdangoor joined the channel
kenaan
rodrigc submitted <https://tm.tl/#8530> - Delete test_webclient.py's testPartial() test, which is being skipped (unassigned) for review
brodolfo joined the channel
rodrigc submitted <https://tm.tl/#8519> - Replace file() with open() in twisted/web (assigned to rodrigc) for review
dawuud: without having looked at the code, which protocol is the `dataReceived` implementation on the other side actually for?
if it's for a IntNStringReceiver or a LineReceiver then the protocol _intentionally_ buffers data until either the declared number of bytes arrives or the delimiter arrives
(or probably a great many other protocols, since processing data a single byte at a type is rarely useful)
kenaan
acabhishek942 submitted <https://tm.tl/#8517> - Invalid references in twisted.names (unassigned) for review
new core enhancement https://tm.tl/#8531 by acabhishek942: Invalid references and unknown fields in twisted.internet
Lukasa reviewed <https://tm.tl/#8523> - Replace file() with open() in twisted/python (assigned to rodrigc)
dawuud
jonathanj: yeah that sense.
oh dear i can't type. still booting up brain.
it's a very simple protocol class that inherits of Protocol. no line receiver.
i'm doing all this to fix the unit tests in my friend's project
rodrigc has quit
rodrigc joined the channel
kenaan
Lukasa reviewed <https://tm.tl/#8525> - Replace file() with open() in twisted/mail (assigned to rodrigc)
itamar joined the channel
Lukasa reviewed <https://tm.tl/#8529> - Replace file() with open() in docs/core (assigned to rodrigc)
artige
is there a twisted git client?
i find myself requiring automatic management of a local git repository
i guess i don't really need one
since it's twisted and it's local
yeah
forget it
it isn't over the network so i can just use pygit2