diff options
author | Sam T <pxqr.sta@gmail.com> | 2013-05-14 10:27:36 +0400 |
---|---|---|
committer | Sam T <pxqr.sta@gmail.com> | 2013-05-14 10:27:36 +0400 |
commit | d0038e9bde22751c9c926796a6c46be62a3cb81b (patch) | |
tree | d0955ea60d53d672f10e1e7c3be065a65b4193a6 /src | |
parent | a2bc26abbe6ccea464c04b990f8a4a8fa769ba2a (diff) |
~ Minor changes.
Diffstat (limited to 'src')
-rw-r--r-- | src/Remote/KRPC/Protocol.hs | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/Remote/KRPC/Protocol.hs b/src/Remote/KRPC/Protocol.hs index 133c899a..29aaefed 100644 --- a/src/Remote/KRPC/Protocol.hs +++ b/src/Remote/KRPC/Protocol.hs | |||
@@ -6,7 +6,7 @@ | |||
6 | -- Portability : portable | 6 | -- Portability : portable |
7 | -- | 7 | -- |
8 | -- This module provides straightforward implementation of KRPC | 8 | -- This module provides straightforward implementation of KRPC |
9 | -- protocol. In many situations Network.KRPC should be prefered | 9 | -- protocol. In many situations 'Network.KRPC' should be prefered |
10 | -- since it gives more safe, convenient and high level api. | 10 | -- since it gives more safe, convenient and high level api. |
11 | -- | 11 | -- |
12 | -- > See http://www.bittorrent.org/beps/bep_0005.html#krpc-protocol | 12 | -- > See http://www.bittorrent.org/beps/bep_0005.html#krpc-protocol |
@@ -176,7 +176,7 @@ withRemote = bracket (liftIO (socket AF_INET Datagram defaultProtocol)) | |||
176 | 176 | ||
177 | 177 | ||
178 | maxMsgSize :: Int | 178 | maxMsgSize :: Int |
179 | maxMsgSize = 16 * 1024 | 179 | maxMsgSize = 512 |
180 | {-# INLINE maxMsgSize #-} | 180 | {-# INLINE maxMsgSize #-} |
181 | 181 | ||
182 | 182 | ||