https://github.com/sysprog21/khttpd
An experimental HTTP server implemented as Linux kernel module
https://github.com/sysprog21/khttpd
http-server httpd linux-kernel socket-programming tcp web-server
Last synced: about 1 year ago
JSON representation
An experimental HTTP server implemented as Linux kernel module
- Host: GitHub
- URL: https://github.com/sysprog21/khttpd
- Owner: sysprog21
- License: mit
- Created: 2020-03-24T07:07:22.000Z (about 6 years ago)
- Default Branch: master
- Last Pushed: 2025-04-18T09:38:49.000Z (about 1 year ago)
- Last Synced: 2025-05-08T23:53:50.202Z (about 1 year ago)
- Topics: http-server, httpd, linux-kernel, socket-programming, tcp, web-server
- Language: C
- Homepage:
- Size: 28.3 KB
- Stars: 73
- Watchers: 5
- Forks: 120
- Open Issues: 1
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# khttpd
`khttpd` is an experimental HTTP server implemented as Linux kernel module.
The server defaults to port 8081, but this can be easily configured using
command line argument `port=?` when you are about to load the kernel module.
## TODO
* Release resources when HTTP connection is about to be closed.
* Introduce CMWQ.
* Improve memory management.
* Request queue and/or cache
## License
`khttpd` is released under the MIT License. Use of this source code is governed by
a MIT License that can be found in the LICENSE file.
External source code:
* `http_parser.[ch]`: taken from [nodejs/http-parser](https://github.com/nodejs/http-parser)
- Copyrighted by Joyent, Inc. and other Node contributors.
- MIT License
* `htstress.c`: derived from [htstress](https://github.com/arut/htstress)
- Copyrighted by Roman Arutyunyan
- 2-clause BSD license