Comments (3)
But of course! You completely discarded "start" in the first code and restarted with mempty on line 4! Would you mind correcting that and letting us know if the problem is still there?
from snap-server.
@ozataman ok, it's a bit of both: having corrected the first example (which I think was just a cut and paste error when I composed it to put here; I was testing something sensible). It turns out you can specify command line options (ie ./server -? works) but command line options such as -p for port are ignored. That make sense, since it is being overridden subsequently. My mistake for testing with -p and wondering why it didn't work.
from snap-server.
@afcowie Good to know! Thanks for following up!
from snap-server.
Related Issues (20)
- Cancel timeout properly HOT 1
- Compile errors with v1.0.3.3 HOT 7
- GHC-8.6.1 compatibility HOT 2
- Timeout for pure values HOT 5
- ProxyType "FIXME"? HOT 1
- src/Snap/Internal/Http/Server/Socket.hs:176:5: error: Conflicting definitions for โacquireโ HOT 2
- Support for GHC 8.10 HOT 4
- Compatibility with random-1.2 HOT 2
- Does SSL work on a non standard port? HOT 1
- Support for GHC 9.0.1 HOT 3
- Support newer bytestring HOT 1
- Compatibility with transformers 0.6 and mtl 2.3 HOT 1
- Allow `text-2.0` HOT 2
- Compatibility with GHC-9.2 HOT 6
- Support GHC 9.8 HOT 1
- FreeBSD failure to install HOT 2
- Better error messages for problems with SSL HOT 2
- Log request and exceptions for handlers that use `escapeHttp` and `terminateConnection`
- setUnicodeLocale is dangerous and might lead to segmentation faults
- Time manager retains threads forever HOT 9
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 snap-server.