Comments (3)
Cross references:
from wai.
Those are pretty general resources. This specific error is triggered by
Refactor API of openFd removing Maybe FileMode argument, which now must be passed as part of OpenFileFlags (e.g. defaultFileFlags { creat = Just mode }) (haskell/unix#58)
in the unix-2.8 changelog
I think it could be fixed with some CPP:
#if MIN_VERSION_unix(2,8)
fd <- openFd path ReadOnly defaultFileFlags{nonBlock=False}
#else
fd <- openFd path ReadOnly Nothing defaultFileFlags{nonBlock=False}
#endif
from wai.
@ysangkok Thanks.
A new version with ysangkok's solution has been released.
from wai.
Related Issues (20)
- wai-extra-3.1.12 testsuite failure: WaiExtra.Network.Wai.gzip gzip checking of files HOT 8
- dejafu for AutoUpdate HOT 4
- `waitForZero` tweak HOT 1
- toBufIOWith: BufferFull: minSize HOT 8
- Warp 3.3.22 breaks WarpTLS 3.3.2 HOT 8
- Can't authenticate client
- warp tests don't build on non-linux/freebsd/darwin HOT 1
- warp-tls: offer the possibility to provide our own data to the library via some hooks or `Connection` object HOT 4
- warp fails to build with unix ^>=2.8 even though cabal file claims to support any version HOT 3
- warp: test-suite: uses but does not depend on curl HOT 3
- Allow for graceful shutdown without closing the listener socket for socket activation compatibility HOT 2
- Access to socket within Application (detect disconnects) HOT 1
- Consider dropping `unix-compat` dependency
- auto-update: Sync exceptions in auto-update stops auto-update loops indefinitely HOT 3
- warp-tls is not setting FD_CLOEXEC on the listening socket HOT 1
- Regression in graceful shutdown in warp > 3.3.21 HOT 9
- Warp busy-loops on EMFILE HOT 5
- [warp] Get peer credentials from unix sockets HOT 1
- warp-tls 3.3.7 is not compatible with warp-tls 3.3.6, contradicting the intended use of PVP HOT 4
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from wai.