summaryrefslogtreecommitdiffhomepage
path: root/WebSockets.hs
diff options
context:
space:
mode:
authorSean Whitton <spwhitton@spwhitton.name>2017-08-10 14:24:24 -0400
committerSean Whitton <spwhitton@spwhitton.name>2017-08-10 14:24:24 -0400
commit0c245290968dcc14f925c0f05c5c2f4ed1a70a54 (patch)
tree5165874e622a1fba7d173a8c8ea424a38da711ee /WebSockets.hs
parent3b792db55d06c97ee632781fbafffe29f45089c1 (diff)
parent5cbb0a14e5413e3bf7835a48a38df1184129d0b6 (diff)
downloaddebug-me-0c245290968dcc14f925c0f05c5c2f4ed1a70a54.tar.gz
Merge tag '1.20170810'
tagging package debug-me version 1.20170810 # gpg: Signature made Thu 10 Aug 2017 02:18:04 PM EDT # gpg: using RSA key 28A500C35207EAB72F6C0F25DB12DB0FF05F8F38 # gpg: Good signature from "Joey Hess <joeyh@joeyh.name>" [unknown] # gpg: WARNING: This key is not certified with a trusted signature! # gpg: There is no indication that the signature belongs to the owner. # Primary key fingerprint: E85A 5F63 B31D 24C1 EBF0 D81C C910 D922 2512 E3C7 # Subkey fingerprint: 28A5 00C3 5207 EAB7 2F6C 0F25 DB12 DB0F F05F 8F38
Diffstat (limited to 'WebSockets.hs')
-rw-r--r--WebSockets.hs4
1 files changed, 2 insertions, 2 deletions
diff --git a/WebSockets.hs b/WebSockets.hs
index 2a0eb40..c2fcb95 100644
--- a/WebSockets.hs
+++ b/WebSockets.hs
@@ -92,7 +92,7 @@ instance WebSocketsData WireProtocol where
WireProtocolError
(Data.Aeson.decode s)
_ -> WireProtocolError "received unknown websocket message"
-#if MIN_VERSION_websockets(0,10,0)
+#if MIN_VERSION_websockets(0,11,0)
fromDataMessage = fromLazyByteString . fromDataMessage
#endif
@@ -118,7 +118,7 @@ supportedWireVersions = [WireVersion "1"]
connectionOptions :: ConnectionOptions
connectionOptions = defaultConnectionOptions
-#if MIN_VERSION_websockets(0,10,0)
+#if MIN_VERSION_websockets(0,11,0)
-- Enable compression.
{ connectionCompressionOptions =
PermessageDeflateCompression defaultPermessageDeflate