# darkhttpd - C파일 1개로 작성된 초경량 웹서버

> Clean Markdown view of GeekNews topic #4002. Use the original source for factual precision when an external source URL is present.

## Metadata

- GeekNews HTML: [https://news.hada.io/topic?id=4002](https://news.hada.io/topic?id=4002)
- GeekNews Markdown: [https://news.hada.io/topic/4002.md](https://news.hada.io/topic/4002.md)
- Type: news
- Author: [xguru](https://news.hada.io/@xguru)
- Published: 2021-04-03T10:20:55+09:00
- Updated: 2021-04-03T10:20:55+09:00
- Original source: [github.com](https://github.com/emikulic/darkhttpd)
- Points: 7
- Comments: 0

## Topic Body

- 아주 적은 메모리 사용량을 가진 싱글 바이너리

- 싱글 쓰레드 이벤트 루프 : fork()나 pthread 사용안함

- 별도 설정파일 없고, www 루트만 지정하면 끝

- 정적 컨텐츠만 지원. CGI 지원 안함

지원 기능

- HTTP GET/HEAD

- Range/Partial Content

- IF-Modified-Since, Keep-Alive

- IPv6

- 로깅 (Referer 및 User Agent)

- 디렉토리 리스팅

## Comments



_No public comments on this page._
