summaryrefslogtreecommitdiff
path: root/src/Network/BitTorrent/Exchange/Connection.hs
diff options
context:
space:
mode:
Diffstat (limited to 'src/Network/BitTorrent/Exchange/Connection.hs')
-rw-r--r--src/Network/BitTorrent/Exchange/Connection.hs9
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)
112import Control.Exception 112import Control.Exception
113import Control.Monad.Reader 113import Control.Monad.Reader
114import Control.Monad.State 114import Control.Monad.State
115import Control.Monad.Trans.Resource
115import Control.Lens 116import Control.Lens
116import Data.ByteString as BS 117import Data.ByteString as BS
117import Data.ByteString.Lazy as BSL 118import Data.ByteString.Lazy as BSL
@@ -135,10 +136,10 @@ import Text.Show.Functions ()
135import System.Log.FastLogger (ToLogStr(..)) 136import System.Log.FastLogger (ToLogStr(..))
136import System.Timeout 137import System.Timeout
137 138
138import Data.Torrent.Bitfield as BF 139import Data.Torrent
139import Data.Torrent.InfoHash 140import Network.BitTorrent.Address
140import Network.BitTorrent.Core 141import Network.BitTorrent.Exchange.Bitfield as BF
141import Network.BitTorrent.Exchange.Message as Msg 142import 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?