diff options
Diffstat (limited to 'src/Network')
-rw-r--r-- | src/Network/BitTorrent/Tracker/RPC/UDP.hs | 4 | ||||
-rw-r--r-- | src/Network/BitTorrent/Tracker/Session.hs | 7 |
2 files changed, 0 insertions, 11 deletions
diff --git a/src/Network/BitTorrent/Tracker/RPC/UDP.hs b/src/Network/BitTorrent/Tracker/RPC/UDP.hs index 35e8b7b6..24e96238 100644 --- a/src/Network/BitTorrent/Tracker/RPC/UDP.hs +++ b/src/Network/BitTorrent/Tracker/RPC/UDP.hs | |||
@@ -38,21 +38,17 @@ import Data.IORef | |||
38 | import Data.List as L | 38 | import Data.List as L |
39 | import Data.Map as M | 39 | import Data.Map as M |
40 | import Data.Maybe | 40 | import Data.Maybe |
41 | import Data.Monoid | ||
42 | import Data.Serialize | 41 | import Data.Serialize |
43 | import Data.Text as T | 42 | import Data.Text as T |
44 | import Data.Text.Encoding | ||
45 | import Data.Time | 43 | import Data.Time |
46 | import Data.Time.Clock.POSIX | 44 | import Data.Time.Clock.POSIX |
47 | import Data.Traversable | 45 | import Data.Traversable |
48 | import Data.Typeable | 46 | import Data.Typeable |
49 | import Data.Word | ||
50 | import Text.Read (readMaybe) | 47 | import Text.Read (readMaybe) |
51 | import Network.Socket hiding (Connected, connect, listen) | 48 | import Network.Socket hiding (Connected, connect, listen) |
52 | import Network.Socket.ByteString as BS | 49 | import Network.Socket.ByteString as BS |
53 | import Network.URI | 50 | import Network.URI |
54 | import System.Timeout | 51 | import System.Timeout |
55 | import Numeric | ||
56 | 52 | ||
57 | import Network.BitTorrent.Tracker.Message | 53 | import Network.BitTorrent.Tracker.Message |
58 | 54 | ||
diff --git a/src/Network/BitTorrent/Tracker/Session.hs b/src/Network/BitTorrent/Tracker/Session.hs index 9fe02b52..295f9322 100644 --- a/src/Network/BitTorrent/Tracker/Session.hs +++ b/src/Network/BitTorrent/Tracker/Session.hs | |||
@@ -23,22 +23,15 @@ module Network.BitTorrent.Tracker.Session | |||
23 | 23 | ||
24 | import Control.Applicative | 24 | import Control.Applicative |
25 | import Control.Concurrent | 25 | import Control.Concurrent |
26 | import Control.Concurrent.STM | ||
27 | import Control.Exception | ||
28 | import Control.Monad | ||
29 | import Data.Default | 26 | import Data.Default |
30 | import Data.Fixed | 27 | import Data.Fixed |
31 | import Data.Foldable | 28 | import Data.Foldable |
32 | import Data.List as L | 29 | import Data.List as L |
33 | import Data.Maybe | 30 | import Data.Maybe |
34 | import Data.IORef | ||
35 | import Data.Text as T | ||
36 | import Data.Time | 31 | import Data.Time |
37 | import Data.Traversable | 32 | import Data.Traversable |
38 | import Network | ||
39 | import Network.URI | 33 | import Network.URI |
40 | 34 | ||
41 | import Data.Torrent | ||
42 | import Data.Torrent.InfoHash | 35 | import Data.Torrent.InfoHash |
43 | import Network.BitTorrent.Core | 36 | import Network.BitTorrent.Core |
44 | import Network.BitTorrent.Tracker.Cache | 37 | import Network.BitTorrent.Tracker.Cache |