-
-
Notifications
You must be signed in to change notification settings - Fork 335
Comparing changes
Open a pull request
base repository: webtorrent/bittorrent-tracker
base: ebe3c21
head repository: webtorrent/bittorrent-tracker
compare: 3f3db7d
- 20 commits
- 9 files changed
- 2 contributors
Commits on Feb 3, 2017
-
ws client: Don't include offers with 'completed' event
It's not necessary to include webrtc offers because the client is not really looking for more peers when it has just completed the torrent. Fewer WebRTC offers = less resource usage
Configuration menu - View commit details
-
Copy full SHA for 30b6f17 - Browse repository at this point
Copy the full SHA 30b6f17View commit details -
Merge pull request #197 from feross/fewer-offers
ws client: Don't include offers with 'completed' event
Configuration menu - View commit details
-
Copy full SHA for 9d5b55b - Browse repository at this point
Copy the full SHA 9d5b55bView commit details
Commits on Feb 8, 2017
-
perf: disable perMessageDeflate
From the ws docs: "ws supports the permessage-deflate extension extension which enables the client and server to negotiate a compression algorithm and its parameters, and then selectively apply it to the data payloads of each WebSocket message. The extension is enabled by default but adds a significant overhead in terms of performance and memory comsumption. We suggest to use WebSocket compression only if it is really needed. To disable the extension you can set the perMessageDeflate option to false"
Configuration menu - View commit details
-
Copy full SHA for 71bd413 - Browse repository at this point
Copy the full SHA 71bd413View commit details -
Merge pull request #200 from feross/disable-deflate
perf: disable perMessageDeflate
Configuration menu - View commit details
-
Copy full SHA for 4c86e98 - Browse repository at this point
Copy the full SHA 4c86e98View commit details -
Configuration menu - View commit details
-
Copy full SHA for 7616500 - Browse repository at this point
Copy the full SHA 7616500View commit details -
Configuration menu - View commit details
-
Copy full SHA for 27ae148 - Browse repository at this point
Copy the full SHA 27ae148View commit details -
Fix bug where left = 0 would be converted to Infinity
Possibly fixes: #196
Configuration menu - View commit details
-
Copy full SHA for c2c8e36 - Browse repository at this point
Copy the full SHA c2c8e36View commit details -
Configuration menu - View commit details
-
Copy full SHA for ed3da2f - Browse repository at this point
Copy the full SHA ed3da2fView commit details -
Configuration menu - View commit details
-
Copy full SHA for 62dd0f7 - Browse repository at this point
Copy the full SHA 62dd0f7View commit details -
Configuration menu - View commit details
-
Copy full SHA for 6351f2b - Browse repository at this point
Copy the full SHA 6351f2bView commit details -
Configuration menu - View commit details
-
Copy full SHA for 8f33b95 - Browse repository at this point
Copy the full SHA 8f33b95View commit details -
Close websockets when peers are evicted from LRU cache
Possibly fixes: #196 Close websockets when peers are evicted from LRU cache, otherwise it's possible for a peer object to be evicted from the LRU cache without the socket being cleaned up. That will leak memory until the websocket is closed by the remote client. It also messes up the stats.
Configuration menu - View commit details
-
Copy full SHA for 7075088 - Browse repository at this point
Copy the full SHA 7075088View commit details -
Configuration menu - View commit details
-
Copy full SHA for 1b22b53 - Browse repository at this point
Copy the full SHA 1b22b53View commit details -
Configuration menu - View commit details
-
Copy full SHA for 29d4564 - Browse repository at this point
Copy the full SHA 29d4564View commit details -
Configuration menu - View commit details
-
Copy full SHA for d534582 - Browse repository at this point
Copy the full SHA d534582View commit details -
test: ensure electron-webrtc is started only for test where it's needed
before this change, it was getting initialized immediately, since it was outside a tape test block
Configuration menu - View commit details
-
Copy full SHA for e731106 - Browse repository at this point
Copy the full SHA e731106View commit details -
Configuration menu - View commit details
-
Copy full SHA for 4422067 - Browse repository at this point
Copy the full SHA 4422067View commit details -
Configuration menu - View commit details
-
Copy full SHA for cd4a976 - Browse repository at this point
Copy the full SHA cd4a976View commit details -
1
Configuration menu - View commit details
-
Copy full SHA for 806ce1d - Browse repository at this point
Copy the full SHA 806ce1dView commit details -
client: socketPool should not be shared across clients
Caught this issue because of the new eviction tests. Essentially, this change moves the socketPool into the client instance instead of a reused variable at the module level. When a client sends stop (or is evicted) the server will close the websocket connection if that client is not in any other swarms (based on peerId). However, if we are using a single socket for multiple clients (as was the case before this commit), then other clients will have their sockets unintentionally closed by the server.
Configuration menu - View commit details
-
Copy full SHA for 3f3db7d - Browse repository at this point
Copy the full SHA 3f3db7dView commit details
This comparison is taking too long to generate.
Unfortunately it looks like we can’t render this comparison for you right now. It might be too big, or there might be something weird with your repository.
You can try running this command locally to see the comparison on your machine:
git diff ebe3c21...3f3db7d