/mandos/trunk

To get this branch, use:
bzr branch http://bzr.recompile.se/loggerhead/mandos/trunk

« back to all changes in this revision

Viewing changes to server.py

merge +
mandosclient
        Added a adjustbuffer function.

Show diffs side-by-side

added added

removed removed

Lines of Context:
434
434
        logger.debug(u"TCP connection from: %s",
435
435
                     unicode(self.client_address))
436
436
 
437
 
        line = self.socket.makefile().readline()
 
437
        line = self.request.makefile().readline()
 
438
        logger.debug(u"Protocol version: %r", line)
438
439
        try:
439
440
            if int(line.strip().split()[0]) > 1:
440
441
                raise RuntimeError