diff options
Diffstat (limited to 'src/Network/BitTorrent/Exchange/Connection.hs')
-rw-r--r-- | src/Network/BitTorrent/Exchange/Connection.hs | 9 |
1 files changed, 5 insertions, 4 deletions
diff --git a/src/Network/BitTorrent/Exchange/Connection.hs b/src/Network/BitTorrent/Exchange/Connection.hs index fd9022da..2d5f39bf 100644 --- a/src/Network/BitTorrent/Exchange/Connection.hs +++ b/src/Network/BitTorrent/Exchange/Connection.hs | |||
@@ -112,6 +112,7 @@ import Control.Concurrent hiding (yield) | |||
112 | import Control.Exception | 112 | import Control.Exception |
113 | import Control.Monad.Reader | 113 | import Control.Monad.Reader |
114 | import Control.Monad.State | 114 | import Control.Monad.State |
115 | import Control.Monad.Trans.Resource | ||
115 | import Control.Lens | 116 | import Control.Lens |
116 | import Data.ByteString as BS | 117 | import Data.ByteString as BS |
117 | import Data.ByteString.Lazy as BSL | 118 | import Data.ByteString.Lazy as BSL |
@@ -135,10 +136,10 @@ import Text.Show.Functions () | |||
135 | import System.Log.FastLogger (ToLogStr(..)) | 136 | import System.Log.FastLogger (ToLogStr(..)) |
136 | import System.Timeout | 137 | import System.Timeout |
137 | 138 | ||
138 | import Data.Torrent.Bitfield as BF | 139 | import Data.Torrent |
139 | import Data.Torrent.InfoHash | 140 | import Network.BitTorrent.Address |
140 | import Network.BitTorrent.Core | 141 | import Network.BitTorrent.Exchange.Bitfield as BF |
141 | import Network.BitTorrent.Exchange.Message as Msg | 142 | import Network.BitTorrent.Exchange.Message as Msg |
142 | 143 | ||
143 | -- TODO handle port message? | 144 | -- TODO handle port message? |
144 | -- TODO handle limits? | 145 | -- TODO handle limits? |