プロジェクト
概要
日常使いに適した、小さなC製Webサーバーです。
システム・インフラできること
- Basic MIME mapping
- Very basic directory listing
- Low resource usage
- Support Accept-Ranges: bytes (for in browser MP4 playing)
計測したスター増加
- 24時間
- 0
- 7日間
- 0
- 15日間
- 0
- 1か月
- 履歴を収集中
期間ごとの純増数です。期間は重複しており、日別の値ではありません。未計測の値は空欄です。スター数は注目度の指標であり、品質の保証ではありません。
README.md
オリジナルA tiny web server in C
I am reading Computer Systems: A Programmer's Perspective. It teachers me how to write a tiny web server in C.
I have written another tiny web server in JAVA.
And another one http-kit, http-kit is full featured, with websocket and async support
And few others on my github page.
Features
- Basic MIME mapping
- Very basic directory listing
- Low resource usage
- sendfile(2)
- Support Accept-Ranges: bytes (for in browser MP4 playing)
- Concurrency by pre-fork
Non-features
- No security check
Usage
tiny <port>, opens a server in the current directory, port
default to 9999, just like python -m SimpleHTTPServer
I use it as a lightweight File Browser.
TODO
- Write a epoll version
License
The code is free to use under the terms of the MIT license.
関連プロジェクトを探す
読み込み中…