• Avery Pennarun's avatar
    server.py: don't send partial hostwatch lists. · a32305a2
    Avery Pennarun authored
    If hostwatch has a lot of stuff to say all at once, it would come in more
    than one recv() packet, and server.py would send each packet individually as
    a CMD_HOST_LIST message.  Unfortunately, client.py (rightly) expects each
    CMD_HOST_LIST message to be complete, ie. a correct sequence of rows.
    
    So now server.py makes sure of this.  If there's a leftover bit (ie. an
    unterminated line), it saves it for later.
    
    Bug reported by user "Duke" on the mailing list.
    a32305a2
Name
Last commit
Last update
compat Loading commit data...
.gitignore Loading commit data...
LICENSE Loading commit data...
README.md Loading commit data...
assembler.py Loading commit data...
client.py Loading commit data...
firewall.py Loading commit data...
helpers.py Loading commit data...
hostwatch.py Loading commit data...
main.py Loading commit data...
options.py Loading commit data...
server.py Loading commit data...
ssh.py Loading commit data...
sshuttle Loading commit data...
ssnet.py Loading commit data...