Join GitHub today
GitHub is home to over 40 million developers working together to host and review code, manage projects, and build software together.
Sign upWebSeed download gets stuck #432
Comments
This comment has been minimized.
This comment has been minimized.
|
I'm getting error when receiving some pieces, that the peer is choking, but in fact i have received well the request of the pieces with data (At least the first 7). It seems like if the requests are not completed somewhere and it doesn't move forward to other pieces until got timeout and choke. Porobably has something to do with the browser limit of sockets connection? |
This comment has been minimized.
This comment has been minimized.
|
Ok, all the problem was that i was sending the data with utf-8, and it isn't guaranteed that buffer -> utf-8 -> buffer, the second buffer to be the same as the first! Solved it using 'hex' encoding with an express server. I'm now trying nginx to serve statics to see if i need to change the encoding or create the new buffer. I close this issue |
Hi, i'm trying to webseed from a file in localhost. After changing some code, because of the Buffer (feross/simple-get#7 and https://github.com/feross/bittorrent-swarm/issues/22) i cannot get the full file, and got stuck in a small percentage.
Here's all the pastebin of the logs.
http://pastebin.com/c9XRwxtM
I'm investigating why of this behaviour, will post it if a find something. In the meanwhile, I post it here so if anyone could help.
Thanks!