Comments (2)
I haven't looked into how to do this on FreeBSD. I'd be willing to merge a patch that did this.
from darkhttpd.
Sounds good!
I started working on this and noticed an interesting bug.
$ ./darkhttpd --ipv6
darkhttpd/1.15.from.git, copyright (c) 2003-2024 Emil Mikulic.
listening on: http://0.0.0.0:8080/
^C
$ ./darkhttpd . --ipv6
darkhttpd/1.15.from.git, copyright (c) 2003-2024 Emil Mikulic.
listening on: http://[::]:8080/
^C
I also wonder if the best behavior, down the road, might be accepting --listen
arguments that would take IP and port pairs (or maybe just IP). Could also just be multiple --addr
and IPv4/IPv6 support could be handled that way.
from darkhttpd.
Related Issues (20)
- Linting? Code formatting? HOT 2
- Add an option to serve a single file for all requests HOT 9
- Can not listen to IPv6 address. HOT 2
- [FR] ability to use css HOT 7
- darkhttp possibly logs incorrect size for requests.
- Skip link to parent directory when in root HOT 1
- macOS: Access to some macOS special files should be filtered out HOT 3
- PROPFIND / Read-Only WebDAV HOT 6
- Support FreeBSD 14+ chroot as non-root feature HOT 2
- Better argument parsing HOT 16
- Is the date header necessary? HOT 3
- Directory listings missing size in Kodi HOT 6
- With `--forward-https` set `client` ip from `X-Forwarded-For` HOT 1
- 500 for not found directory listing HOT 3
- Tests don't pass, but say they do
- --help / usage sorting is unintuitive HOT 1
- Update generated html HOT 5
- [FR] Print IEC formatted file sizes in directory listing HOT 4
- Use of stdout after fclose() HOT 2
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 darkhttpd.