Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

patch for GH-70

  • Loading branch information...
commit 2a50462fe3b8f459990fd0bdf0a754cfdab7083e 1 parent 3eccfb1
@buzztroll buzztroll authored
View
1  lantorrent/README.txt
@@ -98,6 +98,7 @@ To install LANTorrent you must take the following steps:
wait = no
port = 2893
server = /home/bresnaha/lt1/bin/ltserver
+ env = HOME=/opt/nimbus
}
=============== END WITH THE PREVIOUS LINE =================
View
1  lantorrent/etc/lantorrent.inet.in
@@ -8,4 +8,5 @@ service @SERVICENAME@
wait = no
port = @PORT@
server = @SERVER@
+ env = HOME=/opt/nimbus
}
View
4 lantorrent/pylantorrent/ltConnection.py
@@ -116,6 +116,10 @@ def send(self, data):
self.valid = False
self.ex = LTException(506, "%s:%s %s" % (self.host, str(self.port), str(ex)), self.host, self.port, self.requests)
pylantorrent.log(logging.WARNING, "send error " + str(self.ex), traceback)
+ data = self._read_from_socket()
+ while(data):
+ pylantorrent.log(logging.WARNING, "bad data s" + str(data))
+ data = self._read_from_socket()
j = self.ex.get_json()
s = json.dumps(j)
self.output_printer.print_results(s)
Please sign in to comment.
Something went wrong with that request. Please try again.