packages feed

quic 0.2.3 → 0.2.4

raw patch · 3 files changed

+14/−1 lines, 3 files

Files

ChangeLog.md view
@@ -1,10 +1,16 @@ # ChangeLog +## 0.2.4++* Putting `#if` for `threadLabel`.+* Revert Timeout.hs which is accidentally committed.+ ## 0.2.3  * Supporting tls v2.1.3. * Labeling threads. * Using data-default.+* Removing `unliftio`.  ## 0.2.2 
Network/QUIC/Common.hs view
@@ -1,3 +1,4 @@+{-# LANGUAGE CPP #-} {-# LANGUAGE StrictData #-}  module Network.QUIC.Common where@@ -27,9 +28,15 @@ maximumPacketSize _ = 1500 - 20 - 8 -- fixme  labelMe :: String -> IO ()+#if MIN_VERSION_base(4,18,0) labelMe name = do     tid <- myThreadId     mlabel <- threadLabel tid     case mlabel of         Nothing -> labelThread tid name         Just _ -> return ()+#else+labelMe name = do+    tid <- myThreadId+    labelThread tid name+#endif
quic.cabal view
@@ -1,6 +1,6 @@ cabal-version:      >=1.10 name:               quic-version:            0.2.3+version:            0.2.4 license:            BSD3 license-file:       LICENSE maintainer:         kazu@iij.ad.jp