ngx-export-tools-extra 1.2.1 → 1.2.2
raw patch · 4 files changed
+10/−24 lines, 4 filesdep ~resolvPVP ok
version bump matches the API change (PVP)
Dependency ranges changed: resolv
API changes (from Hackage documentation)
Files
- Changelog.md +5/−0
- LICENSE +1/−1
- NgxExport/Tools/Resolve.hs +1/−20
- ngx-export-tools-extra.cabal +3/−3
Changelog.md view
@@ -1,3 +1,8 @@+### 1.2.2++- Added Cabal constraint *resolv > 0.2.0.1* to fix memory leaks in module+ *NgxExport.Tools.Resolve*.+ ### 1.2.1 - Improvements and bug fixes in module *NgxExport.Tools.Resolve*.
LICENSE view
@@ -1,7 +1,7 @@ The following license covers this documentation, and the source code, except where otherwise indicated. -Copyright 2019-2022, Alexey Radkov. All rights reserved.+Copyright 2019-2023, Alexey Radkov. All rights reserved. Redistribution and use in source and binary forms, with or without modification, are permitted provided that the following conditions are met:
NgxExport/Tools/Resolve.hs view
@@ -4,7 +4,7 @@ ----------------------------------------------------------------------------- -- | -- Module : NgxExport.Tools.Resolve--- Copyright : (c) Alexey Radkov 2022+-- Copyright : (c) Alexey Radkov 2022-2023 -- License : BSD-style -- -- Maintainer : alexey.radkov@gmail.com@@ -14,25 +14,6 @@ -- DNS resolve utilities from the more extra tools collection for -- <https://github.com/lyokha/nginx-haskell-module nginx-haskell-module>. ----- __An important note.__ Currently, package /resolv/ at--- [hackage.org](https://hackage.haskell.org/package/resolv) has--- [a bug](https://github.com/haskell-hvr/resolv/pull/12) which leads to--- memory leaks on every DNS query. This makes service /collectUpstreams/ --- from module /NgxExport.Tools.Resolve/ leak as well, because it makes DNS--- queries regularly. To prevent memory leaks, you can clone /resolv/ from--- [this fork](https://github.com/lyokha/resolv) and /v1-install/ it from--- the source. Or, if you prefer /v2-build/, simply put lines------ @--- source-repository-package--- type: git--- location: https://github.com/lyokha/resolv.git--- tag: 6a46c2659f79e78defd974849a8120548257cadc--- post-checkout-command: autoreconf -i--- @------ into the /cabal.project/ file.- ----------------------------------------------------------------------------- module NgxExport.Tools.Resolve (
ngx-export-tools-extra.cabal view
@@ -1,5 +1,5 @@ name: ngx-export-tools-extra-version: 1.2.1+version: 1.2.2 synopsis: More extra tools for Nginx haskell module description: More extra tools for <https://github.com/lyokha/nginx-haskell-module Nginx haskell module>.@@ -10,7 +10,7 @@ author: Alexey Radkov <alexey.radkov@gmail.com> maintainer: Alexey Radkov <alexey.radkov@gmail.com> stability: stable-copyright: 2019-2022 Alexey Radkov+copyright: 2019-2023 Alexey Radkov category: Network build-type: Simple cabal-version: 1.20@@ -48,7 +48,7 @@ , async >= 2.0.1.0 , aeson >= 1.0.0.0 , safe-exceptions- , resolv+ , resolv >= 0.2.0.1 , time , binary , case-insensitive