packages feed

inspection-proxy 0.1.0.0 → 0.1.0.1

raw patch · 2 files changed

+9/−5 lines, 2 filesdep ~basedep ~pipes-network

Dependency ranges changed: base, pipes-network

Files

Main.hs view
@@ -7,7 +7,7 @@      import Control.Monad (void, unless, when)     import Data.Maybe (isNothing)-    import qualified Control.Concurrent.Async as Async+    import Control.Concurrent.Async (async)     import qualified Data.ByteString.Char8 as B  @@ -45,6 +45,6 @@                 let Just (bindport, host, port) = connectionDetails                 serve HostAny bindport $ \(bindSocket, _) ->                      connect host port $ \(serviceSocket, _) -> do-                        void $ Async.async $ runProxy $ socketReadS 4096 bindSocket >-> printPass (hasFlag "only-server") >-> socketWriteD serviceSocket +                        void $ async $ runProxy $ socketReadS 4096 bindSocket >-> printPass (hasFlag "only-server") >-> socketWriteD serviceSocket                          runProxy $ socketReadS 4096 serviceSocket >-> printPass (hasFlag "only-client") >-> socketWriteD bindSocket                  return ()
inspection-proxy.cabal view
@@ -2,9 +2,9 @@ -- documentation, see http://haskell.org/cabal/users-guide/  name:                inspection-proxy-version:             0.1.0.0+version:             0.1.0.1 synopsis:            A simple proxy for debugging plaintext protocols communication--- description:         +description:         A command line utility to be launched as an intermediary plaintext service (http, memcache, etc) for easy inspection and debugging license:             OtherLicense license-file:        LICENSE author:              Marius Ghita@@ -14,8 +14,12 @@ build-type:          Simple cabal-version:       >=1.8 +source-repository head+    type:            git+    location:        https://github.com/mhitza/inspection-proxy+ executable inspection-proxy   main-is:             Main.hs   ghc-options:         -Wall -threaded -O3   -- other-modules:       -  build-depends:       base ==4.5.*, pipes-network >=0.2, pipes ==3.2.0, bytestring >=0.9, async >=2.0, cmdargs >=0.10+  build-depends:       base >=4.5 && <=4.6.0.1, pipes-network <=0.4, pipes ==3.2.0, bytestring >=0.9, async >=2.0, cmdargs >=0.10